AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DateTimeDatasetParameter.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/DatasetParameterValueType.h>
10#include <aws/quicksight/model/TimeGranularity.h>
11#include <aws/quicksight/model/DateTimeDatasetParameterDefaultValues.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 DateTimeDatasetParameter();
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline DateTimeDatasetParameter& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline DateTimeDatasetParameter& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline DateTimeDatasetParameter& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline DateTimeDatasetParameter& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline DateTimeDatasetParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline DateTimeDatasetParameter& WithName(const char* value) { SetName(value); return *this;}
70
72
76 inline const DatasetParameterValueType& GetValueType() const{ return m_valueType; }
77 inline bool ValueTypeHasBeenSet() const { return m_valueTypeHasBeenSet; }
78 inline void SetValueType(const DatasetParameterValueType& value) { m_valueTypeHasBeenSet = true; m_valueType = value; }
79 inline void SetValueType(DatasetParameterValueType&& value) { m_valueTypeHasBeenSet = true; m_valueType = std::move(value); }
81 inline DateTimeDatasetParameter& WithValueType(DatasetParameterValueType&& value) { SetValueType(std::move(value)); return *this;}
83
85
88 inline const TimeGranularity& GetTimeGranularity() const{ return m_timeGranularity; }
89 inline bool TimeGranularityHasBeenSet() const { return m_timeGranularityHasBeenSet; }
90 inline void SetTimeGranularity(const TimeGranularity& value) { m_timeGranularityHasBeenSet = true; m_timeGranularity = value; }
91 inline void SetTimeGranularity(TimeGranularity&& value) { m_timeGranularityHasBeenSet = true; m_timeGranularity = std::move(value); }
93 inline DateTimeDatasetParameter& WithTimeGranularity(TimeGranularity&& value) { SetTimeGranularity(std::move(value)); return *this;}
95
97
101 inline const DateTimeDatasetParameterDefaultValues& GetDefaultValues() const{ return m_defaultValues; }
102 inline bool DefaultValuesHasBeenSet() const { return m_defaultValuesHasBeenSet; }
103 inline void SetDefaultValues(const DateTimeDatasetParameterDefaultValues& value) { m_defaultValuesHasBeenSet = true; m_defaultValues = value; }
104 inline void SetDefaultValues(DateTimeDatasetParameterDefaultValues&& value) { m_defaultValuesHasBeenSet = true; m_defaultValues = std::move(value); }
108 private:
109
110 Aws::String m_id;
111 bool m_idHasBeenSet = false;
112
113 Aws::String m_name;
114 bool m_nameHasBeenSet = false;
115
116 DatasetParameterValueType m_valueType;
117 bool m_valueTypeHasBeenSet = false;
118
119 TimeGranularity m_timeGranularity;
120 bool m_timeGranularityHasBeenSet = false;
121
123 bool m_defaultValuesHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace QuickSight
128} // namespace Aws
DateTimeDatasetParameter & WithTimeGranularity(const TimeGranularity &value)
DateTimeDatasetParameter & WithName(Aws::String &&value)
DateTimeDatasetParameter & WithId(Aws::String &&value)
AWS_QUICKSIGHT_API DateTimeDatasetParameter(Aws::Utils::Json::JsonView jsonValue)
DateTimeDatasetParameter & WithTimeGranularity(TimeGranularity &&value)
DateTimeDatasetParameter & WithDefaultValues(DateTimeDatasetParameterDefaultValues &&value)
DateTimeDatasetParameter & WithName(const Aws::String &value)
AWS_QUICKSIGHT_API DateTimeDatasetParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const DateTimeDatasetParameterDefaultValues & GetDefaultValues() const
DateTimeDatasetParameter & WithValueType(DatasetParameterValueType &&value)
DateTimeDatasetParameter & WithValueType(const DatasetParameterValueType &value)
DateTimeDatasetParameter & WithId(const Aws::String &value)
void SetValueType(const DatasetParameterValueType &value)
DateTimeDatasetParameter & WithName(const char *value)
void SetDefaultValues(const DateTimeDatasetParameterDefaultValues &value)
DateTimeDatasetParameter & WithDefaultValues(const DateTimeDatasetParameterDefaultValues &value)
void SetDefaultValues(DateTimeDatasetParameterDefaultValues &&value)
DateTimeDatasetParameter & WithId(const char *value)
const DatasetParameterValueType & GetValueType() const
void SetValueType(DatasetParameterValueType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue