7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/model/AttributeValue.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
44 m_enabledHasBeenSet =
true;
59 template <
typename AttributeValuesT = Aws::Map<Aws::String, AttributeValue>>
61 m_attributeValuesHasBeenSet =
true;
62 m_attributeValues = std::forward<AttributeValuesT>(value);
64 template <
typename AttributeValuesT = Aws::Map<Aws::String, AttributeValue>>
69 template <
typename AttributeValuesKeyT = Aws::String,
typename AttributeValuesValueT = AttributeValue>
71 m_attributeValuesHasBeenSet =
true;
72 m_attributeValues.emplace(std::forward<AttributeValuesKeyT>(key), std::forward<AttributeValuesValueT>(value));
77 bool m_enabled{
false};
80 bool m_enabledHasBeenSet =
false;
81 bool m_attributeValuesHasBeenSet =
false;
AWS_APPCONFIG_API FlagValue(Aws::Utils::Json::JsonView jsonValue)
FlagValue & WithEnabled(bool value)
AWS_APPCONFIG_API FlagValue & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAttributeValues(AttributeValuesT &&value)
void SetEnabled(bool value)
AWS_APPCONFIG_API FlagValue()=default
bool AttributeValuesHasBeenSet() const
FlagValue & WithAttributeValues(AttributeValuesT &&value)
FlagValue & AddAttributeValues(AttributeValuesKeyT &&key, AttributeValuesValueT &&value)
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, AttributeValue > & GetAttributeValues() const
bool EnabledHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue