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/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/appconfig/model/Monitor.h>
44 template<
typename ApplicationIdT = Aws::String>
45 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet =
true; m_applicationId = std::forward<ApplicationIdT>(value); }
46 template<
typename ApplicationIdT = Aws::String>
56 template<
typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
58 template<
typename NameT = Aws::String>
68 template<
typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
70 template<
typename DescriptionT = Aws::String>
80 template<
typename MonitorsT = Aws::Vector<Monitor>>
81 void SetMonitors(MonitorsT&& value) { m_monitorsHasBeenSet =
true; m_monitors = std::forward<MonitorsT>(value); }
82 template<
typename MonitorsT = Aws::Vector<Monitor>>
84 template<
typename MonitorsT = Monitor>
96 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
97 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
98 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
100 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
102 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
108 bool m_applicationIdHasBeenSet =
false;
111 bool m_nameHasBeenSet =
false;
114 bool m_descriptionHasBeenSet =
false;
117 bool m_monitorsHasBeenSet =
false;
120 bool m_tagsHasBeenSet =
false;
const Aws::String & GetName() const
bool DescriptionHasBeenSet() const
const Aws::String & GetDescription() const
const Aws::Vector< Monitor > & GetMonitors() const
void SetMonitors(MonitorsT &&value)
bool TagsHasBeenSet() const
CreateEnvironmentRequest & WithApplicationId(ApplicationIdT &&value)
virtual const char * GetServiceRequestName() const override
bool MonitorsHasBeenSet() const
AWS_APPCONFIG_API CreateEnvironmentRequest()=default
void SetTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateEnvironmentRequest & WithMonitors(MonitorsT &&value)
CreateEnvironmentRequest & WithDescription(DescriptionT &&value)
void SetApplicationId(ApplicationIdT &&value)
bool ApplicationIdHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool NameHasBeenSet() const
CreateEnvironmentRequest & AddMonitors(MonitorsT &&value)
AWS_APPCONFIG_API Aws::String SerializePayload() const override
void SetName(NameT &&value)
CreateEnvironmentRequest & WithName(NameT &&value)
const Aws::String & GetApplicationId() const
CreateEnvironmentRequest & WithTags(TagsT &&value)
CreateEnvironmentRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
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