7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/AppConfigRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/appconfig/model/ActionPoint.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/appconfig/model/Parameter.h>
14#include <aws/appconfig/model/Action.h>
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
61 template<
typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
63 template<
typename DescriptionT = Aws::String>
73 template<
typename ActionsT = Aws::Map<ActionPo
int, Aws::Vector<Action>>>
74 void SetActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions = std::forward<ActionsT>(value); }
75 template<
typename ActionsT = Aws::Map<ActionPo
int, Aws::Vector<Action>>>
78 m_actionsHasBeenSet =
true; m_actions.emplace(key, value);
return *
this;
91 template<
typename ParametersT = Aws::Map<Aws::String, Parameter>>
92 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
93 template<
typename ParametersT = Aws::Map<Aws::String, Parameter>>
95 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Parameter>
97 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
110 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
111 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
112 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
114 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
116 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
134 bool m_nameHasBeenSet =
false;
137 bool m_descriptionHasBeenSet =
false;
140 bool m_actionsHasBeenSet =
false;
143 bool m_parametersHasBeenSet =
false;
146 bool m_tagsHasBeenSet =
false;
148 int m_latestVersionNumber{0};
149 bool m_latestVersionNumberHasBeenSet =
false;
const Aws::Map< ActionPoint, Aws::Vector< Action > > & GetActions() const
CreateExtensionRequest & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
AWS_APPCONFIG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetDescription() const
void SetLatestVersionNumber(int value)
CreateExtensionRequest & WithDescription(DescriptionT &&value)
CreateExtensionRequest & WithActions(ActionsT &&value)
bool ActionsHasBeenSet() const
void SetTags(TagsT &&value)
CreateExtensionRequest & WithName(NameT &&value)
AWS_APPCONFIG_API CreateExtensionRequest()=default
const Aws::Map< Aws::String, Parameter > & GetParameters() const
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
bool NameHasBeenSet() const
AWS_APPCONFIG_API Aws::String SerializePayload() const override
CreateExtensionRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetName() const
virtual const char * GetServiceRequestName() const override
bool TagsHasBeenSet() const
int GetLatestVersionNumber() const
void SetParameters(ParametersT &&value)
bool LatestVersionNumberHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateExtensionRequest & WithTags(TagsT &&value)
void SetName(NameT &&value)
void SetActions(ActionsT &&value)
bool ParametersHasBeenSet() const
CreateExtensionRequest & WithLatestVersionNumber(int value)
CreateExtensionRequest & AddActions(ActionPoint key, Aws::Vector< Action > value)
CreateExtensionRequest & WithParameters(ParametersT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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
std::vector< T, Aws::Allocator< T > > Vector