AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
PivotTableDataPathOption.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/DataPathValue.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API PivotTableDataPathOption() = default;
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<DataPathValue>& GetDataPathList() const { return m_dataPathList; }
48 inline bool DataPathListHasBeenSet() const { return m_dataPathListHasBeenSet; }
49 template<typename DataPathListT = Aws::Vector<DataPathValue>>
50 void SetDataPathList(DataPathListT&& value) { m_dataPathListHasBeenSet = true; m_dataPathList = std::forward<DataPathListT>(value); }
51 template<typename DataPathListT = Aws::Vector<DataPathValue>>
52 PivotTableDataPathOption& WithDataPathList(DataPathListT&& value) { SetDataPathList(std::forward<DataPathListT>(value)); return *this;}
53 template<typename DataPathListT = DataPathValue>
54 PivotTableDataPathOption& AddDataPathList(DataPathListT&& value) { m_dataPathListHasBeenSet = true; m_dataPathList.emplace_back(std::forward<DataPathListT>(value)); return *this; }
56
58
61 inline const Aws::String& GetWidth() const { return m_width; }
62 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
63 template<typename WidthT = Aws::String>
64 void SetWidth(WidthT&& value) { m_widthHasBeenSet = true; m_width = std::forward<WidthT>(value); }
65 template<typename WidthT = Aws::String>
66 PivotTableDataPathOption& WithWidth(WidthT&& value) { SetWidth(std::forward<WidthT>(value)); return *this;}
68 private:
69
70 Aws::Vector<DataPathValue> m_dataPathList;
71 bool m_dataPathListHasBeenSet = false;
72
73 Aws::String m_width;
74 bool m_widthHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace QuickSight
79} // namespace Aws
AWS_QUICKSIGHT_API PivotTableDataPathOption(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< DataPathValue > & GetDataPathList() const
PivotTableDataPathOption & WithWidth(WidthT &&value)
PivotTableDataPathOption & AddDataPathList(DataPathListT &&value)
AWS_QUICKSIGHT_API PivotTableDataPathOption()=default
PivotTableDataPathOption & WithDataPathList(DataPathListT &&value)
AWS_QUICKSIGHT_API PivotTableDataPathOption & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue