AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DateDimensionField.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/ColumnIdentifier.h>
10#include <aws/quicksight/model/TimeGranularity.h>
11#include <aws/quicksight/model/DateTimeFormatConfiguration.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
36 {
37 public:
38 AWS_QUICKSIGHT_API DateDimensionField();
39 AWS_QUICKSIGHT_API DateDimensionField(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetFieldId() const{ return m_fieldId; }
49 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
50 inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; }
51 inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); }
52 inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); }
53 inline DateDimensionField& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;}
54 inline DateDimensionField& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;}
55 inline DateDimensionField& WithFieldId(const char* value) { SetFieldId(value); return *this;}
57
59
62 inline const ColumnIdentifier& GetColumn() const{ return m_column; }
63 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
64 inline void SetColumn(const ColumnIdentifier& value) { m_columnHasBeenSet = true; m_column = value; }
65 inline void SetColumn(ColumnIdentifier&& value) { m_columnHasBeenSet = true; m_column = std::move(value); }
66 inline DateDimensionField& WithColumn(const ColumnIdentifier& value) { SetColumn(value); return *this;}
67 inline DateDimensionField& WithColumn(ColumnIdentifier&& value) { SetColumn(std::move(value)); return *this;}
69
71
80 inline const TimeGranularity& GetDateGranularity() const{ return m_dateGranularity; }
81 inline bool DateGranularityHasBeenSet() const { return m_dateGranularityHasBeenSet; }
82 inline void SetDateGranularity(const TimeGranularity& value) { m_dateGranularityHasBeenSet = true; m_dateGranularity = value; }
83 inline void SetDateGranularity(TimeGranularity&& value) { m_dateGranularityHasBeenSet = true; m_dateGranularity = std::move(value); }
84 inline DateDimensionField& WithDateGranularity(const TimeGranularity& value) { SetDateGranularity(value); return *this;}
85 inline DateDimensionField& WithDateGranularity(TimeGranularity&& value) { SetDateGranularity(std::move(value)); return *this;}
87
89
92 inline const Aws::String& GetHierarchyId() const{ return m_hierarchyId; }
93 inline bool HierarchyIdHasBeenSet() const { return m_hierarchyIdHasBeenSet; }
94 inline void SetHierarchyId(const Aws::String& value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId = value; }
95 inline void SetHierarchyId(Aws::String&& value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId = std::move(value); }
96 inline void SetHierarchyId(const char* value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId.assign(value); }
97 inline DateDimensionField& WithHierarchyId(const Aws::String& value) { SetHierarchyId(value); return *this;}
98 inline DateDimensionField& WithHierarchyId(Aws::String&& value) { SetHierarchyId(std::move(value)); return *this;}
99 inline DateDimensionField& WithHierarchyId(const char* value) { SetHierarchyId(value); return *this;}
101
103
106 inline const DateTimeFormatConfiguration& GetFormatConfiguration() const{ return m_formatConfiguration; }
107 inline bool FormatConfigurationHasBeenSet() const { return m_formatConfigurationHasBeenSet; }
108 inline void SetFormatConfiguration(const DateTimeFormatConfiguration& value) { m_formatConfigurationHasBeenSet = true; m_formatConfiguration = value; }
109 inline void SetFormatConfiguration(DateTimeFormatConfiguration&& value) { m_formatConfigurationHasBeenSet = true; m_formatConfiguration = std::move(value); }
113 private:
114
115 Aws::String m_fieldId;
116 bool m_fieldIdHasBeenSet = false;
117
118 ColumnIdentifier m_column;
119 bool m_columnHasBeenSet = false;
120
121 TimeGranularity m_dateGranularity;
122 bool m_dateGranularityHasBeenSet = false;
123
124 Aws::String m_hierarchyId;
125 bool m_hierarchyIdHasBeenSet = false;
126
127 DateTimeFormatConfiguration m_formatConfiguration;
128 bool m_formatConfigurationHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace QuickSight
133} // namespace Aws
DateDimensionField & WithFieldId(const Aws::String &value)
void SetFormatConfiguration(const DateTimeFormatConfiguration &value)
DateDimensionField & WithHierarchyId(const char *value)
DateDimensionField & WithFormatConfiguration(const DateTimeFormatConfiguration &value)
void SetHierarchyId(const Aws::String &value)
AWS_QUICKSIGHT_API DateDimensionField & operator=(Aws::Utils::Json::JsonView jsonValue)
const TimeGranularity & GetDateGranularity() const
DateDimensionField & WithDateGranularity(TimeGranularity &&value)
const DateTimeFormatConfiguration & GetFormatConfiguration() const
DateDimensionField & WithColumn(const ColumnIdentifier &value)
void SetDateGranularity(const TimeGranularity &value)
void SetFormatConfiguration(DateTimeFormatConfiguration &&value)
void SetColumn(const ColumnIdentifier &value)
DateDimensionField & WithHierarchyId(const Aws::String &value)
DateDimensionField & WithFieldId(Aws::String &&value)
DateDimensionField & WithDateGranularity(const TimeGranularity &value)
void SetFieldId(const Aws::String &value)
DateDimensionField & WithColumn(ColumnIdentifier &&value)
AWS_QUICKSIGHT_API DateDimensionField(Aws::Utils::Json::JsonView jsonValue)
void SetColumn(ColumnIdentifier &&value)
DateDimensionField & WithHierarchyId(Aws::String &&value)
DateDimensionField & WithFieldId(const char *value)
const ColumnIdentifier & GetColumn() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
DateDimensionField & WithFormatConfiguration(DateTimeFormatConfiguration &&value)
void SetDateGranularity(TimeGranularity &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue