7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/model/EnvironmentState.h>
9#include <aws/appconfig/model/Monitor.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename ApplicationIdT = Aws::String>
39 m_applicationIdHasBeenSet =
true;
40 m_applicationId = std::forward<ApplicationIdT>(value);
42 template <
typename ApplicationIdT = Aws::String>
54 template <
typename IdT = Aws::String>
56 m_idHasBeenSet =
true;
57 m_id = std::forward<IdT>(value);
59 template <
typename IdT = Aws::String>
61 SetId(std::forward<IdT>(value));
71 template <
typename NameT = Aws::String>
73 m_nameHasBeenSet =
true;
74 m_name = std::forward<NameT>(value);
76 template <
typename NameT = Aws::String>
78 SetName(std::forward<NameT>(value));
88 template <
typename DescriptionT = Aws::String>
90 m_descriptionHasBeenSet =
true;
91 m_description = std::forward<DescriptionT>(value);
93 template <
typename DescriptionT = Aws::String>
108 m_stateHasBeenSet =
true;
122 template <
typename MonitorsT = Aws::Vector<Monitor>>
124 m_monitorsHasBeenSet =
true;
125 m_monitors = std::forward<MonitorsT>(value);
127 template <
typename MonitorsT = Aws::Vector<Monitor>>
132 template <
typename MonitorsT = Monitor>
134 m_monitorsHasBeenSet =
true;
135 m_monitors.emplace_back(std::forward<MonitorsT>(value));
143 template <
typename RequestIdT = Aws::String>
145 m_requestIdHasBeenSet =
true;
146 m_requestId = std::forward<RequestIdT>(value);
148 template <
typename RequestIdT = Aws::String>
168 bool m_applicationIdHasBeenSet =
false;
169 bool m_idHasBeenSet =
false;
170 bool m_nameHasBeenSet =
false;
171 bool m_descriptionHasBeenSet =
false;
172 bool m_stateHasBeenSet =
false;
173 bool m_monitorsHasBeenSet =
false;
174 bool m_requestIdHasBeenSet =
false;
AWS_APPCONFIG_API CreateEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateEnvironmentResult & WithId(IdT &&value)
CreateEnvironmentResult & WithDescription(DescriptionT &&value)
void SetRequestId(RequestIdT &&value)
void SetState(EnvironmentState value)
void SetApplicationId(ApplicationIdT &&value)
AWS_APPCONFIG_API CreateEnvironmentResult()=default
CreateEnvironmentResult & WithState(EnvironmentState value)
EnvironmentState GetState() const
void SetDescription(DescriptionT &&value)
CreateEnvironmentResult & AddMonitors(MonitorsT &&value)
void SetName(NameT &&value)
const Aws::Vector< Monitor > & GetMonitors() const
AWS_APPCONFIG_API CreateEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateEnvironmentResult & WithName(NameT &&value)
const Aws::String & GetName() const
void SetMonitors(MonitorsT &&value)
CreateEnvironmentResult & WithMonitors(MonitorsT &&value)
const Aws::String & GetDescription() const
CreateEnvironmentResult & WithApplicationId(ApplicationIdT &&value)
const Aws::String & GetApplicationId() const
const Aws::String & GetRequestId() const
CreateEnvironmentResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue