AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DateTimeParameterDeclaration.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/DateTimeDefaultValues.h>
10#include <aws/quicksight/model/TimeGranularity.h>
11#include <aws/quicksight/model/DateTimeValueWhenUnsetConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/quicksight/model/MappedDataSetParameter.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace QuickSight
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_QUICKSIGHT_API DateTimeParameterDeclaration();
43 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetName() const{ return m_name; }
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
53 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
54 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
55 inline DateTimeParameterDeclaration& WithName(const Aws::String& value) { SetName(value); return *this;}
56 inline DateTimeParameterDeclaration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
57 inline DateTimeParameterDeclaration& WithName(const char* value) { SetName(value); return *this;}
59
61
65 inline const DateTimeDefaultValues& GetDefaultValues() const{ return m_defaultValues; }
66 inline bool DefaultValuesHasBeenSet() const { return m_defaultValuesHasBeenSet; }
67 inline void SetDefaultValues(const DateTimeDefaultValues& value) { m_defaultValuesHasBeenSet = true; m_defaultValues = value; }
68 inline void SetDefaultValues(DateTimeDefaultValues&& value) { m_defaultValuesHasBeenSet = true; m_defaultValues = std::move(value); }
70 inline DateTimeParameterDeclaration& WithDefaultValues(DateTimeDefaultValues&& value) { SetDefaultValues(std::move(value)); return *this;}
72
74
78 inline const TimeGranularity& GetTimeGranularity() const{ return m_timeGranularity; }
79 inline bool TimeGranularityHasBeenSet() const { return m_timeGranularityHasBeenSet; }
80 inline void SetTimeGranularity(const TimeGranularity& value) { m_timeGranularityHasBeenSet = true; m_timeGranularity = value; }
81 inline void SetTimeGranularity(TimeGranularity&& value) { m_timeGranularityHasBeenSet = true; m_timeGranularity = std::move(value); }
83 inline DateTimeParameterDeclaration& WithTimeGranularity(TimeGranularity&& value) { SetTimeGranularity(std::move(value)); return *this;}
85
87
91 inline const DateTimeValueWhenUnsetConfiguration& GetValueWhenUnset() const{ return m_valueWhenUnset; }
92 inline bool ValueWhenUnsetHasBeenSet() const { return m_valueWhenUnsetHasBeenSet; }
93 inline void SetValueWhenUnset(const DateTimeValueWhenUnsetConfiguration& value) { m_valueWhenUnsetHasBeenSet = true; m_valueWhenUnset = value; }
94 inline void SetValueWhenUnset(DateTimeValueWhenUnsetConfiguration&& value) { m_valueWhenUnsetHasBeenSet = true; m_valueWhenUnset = std::move(value); }
98
100
101 inline const Aws::Vector<MappedDataSetParameter>& GetMappedDataSetParameters() const{ return m_mappedDataSetParameters; }
102 inline bool MappedDataSetParametersHasBeenSet() const { return m_mappedDataSetParametersHasBeenSet; }
103 inline void SetMappedDataSetParameters(const Aws::Vector<MappedDataSetParameter>& value) { m_mappedDataSetParametersHasBeenSet = true; m_mappedDataSetParameters = value; }
104 inline void SetMappedDataSetParameters(Aws::Vector<MappedDataSetParameter>&& value) { m_mappedDataSetParametersHasBeenSet = true; m_mappedDataSetParameters = std::move(value); }
107 inline DateTimeParameterDeclaration& AddMappedDataSetParameters(const MappedDataSetParameter& value) { m_mappedDataSetParametersHasBeenSet = true; m_mappedDataSetParameters.push_back(value); return *this; }
108 inline DateTimeParameterDeclaration& AddMappedDataSetParameters(MappedDataSetParameter&& value) { m_mappedDataSetParametersHasBeenSet = true; m_mappedDataSetParameters.push_back(std::move(value)); return *this; }
110 private:
111
112 Aws::String m_name;
113 bool m_nameHasBeenSet = false;
114
115 DateTimeDefaultValues m_defaultValues;
116 bool m_defaultValuesHasBeenSet = false;
117
118 TimeGranularity m_timeGranularity;
119 bool m_timeGranularityHasBeenSet = false;
120
122 bool m_valueWhenUnsetHasBeenSet = false;
123
124 Aws::Vector<MappedDataSetParameter> m_mappedDataSetParameters;
125 bool m_mappedDataSetParametersHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace QuickSight
130} // namespace Aws
DateTimeParameterDeclaration & WithMappedDataSetParameters(const Aws::Vector< MappedDataSetParameter > &value)
DateTimeParameterDeclaration & WithName(const Aws::String &value)
const Aws::Vector< MappedDataSetParameter > & GetMappedDataSetParameters() const
AWS_QUICKSIGHT_API DateTimeParameterDeclaration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
DateTimeParameterDeclaration & WithMappedDataSetParameters(Aws::Vector< MappedDataSetParameter > &&value)
DateTimeParameterDeclaration & WithTimeGranularity(const TimeGranularity &value)
DateTimeParameterDeclaration & WithName(const char *value)
void SetValueWhenUnset(const DateTimeValueWhenUnsetConfiguration &value)
DateTimeParameterDeclaration & AddMappedDataSetParameters(MappedDataSetParameter &&value)
void SetValueWhenUnset(DateTimeValueWhenUnsetConfiguration &&value)
const DateTimeValueWhenUnsetConfiguration & GetValueWhenUnset() const
AWS_QUICKSIGHT_API DateTimeParameterDeclaration & operator=(Aws::Utils::Json::JsonView jsonValue)
DateTimeParameterDeclaration & WithDefaultValues(DateTimeDefaultValues &&value)
DateTimeParameterDeclaration & WithDefaultValues(const DateTimeDefaultValues &value)
DateTimeParameterDeclaration & AddMappedDataSetParameters(const MappedDataSetParameter &value)
DateTimeParameterDeclaration & WithValueWhenUnset(const DateTimeValueWhenUnsetConfiguration &value)
DateTimeParameterDeclaration & WithTimeGranularity(TimeGranularity &&value)
void SetMappedDataSetParameters(Aws::Vector< MappedDataSetParameter > &&value)
DateTimeParameterDeclaration & WithValueWhenUnset(DateTimeValueWhenUnsetConfiguration &&value)
void SetMappedDataSetParameters(const Aws::Vector< MappedDataSetParameter > &value)
DateTimeParameterDeclaration & WithName(Aws::String &&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