AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
PivotTableDataPathOption.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/DataPathValue.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
31 public:
32 AWS_QUICKSIGHT_API PivotTableDataPathOption() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<DataPathValue>& GetDataPathList() const { return m_dataPathList; }
42 inline bool DataPathListHasBeenSet() const { return m_dataPathListHasBeenSet; }
43 template <typename DataPathListT = Aws::Vector<DataPathValue>>
44 void SetDataPathList(DataPathListT&& value) {
45 m_dataPathListHasBeenSet = true;
46 m_dataPathList = std::forward<DataPathListT>(value);
47 }
48 template <typename DataPathListT = Aws::Vector<DataPathValue>>
50 SetDataPathList(std::forward<DataPathListT>(value));
51 return *this;
52 }
53 template <typename DataPathListT = DataPathValue>
54 PivotTableDataPathOption& AddDataPathList(DataPathListT&& value) {
55 m_dataPathListHasBeenSet = true;
56 m_dataPathList.emplace_back(std::forward<DataPathListT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetWidth() const { return m_width; }
66 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
67 template <typename WidthT = Aws::String>
68 void SetWidth(WidthT&& value) {
69 m_widthHasBeenSet = true;
70 m_width = std::forward<WidthT>(value);
71 }
72 template <typename WidthT = Aws::String>
74 SetWidth(std::forward<WidthT>(value));
75 return *this;
76 }
78 private:
79 Aws::Vector<DataPathValue> m_dataPathList;
80
81 Aws::String m_width;
82 bool m_dataPathListHasBeenSet = false;
83 bool m_widthHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace QuickSight
88} // 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