AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
43 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const ParameterValueType& GetParameterValueType() const{ return m_parameterValueType; }
52 inline bool ParameterValueTypeHasBeenSet() const { return m_parameterValueTypeHasBeenSet; }
53 inline void SetParameterValueType(const ParameterValueType& value) { m_parameterValueTypeHasBeenSet = true; m_parameterValueType = value; }
54 inline void SetParameterValueType(ParameterValueType&& value) { m_parameterValueTypeHasBeenSet = true; m_parameterValueType = std::move(value); }
58
60
63 inline const Aws::String& GetName() const{ return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
66 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
67 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 inline StringParameterDeclaration& WithName(const Aws::String& value) { SetName(value); return *this;}
69 inline StringParameterDeclaration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 inline StringParameterDeclaration& WithName(const char* value) { SetName(value); return *this;}
72
74
78 inline const StringDefaultValues& GetDefaultValues() const{ return m_defaultValues; }
79 inline bool DefaultValuesHasBeenSet() const { return m_defaultValuesHasBeenSet; }
80 inline void SetDefaultValues(const StringDefaultValues& value) { m_defaultValuesHasBeenSet = true; m_defaultValues = value; }
81 inline void SetDefaultValues(StringDefaultValues&& value) { m_defaultValuesHasBeenSet = true; m_defaultValues = std::move(value); }
83 inline StringParameterDeclaration& WithDefaultValues(StringDefaultValues&& value) { SetDefaultValues(std::move(value)); return *this;}
85
87
91 inline const StringValueWhenUnsetConfiguration& GetValueWhenUnset() const{ return m_valueWhenUnset; }
92 inline bool ValueWhenUnsetHasBeenSet() const { return m_valueWhenUnsetHasBeenSet; }
93 inline void SetValueWhenUnset(const StringValueWhenUnsetConfiguration& value) { m_valueWhenUnsetHasBeenSet = true; m_valueWhenUnset = value; }
94 inline void SetValueWhenUnset(StringValueWhenUnsetConfiguration&& 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 StringParameterDeclaration& AddMappedDataSetParameters(const MappedDataSetParameter& value) { m_mappedDataSetParametersHasBeenSet = true; m_mappedDataSetParameters.push_back(value); return *this; }
108 inline StringParameterDeclaration& AddMappedDataSetParameters(MappedDataSetParameter&& value) { m_mappedDataSetParametersHasBeenSet = true; m_mappedDataSetParameters.push_back(std::move(value)); return *this; }
110 private:
111
112 ParameterValueType m_parameterValueType;
113 bool m_parameterValueTypeHasBeenSet = false;
114
115 Aws::String m_name;
116 bool m_nameHasBeenSet = false;
117
118 StringDefaultValues m_defaultValues;
119 bool m_defaultValuesHasBeenSet = false;
120
121 StringValueWhenUnsetConfiguration m_valueWhenUnset;
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
StringParameterDeclaration & WithParameterValueType(ParameterValueType &&value)
void SetValueWhenUnset(const StringValueWhenUnsetConfiguration &value)
StringParameterDeclaration & WithParameterValueType(const ParameterValueType &value)
const Aws::Vector< MappedDataSetParameter > & GetMappedDataSetParameters() const
StringParameterDeclaration & WithDefaultValues(const StringDefaultValues &value)
StringParameterDeclaration & WithDefaultValues(StringDefaultValues &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
StringParameterDeclaration & WithMappedDataSetParameters(Aws::Vector< MappedDataSetParameter > &&value)
StringParameterDeclaration & AddMappedDataSetParameters(const MappedDataSetParameter &value)
StringParameterDeclaration & WithName(Aws::String &&value)
void SetDefaultValues(const StringDefaultValues &value)
void SetParameterValueType(const ParameterValueType &value)
AWS_QUICKSIGHT_API StringParameterDeclaration(Aws::Utils::Json::JsonView jsonValue)
StringParameterDeclaration & WithValueWhenUnset(const StringValueWhenUnsetConfiguration &value)
const StringValueWhenUnsetConfiguration & GetValueWhenUnset() const
void SetMappedDataSetParameters(Aws::Vector< MappedDataSetParameter > &&value)
void SetValueWhenUnset(StringValueWhenUnsetConfiguration &&value)
StringParameterDeclaration & WithName(const char *value)
StringParameterDeclaration & AddMappedDataSetParameters(MappedDataSetParameter &&value)
StringParameterDeclaration & WithValueWhenUnset(StringValueWhenUnsetConfiguration &&value)
void SetMappedDataSetParameters(const Aws::Vector< MappedDataSetParameter > &value)
AWS_QUICKSIGHT_API StringParameterDeclaration & operator=(Aws::Utils::Json::JsonView jsonValue)
StringParameterDeclaration & WithMappedDataSetParameters(const Aws::Vector< MappedDataSetParameter > &value)
StringParameterDeclaration & WithName(const 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