7#include <aws/appconfigcloudextension/AppConfigCloudExtension_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace AppConfigCloudExtension {
42 template <
typename StringT = Aws::String>
44 m_stringHasBeenSet =
true;
45 m_string = std::forward<StringT>(value);
47 template <
typename StringT = Aws::String>
58 inline double GetNumber()
const {
return m_number; }
61 m_numberHasBeenSet =
true;
77 m_booleanHasBeenSet =
true;
92 template <
typename StringListT = Aws::Vector<Aws::String>>
94 m_stringListHasBeenSet =
true;
95 m_stringList = std::forward<StringListT>(value);
97 template <
typename StringListT = Aws::Vector<Aws::String>>
102 template <
typename StringListT = Aws::String>
104 m_stringListHasBeenSet =
true;
105 m_stringList.emplace_back(std::forward<StringListT>(value));
116 template <
typename NumberListT = Aws::Vector<
double>>
118 m_numberListHasBeenSet =
true;
119 m_numberList = std::forward<NumberListT>(value);
121 template <
typename NumberListT = Aws::Vector<
double>>
127 m_numberListHasBeenSet =
true;
128 m_numberList.push_back(value);
135 double m_number{0.0};
137 bool m_boolean{
false};
142 bool m_stringHasBeenSet =
false;
143 bool m_numberHasBeenSet =
false;
144 bool m_booleanHasBeenSet =
false;
145 bool m_stringListHasBeenSet =
false;
146 bool m_numberListHasBeenSet =
false;
AWS_APPCONFIGCLOUDEXTENSION_API Aws::Utils::Json::JsonValue Jsonize() const
bool StringHasBeenSet() const
FlagAttributeValue & AddNumberList(double value)
const Aws::String & GetString() const
FlagAttributeValue & AddStringList(StringListT &&value)
const Aws::Vector< double > & GetNumberList() const
void SetNumber(double value)
bool NumberListHasBeenSet() const
bool StringListHasBeenSet() const
AWS_APPCONFIGCLOUDEXTENSION_API FlagAttributeValue()=default
void SetBoolean(bool value)
bool BooleanHasBeenSet() const
void SetStringList(StringListT &&value)
AWS_APPCONFIGCLOUDEXTENSION_API FlagAttributeValue(Aws::Utils::Json::JsonView jsonValue)
FlagAttributeValue & WithStringList(StringListT &&value)
const Aws::Vector< Aws::String > & GetStringList() const
void SetString(StringT &&value)
void SetNumberList(NumberListT &&value)
FlagAttributeValue & WithNumber(double value)
AWS_APPCONFIGCLOUDEXTENSION_API FlagAttributeValue & operator=(Aws::Utils::Json::JsonView jsonValue)
FlagAttributeValue & WithBoolean(bool value)
FlagAttributeValue & WithString(StringT &&value)
FlagAttributeValue & WithNumberList(NumberListT &&value)
bool NumberHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue