AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PivotTableFieldOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/model/PivotTableFieldOption.h>
10#include <aws/quicksight/model/PivotTableDataPathOption.h>
11#include <aws/quicksight/model/PivotTableFieldCollapseStateOption.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_QUICKSIGHT_API PivotTableFieldOptions();
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<PivotTableFieldOption>& GetSelectedFieldOptions() const{ return m_selectedFieldOptions; }
48 inline bool SelectedFieldOptionsHasBeenSet() const { return m_selectedFieldOptionsHasBeenSet; }
49 inline void SetSelectedFieldOptions(const Aws::Vector<PivotTableFieldOption>& value) { m_selectedFieldOptionsHasBeenSet = true; m_selectedFieldOptions = value; }
50 inline void SetSelectedFieldOptions(Aws::Vector<PivotTableFieldOption>&& value) { m_selectedFieldOptionsHasBeenSet = true; m_selectedFieldOptions = std::move(value); }
53 inline PivotTableFieldOptions& AddSelectedFieldOptions(const PivotTableFieldOption& value) { m_selectedFieldOptionsHasBeenSet = true; m_selectedFieldOptions.push_back(value); return *this; }
54 inline PivotTableFieldOptions& AddSelectedFieldOptions(PivotTableFieldOption&& value) { m_selectedFieldOptionsHasBeenSet = true; m_selectedFieldOptions.push_back(std::move(value)); return *this; }
56
58
61 inline const Aws::Vector<PivotTableDataPathOption>& GetDataPathOptions() const{ return m_dataPathOptions; }
62 inline bool DataPathOptionsHasBeenSet() const { return m_dataPathOptionsHasBeenSet; }
63 inline void SetDataPathOptions(const Aws::Vector<PivotTableDataPathOption>& value) { m_dataPathOptionsHasBeenSet = true; m_dataPathOptions = value; }
64 inline void SetDataPathOptions(Aws::Vector<PivotTableDataPathOption>&& value) { m_dataPathOptionsHasBeenSet = true; m_dataPathOptions = std::move(value); }
67 inline PivotTableFieldOptions& AddDataPathOptions(const PivotTableDataPathOption& value) { m_dataPathOptionsHasBeenSet = true; m_dataPathOptions.push_back(value); return *this; }
68 inline PivotTableFieldOptions& AddDataPathOptions(PivotTableDataPathOption&& value) { m_dataPathOptionsHasBeenSet = true; m_dataPathOptions.push_back(std::move(value)); return *this; }
70
72
75 inline const Aws::Vector<PivotTableFieldCollapseStateOption>& GetCollapseStateOptions() const{ return m_collapseStateOptions; }
76 inline bool CollapseStateOptionsHasBeenSet() const { return m_collapseStateOptionsHasBeenSet; }
77 inline void SetCollapseStateOptions(const Aws::Vector<PivotTableFieldCollapseStateOption>& value) { m_collapseStateOptionsHasBeenSet = true; m_collapseStateOptions = value; }
78 inline void SetCollapseStateOptions(Aws::Vector<PivotTableFieldCollapseStateOption>&& value) { m_collapseStateOptionsHasBeenSet = true; m_collapseStateOptions = std::move(value); }
81 inline PivotTableFieldOptions& AddCollapseStateOptions(const PivotTableFieldCollapseStateOption& value) { m_collapseStateOptionsHasBeenSet = true; m_collapseStateOptions.push_back(value); return *this; }
82 inline PivotTableFieldOptions& AddCollapseStateOptions(PivotTableFieldCollapseStateOption&& value) { m_collapseStateOptionsHasBeenSet = true; m_collapseStateOptions.push_back(std::move(value)); return *this; }
84 private:
85
86 Aws::Vector<PivotTableFieldOption> m_selectedFieldOptions;
87 bool m_selectedFieldOptionsHasBeenSet = false;
88
90 bool m_dataPathOptionsHasBeenSet = false;
91
93 bool m_collapseStateOptionsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace QuickSight
98} // namespace Aws
PivotTableFieldOptions & WithDataPathOptions(const Aws::Vector< PivotTableDataPathOption > &value)
AWS_QUICKSIGHT_API PivotTableFieldOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
PivotTableFieldOptions & AddSelectedFieldOptions(const PivotTableFieldOption &value)
const Aws::Vector< PivotTableFieldCollapseStateOption > & GetCollapseStateOptions() const
PivotTableFieldOptions & WithSelectedFieldOptions(Aws::Vector< PivotTableFieldOption > &&value)
void SetDataPathOptions(Aws::Vector< PivotTableDataPathOption > &&value)
void SetDataPathOptions(const Aws::Vector< PivotTableDataPathOption > &value)
const Aws::Vector< PivotTableFieldOption > & GetSelectedFieldOptions() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
PivotTableFieldOptions & WithSelectedFieldOptions(const Aws::Vector< PivotTableFieldOption > &value)
PivotTableFieldOptions & AddCollapseStateOptions(const PivotTableFieldCollapseStateOption &value)
PivotTableFieldOptions & WithCollapseStateOptions(const Aws::Vector< PivotTableFieldCollapseStateOption > &value)
void SetCollapseStateOptions(Aws::Vector< PivotTableFieldCollapseStateOption > &&value)
PivotTableFieldOptions & WithDataPathOptions(Aws::Vector< PivotTableDataPathOption > &&value)
void SetSelectedFieldOptions(Aws::Vector< PivotTableFieldOption > &&value)
void SetSelectedFieldOptions(const Aws::Vector< PivotTableFieldOption > &value)
PivotTableFieldOptions & AddDataPathOptions(const PivotTableDataPathOption &value)
const Aws::Vector< PivotTableDataPathOption > & GetDataPathOptions() const
PivotTableFieldOptions & AddSelectedFieldOptions(PivotTableFieldOption &&value)
AWS_QUICKSIGHT_API PivotTableFieldOptions(Aws::Utils::Json::JsonView jsonValue)
PivotTableFieldOptions & AddDataPathOptions(PivotTableDataPathOption &&value)
PivotTableFieldOptions & WithCollapseStateOptions(Aws::Vector< PivotTableFieldCollapseStateOption > &&value)
PivotTableFieldOptions & AddCollapseStateOptions(PivotTableFieldCollapseStateOption &&value)
void SetCollapseStateOptions(const Aws::Vector< PivotTableFieldCollapseStateOption > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue