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/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename ApplicationIdT = Aws::String>
40 m_applicationIdHasBeenSet =
true;
41 m_applicationId = std::forward<ApplicationIdT>(value);
43 template <
typename ApplicationIdT = Aws::String>
55 template <
typename IdT = Aws::String>
57 m_idHasBeenSet =
true;
58 m_id = std::forward<IdT>(value);
60 template <
typename IdT = Aws::String>
62 SetId(std::forward<IdT>(value));
72 template <
typename NameT = Aws::String>
74 m_nameHasBeenSet =
true;
75 m_name = std::forward<NameT>(value);
77 template <
typename NameT = Aws::String>
79 SetName(std::forward<NameT>(value));
89 template <
typename DescriptionT = Aws::String>
91 m_descriptionHasBeenSet =
true;
92 m_description = std::forward<DescriptionT>(value);
94 template <
typename DescriptionT = Aws::String>
109 m_stateHasBeenSet =
true;
123 template <
typename MonitorsT = Aws::Vector<Monitor>>
125 m_monitorsHasBeenSet =
true;
126 m_monitors = std::forward<MonitorsT>(value);
128 template <
typename MonitorsT = Aws::Vector<Monitor>>
133 template <
typename MonitorsT = Monitor>
135 m_monitorsHasBeenSet =
true;
136 m_monitors.emplace_back(std::forward<MonitorsT>(value));
144 template <
typename RequestIdT = Aws::String>
146 m_requestIdHasBeenSet =
true;
147 m_requestId = std::forward<RequestIdT>(value);
149 template <
typename RequestIdT = Aws::String>
172 bool m_applicationIdHasBeenSet =
false;
173 bool m_idHasBeenSet =
false;
174 bool m_nameHasBeenSet =
false;
175 bool m_descriptionHasBeenSet =
false;
176 bool m_stateHasBeenSet =
false;
177 bool m_monitorsHasBeenSet =
false;
178 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
Aws::Http::HttpResponseCode GetHttpResponseCode() 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