7#include <aws/appconfig/AppConfigRequest.h>
8#include <aws/appconfig/AppConfig_EXPORTS.h>
9#include <aws/appconfig/model/Monitor.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
40 template <
typename ApplicationIdT = Aws::String>
42 m_applicationIdHasBeenSet =
true;
43 m_applicationId = std::forward<ApplicationIdT>(value);
45 template <
typename ApplicationIdT = Aws::String>
58 template <
typename NameT = Aws::String>
60 m_nameHasBeenSet =
true;
61 m_name = std::forward<NameT>(value);
63 template <
typename NameT = Aws::String>
65 SetName(std::forward<NameT>(value));
76 template <
typename DescriptionT = Aws::String>
78 m_descriptionHasBeenSet =
true;
79 m_description = std::forward<DescriptionT>(value);
81 template <
typename DescriptionT = Aws::String>
94 template <
typename MonitorsT = Aws::Vector<Monitor>>
96 m_monitorsHasBeenSet =
true;
97 m_monitors = std::forward<MonitorsT>(value);
99 template <
typename MonitorsT = Aws::Vector<Monitor>>
104 template <
typename MonitorsT = Monitor>
106 m_monitorsHasBeenSet =
true;
107 m_monitors.emplace_back(std::forward<MonitorsT>(value));
120 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
122 m_tagsHasBeenSet =
true;
123 m_tags = std::forward<TagsT>(value);
125 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
127 SetTags(std::forward<TagsT>(value));
130 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
132 m_tagsHasBeenSet =
true;
133 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
147 bool m_applicationIdHasBeenSet =
false;
148 bool m_nameHasBeenSet =
false;
149 bool m_descriptionHasBeenSet =
false;
150 bool m_monitorsHasBeenSet =
false;
151 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