7#include <aws/appconfigcloudextension/AppConfigCloudExtension_EXPORTS.h>
8#include <aws/appconfigcloudextension/model/FlagAttributeValue.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace AppConfigCloudExtension {
43 m_enabledHasBeenSet =
true;
58 template <
typename VariantT = Aws::String>
60 m_variantHasBeenSet =
true;
61 m_variant = std::forward<VariantT>(value);
63 template <
typename VariantT = Aws::String>
76 template <
typename AttributesT = Aws::Map<Aws::String, FlagAttributeValue>>
78 m_attributesHasBeenSet =
true;
79 m_attributes = std::forward<AttributesT>(value);
81 template <
typename AttributesT = Aws::Map<Aws::String, FlagAttributeValue>>
86 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = FlagAttributeValue>
88 m_attributesHasBeenSet =
true;
89 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
97 template <
typename RequestIdT = Aws::String>
99 m_requestIdHasBeenSet =
true;
100 m_requestId = std::forward<RequestIdT>(value);
102 template <
typename RequestIdT = Aws::String>
111 bool m_enabled{
false};
119 bool m_enabledHasBeenSet =
false;
120 bool m_variantHasBeenSet =
false;
121 bool m_attributesHasBeenSet =
false;
122 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
void SetEnabled(bool value)
void SetRequestId(RequestIdT &&value)
AWS_APPCONFIGCLOUDEXTENSION_API GetFlagResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetVariant() const
void SetVariant(VariantT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetAttributes(AttributesT &&value)
AWS_APPCONFIGCLOUDEXTENSION_API GetFlagResult()=default
const Aws::Map< Aws::String, FlagAttributeValue > & GetAttributes() const
GetFlagResult & WithVariant(VariantT &&value)
GetFlagResult & WithEnabled(bool value)
GetFlagResult & WithAttributes(AttributesT &&value)
GetFlagResult & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
GetFlagResult & WithRequestId(RequestIdT &&value)
AWS_APPCONFIGCLOUDEXTENSION_API GetFlagResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue