AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ColumnHierarchy.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ExplicitHierarchy.h>
9#include <aws/quicksight/model/DateTimeHierarchy.h>
10#include <aws/quicksight/model/PredefinedHierarchy.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 ColumnHierarchy();
38 AWS_QUICKSIGHT_API ColumnHierarchy(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const ExplicitHierarchy& GetExplicitHierarchy() const{ return m_explicitHierarchy; }
49 inline bool ExplicitHierarchyHasBeenSet() const { return m_explicitHierarchyHasBeenSet; }
50 inline void SetExplicitHierarchy(const ExplicitHierarchy& value) { m_explicitHierarchyHasBeenSet = true; m_explicitHierarchy = value; }
51 inline void SetExplicitHierarchy(ExplicitHierarchy&& value) { m_explicitHierarchyHasBeenSet = true; m_explicitHierarchy = std::move(value); }
52 inline ColumnHierarchy& WithExplicitHierarchy(const ExplicitHierarchy& value) { SetExplicitHierarchy(value); return *this;}
53 inline ColumnHierarchy& WithExplicitHierarchy(ExplicitHierarchy&& value) { SetExplicitHierarchy(std::move(value)); return *this;}
55
57
61 inline const DateTimeHierarchy& GetDateTimeHierarchy() const{ return m_dateTimeHierarchy; }
62 inline bool DateTimeHierarchyHasBeenSet() const { return m_dateTimeHierarchyHasBeenSet; }
63 inline void SetDateTimeHierarchy(const DateTimeHierarchy& value) { m_dateTimeHierarchyHasBeenSet = true; m_dateTimeHierarchy = value; }
64 inline void SetDateTimeHierarchy(DateTimeHierarchy&& value) { m_dateTimeHierarchyHasBeenSet = true; m_dateTimeHierarchy = std::move(value); }
65 inline ColumnHierarchy& WithDateTimeHierarchy(const DateTimeHierarchy& value) { SetDateTimeHierarchy(value); return *this;}
66 inline ColumnHierarchy& WithDateTimeHierarchy(DateTimeHierarchy&& value) { SetDateTimeHierarchy(std::move(value)); return *this;}
68
70
75 inline const PredefinedHierarchy& GetPredefinedHierarchy() const{ return m_predefinedHierarchy; }
76 inline bool PredefinedHierarchyHasBeenSet() const { return m_predefinedHierarchyHasBeenSet; }
77 inline void SetPredefinedHierarchy(const PredefinedHierarchy& value) { m_predefinedHierarchyHasBeenSet = true; m_predefinedHierarchy = value; }
78 inline void SetPredefinedHierarchy(PredefinedHierarchy&& value) { m_predefinedHierarchyHasBeenSet = true; m_predefinedHierarchy = std::move(value); }
80 inline ColumnHierarchy& WithPredefinedHierarchy(PredefinedHierarchy&& value) { SetPredefinedHierarchy(std::move(value)); return *this;}
82 private:
83
84 ExplicitHierarchy m_explicitHierarchy;
85 bool m_explicitHierarchyHasBeenSet = false;
86
87 DateTimeHierarchy m_dateTimeHierarchy;
88 bool m_dateTimeHierarchyHasBeenSet = false;
89
90 PredefinedHierarchy m_predefinedHierarchy;
91 bool m_predefinedHierarchyHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace QuickSight
96} // namespace Aws
ColumnHierarchy & WithDateTimeHierarchy(DateTimeHierarchy &&value)
void SetDateTimeHierarchy(DateTimeHierarchy &&value)
AWS_QUICKSIGHT_API ColumnHierarchy(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API ColumnHierarchy & operator=(Aws::Utils::Json::JsonView jsonValue)
ColumnHierarchy & WithPredefinedHierarchy(const PredefinedHierarchy &value)
const DateTimeHierarchy & GetDateTimeHierarchy() const
ColumnHierarchy & WithDateTimeHierarchy(const DateTimeHierarchy &value)
const PredefinedHierarchy & GetPredefinedHierarchy() const
ColumnHierarchy & WithPredefinedHierarchy(PredefinedHierarchy &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExplicitHierarchy(const ExplicitHierarchy &value)
void SetExplicitHierarchy(ExplicitHierarchy &&value)
void SetPredefinedHierarchy(PredefinedHierarchy &&value)
const ExplicitHierarchy & GetExplicitHierarchy() const
ColumnHierarchy & WithExplicitHierarchy(const ExplicitHierarchy &value)
ColumnHierarchy & WithExplicitHierarchy(ExplicitHierarchy &&value)
void SetPredefinedHierarchy(const PredefinedHierarchy &value)
void SetDateTimeHierarchy(const DateTimeHierarchy &value)
Aws::Utils::Json::JsonValue JsonValue