AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StringParameterDeclaration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ParameterValueType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/StringDefaultValues.h>
11#include <aws/quicksight/model/StringValueWhenUnsetConfiguration.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 StringParameterDeclaration() = default;
43 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline ParameterValueType GetParameterValueType() const { return m_parameterValueType; }
52 inline bool ParameterValueTypeHasBeenSet() const { return m_parameterValueTypeHasBeenSet; }
53 inline void SetParameterValueType(ParameterValueType value) { m_parameterValueTypeHasBeenSet = true; m_parameterValueType = value; }
56
58
61 inline const Aws::String& GetName() const { return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 template<typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
65 template<typename NameT = Aws::String>
66 StringParameterDeclaration& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
68
70
74 inline const StringDefaultValues& GetDefaultValues() const { return m_defaultValues; }
75 inline bool DefaultValuesHasBeenSet() const { return m_defaultValuesHasBeenSet; }
76 template<typename DefaultValuesT = StringDefaultValues>
77 void SetDefaultValues(DefaultValuesT&& value) { m_defaultValuesHasBeenSet = true; m_defaultValues = std::forward<DefaultValuesT>(value); }
78 template<typename DefaultValuesT = StringDefaultValues>
79 StringParameterDeclaration& WithDefaultValues(DefaultValuesT&& value) { SetDefaultValues(std::forward<DefaultValuesT>(value)); return *this;}
81
83
87 inline const StringValueWhenUnsetConfiguration& GetValueWhenUnset() const { return m_valueWhenUnset; }
88 inline bool ValueWhenUnsetHasBeenSet() const { return m_valueWhenUnsetHasBeenSet; }
89 template<typename ValueWhenUnsetT = StringValueWhenUnsetConfiguration>
90 void SetValueWhenUnset(ValueWhenUnsetT&& value) { m_valueWhenUnsetHasBeenSet = true; m_valueWhenUnset = std::forward<ValueWhenUnsetT>(value); }
91 template<typename ValueWhenUnsetT = StringValueWhenUnsetConfiguration>
92 StringParameterDeclaration& WithValueWhenUnset(ValueWhenUnsetT&& value) { SetValueWhenUnset(std::forward<ValueWhenUnsetT>(value)); return *this;}
94
96
97 inline const Aws::Vector<MappedDataSetParameter>& GetMappedDataSetParameters() const { return m_mappedDataSetParameters; }
98 inline bool MappedDataSetParametersHasBeenSet() const { return m_mappedDataSetParametersHasBeenSet; }
99 template<typename MappedDataSetParametersT = Aws::Vector<MappedDataSetParameter>>
100 void SetMappedDataSetParameters(MappedDataSetParametersT&& value) { m_mappedDataSetParametersHasBeenSet = true; m_mappedDataSetParameters = std::forward<MappedDataSetParametersT>(value); }
101 template<typename MappedDataSetParametersT = Aws::Vector<MappedDataSetParameter>>
102 StringParameterDeclaration& WithMappedDataSetParameters(MappedDataSetParametersT&& value) { SetMappedDataSetParameters(std::forward<MappedDataSetParametersT>(value)); return *this;}
103 template<typename MappedDataSetParametersT = MappedDataSetParameter>
104 StringParameterDeclaration& AddMappedDataSetParameters(MappedDataSetParametersT&& value) { m_mappedDataSetParametersHasBeenSet = true; m_mappedDataSetParameters.emplace_back(std::forward<MappedDataSetParametersT>(value)); return *this; }
106 private:
107
109 bool m_parameterValueTypeHasBeenSet = false;
110
111 Aws::String m_name;
112 bool m_nameHasBeenSet = false;
113
114 StringDefaultValues m_defaultValues;
115 bool m_defaultValuesHasBeenSet = false;
116
117 StringValueWhenUnsetConfiguration m_valueWhenUnset;
118 bool m_valueWhenUnsetHasBeenSet = false;
119
120 Aws::Vector<MappedDataSetParameter> m_mappedDataSetParameters;
121 bool m_mappedDataSetParametersHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace QuickSight
126} // namespace Aws
StringParameterDeclaration & AddMappedDataSetParameters(MappedDataSetParametersT &&value)
const Aws::Vector< MappedDataSetParameter > & GetMappedDataSetParameters() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API StringParameterDeclaration()=default
StringParameterDeclaration & WithParameterValueType(ParameterValueType value)
StringParameterDeclaration & WithValueWhenUnset(ValueWhenUnsetT &&value)
void SetMappedDataSetParameters(MappedDataSetParametersT &&value)
StringParameterDeclaration & WithMappedDataSetParameters(MappedDataSetParametersT &&value)
StringParameterDeclaration & WithDefaultValues(DefaultValuesT &&value)
AWS_QUICKSIGHT_API StringParameterDeclaration(Aws::Utils::Json::JsonView jsonValue)
const StringValueWhenUnsetConfiguration & GetValueWhenUnset() const
StringParameterDeclaration & WithName(NameT &&value)
AWS_QUICKSIGHT_API StringParameterDeclaration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue