AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExplicitHierarchy.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 ExplicitHierarchy();
40 AWS_QUICKSIGHT_API ExplicitHierarchy(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 ExplicitHierarchy& WithHierarchyId(const Aws::String& value) { SetHierarchyId(value); return *this;}
55 inline ExplicitHierarchy& WithHierarchyId(Aws::String&& value) { SetHierarchyId(std::move(value)); return *this;}
56 inline ExplicitHierarchy& 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 ExplicitHierarchy& WithColumns(const Aws::Vector<ColumnIdentifier>& value) { SetColumns(value); return *this;}
68 inline ExplicitHierarchy& WithColumns(Aws::Vector<ColumnIdentifier>&& value) { SetColumns(std::move(value)); return *this;}
69 inline ExplicitHierarchy& AddColumns(const ColumnIdentifier& value) { m_columnsHasBeenSet = true; m_columns.push_back(value); return *this; }
70 inline ExplicitHierarchy& 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 ExplicitHierarchy& AddDrillDownFilters(const DrillDownFilter& value) { m_drillDownFiltersHasBeenSet = true; m_drillDownFilters.push_back(value); return *this; }
85 inline ExplicitHierarchy& 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
ExplicitHierarchy & WithDrillDownFilters(Aws::Vector< DrillDownFilter > &&value)
ExplicitHierarchy & AddDrillDownFilters(DrillDownFilter &&value)
void SetDrillDownFilters(const Aws::Vector< DrillDownFilter > &value)
ExplicitHierarchy & WithHierarchyId(Aws::String &&value)
ExplicitHierarchy & WithColumns(Aws::Vector< ColumnIdentifier > &&value)
ExplicitHierarchy & WithHierarchyId(const char *value)
void SetHierarchyId(const Aws::String &value)
ExplicitHierarchy & AddDrillDownFilters(const DrillDownFilter &value)
ExplicitHierarchy & AddColumns(const ColumnIdentifier &value)
ExplicitHierarchy & WithDrillDownFilters(const Aws::Vector< DrillDownFilter > &value)
void SetColumns(Aws::Vector< ColumnIdentifier > &&value)
ExplicitHierarchy & WithColumns(const Aws::Vector< ColumnIdentifier > &value)
void SetColumns(const Aws::Vector< ColumnIdentifier > &value)
AWS_QUICKSIGHT_API ExplicitHierarchy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetHierarchyId() const
void SetDrillDownFilters(Aws::Vector< DrillDownFilter > &&value)
AWS_QUICKSIGHT_API ExplicitHierarchy(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< DrillDownFilter > & GetDrillDownFilters() const
const Aws::Vector< ColumnIdentifier > & GetColumns() const
ExplicitHierarchy & WithHierarchyId(const Aws::String &value)
ExplicitHierarchy & AddColumns(ColumnIdentifier &&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