AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PredefinedHierarchy.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/ColumnIdentifier.h>
11#include <aws/quicksight/model/DrillDownFilter.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
37 {
38 public:
39 AWS_QUICKSIGHT_API PredefinedHierarchy();
40 AWS_QUICKSIGHT_API PredefinedHierarchy(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetHierarchyId() const{ return m_hierarchyId; }
50 inline bool HierarchyIdHasBeenSet() const { return m_hierarchyIdHasBeenSet; }
51 inline void SetHierarchyId(const Aws::String& value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId = value; }
52 inline void SetHierarchyId(Aws::String&& value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId = std::move(value); }
53 inline void SetHierarchyId(const char* value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId.assign(value); }
54 inline PredefinedHierarchy& WithHierarchyId(const Aws::String& value) { SetHierarchyId(value); return *this;}
55 inline PredefinedHierarchy& WithHierarchyId(Aws::String&& value) { SetHierarchyId(std::move(value)); return *this;}
56 inline PredefinedHierarchy& WithHierarchyId(const char* value) { SetHierarchyId(value); return *this;}
58
60
63 inline const Aws::Vector<ColumnIdentifier>& GetColumns() const{ return m_columns; }
64 inline bool ColumnsHasBeenSet() const { return m_columnsHasBeenSet; }
65 inline void SetColumns(const Aws::Vector<ColumnIdentifier>& value) { m_columnsHasBeenSet = true; m_columns = value; }
66 inline void SetColumns(Aws::Vector<ColumnIdentifier>&& value) { m_columnsHasBeenSet = true; m_columns = std::move(value); }
67 inline PredefinedHierarchy& WithColumns(const Aws::Vector<ColumnIdentifier>& value) { SetColumns(value); return *this;}
68 inline PredefinedHierarchy& WithColumns(Aws::Vector<ColumnIdentifier>&& value) { SetColumns(std::move(value)); return *this;}
69 inline PredefinedHierarchy& AddColumns(const ColumnIdentifier& value) { m_columnsHasBeenSet = true; m_columns.push_back(value); return *this; }
70 inline PredefinedHierarchy& AddColumns(ColumnIdentifier&& value) { m_columnsHasBeenSet = true; m_columns.push_back(std::move(value)); return *this; }
72
74
78 inline const Aws::Vector<DrillDownFilter>& GetDrillDownFilters() const{ return m_drillDownFilters; }
79 inline bool DrillDownFiltersHasBeenSet() const { return m_drillDownFiltersHasBeenSet; }
80 inline void SetDrillDownFilters(const Aws::Vector<DrillDownFilter>& value) { m_drillDownFiltersHasBeenSet = true; m_drillDownFilters = value; }
81 inline void SetDrillDownFilters(Aws::Vector<DrillDownFilter>&& value) { m_drillDownFiltersHasBeenSet = true; m_drillDownFilters = std::move(value); }
84 inline PredefinedHierarchy& AddDrillDownFilters(const DrillDownFilter& value) { m_drillDownFiltersHasBeenSet = true; m_drillDownFilters.push_back(value); return *this; }
85 inline PredefinedHierarchy& AddDrillDownFilters(DrillDownFilter&& value) { m_drillDownFiltersHasBeenSet = true; m_drillDownFilters.push_back(std::move(value)); return *this; }
87 private:
88
89 Aws::String m_hierarchyId;
90 bool m_hierarchyIdHasBeenSet = false;
91
93 bool m_columnsHasBeenSet = false;
94
95 Aws::Vector<DrillDownFilter> m_drillDownFilters;
96 bool m_drillDownFiltersHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace QuickSight
101} // namespace Aws
const Aws::Vector< DrillDownFilter > & GetDrillDownFilters() const
PredefinedHierarchy & WithColumns(Aws::Vector< ColumnIdentifier > &&value)
void SetColumns(const Aws::Vector< ColumnIdentifier > &value)
PredefinedHierarchy & AddColumns(ColumnIdentifier &&value)
PredefinedHierarchy & AddDrillDownFilters(DrillDownFilter &&value)
PredefinedHierarchy & WithDrillDownFilters(Aws::Vector< DrillDownFilter > &&value)
PredefinedHierarchy & WithHierarchyId(Aws::String &&value)
PredefinedHierarchy & WithColumns(const Aws::Vector< ColumnIdentifier > &value)
PredefinedHierarchy & AddDrillDownFilters(const DrillDownFilter &value)
const Aws::Vector< ColumnIdentifier > & GetColumns() const
void SetHierarchyId(const Aws::String &value)
PredefinedHierarchy & WithDrillDownFilters(const Aws::Vector< DrillDownFilter > &value)
PredefinedHierarchy & WithHierarchyId(const Aws::String &value)
void SetDrillDownFilters(const Aws::Vector< DrillDownFilter > &value)
AWS_QUICKSIGHT_API PredefinedHierarchy(Aws::Utils::Json::JsonView jsonValue)
void SetDrillDownFilters(Aws::Vector< DrillDownFilter > &&value)
AWS_QUICKSIGHT_API PredefinedHierarchy & operator=(Aws::Utils::Json::JsonView jsonValue)
PredefinedHierarchy & AddColumns(const ColumnIdentifier &value)
void SetColumns(Aws::Vector< ColumnIdentifier > &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
PredefinedHierarchy & WithHierarchyId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue