7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/migration-hub-refactor-spaces/MigrationHubRefactorSpaces_EXPORTS.h>
12#include <aws/migration-hub-refactor-spaces/model/EnvironmentState.h>
13#include <aws/migration-hub-refactor-spaces/model/ErrorResponse.h>
14#include <aws/migration-hub-refactor-spaces/model/NetworkFabricType.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace MigrationHubRefactorSpaces {
41 template <
typename ArnT = Aws::String>
43 m_arnHasBeenSet =
true;
44 m_arn = std::forward<ArnT>(value);
46 template <
typename ArnT = Aws::String>
48 SetArn(std::forward<ArnT>(value));
58 template <
typename CreatedTimeT = Aws::Utils::DateTime>
60 m_createdTimeHasBeenSet =
true;
61 m_createdTime = std::forward<CreatedTimeT>(value);
63 template <
typename CreatedTimeT = Aws::Utils::DateTime>
75 template <
typename DescriptionT = Aws::String>
77 m_descriptionHasBeenSet =
true;
78 m_description = std::forward<DescriptionT>(value);
80 template <
typename DescriptionT = Aws::String>
92 template <
typename EnvironmentIdT = Aws::String>
94 m_environmentIdHasBeenSet =
true;
95 m_environmentId = std::forward<EnvironmentIdT>(value);
97 template <
typename EnvironmentIdT = Aws::String>
109 template <
typename ErrorT = ErrorResponse>
111 m_errorHasBeenSet =
true;
112 m_error = std::forward<ErrorT>(value);
114 template <
typename ErrorT = ErrorResponse>
116 SetError(std::forward<ErrorT>(value));
126 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
128 m_lastUpdatedTimeHasBeenSet =
true;
129 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
131 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
143 template <
typename NameT = Aws::String>
145 m_nameHasBeenSet =
true;
146 m_name = std::forward<NameT>(value);
148 template <
typename NameT = Aws::String>
150 SetName(std::forward<NameT>(value));
161 m_networkFabricTypeHasBeenSet =
true;
162 m_networkFabricType = value;
175 template <
typename OwnerAccountIdT = Aws::String>
177 m_ownerAccountIdHasBeenSet =
true;
178 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
180 template <
typename OwnerAccountIdT = Aws::String>
193 m_stateHasBeenSet =
true;
208 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
210 m_tagsHasBeenSet =
true;
211 m_tags = std::forward<TagsT>(value);
213 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
215 SetTags(std::forward<TagsT>(value));
218 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
220 m_tagsHasBeenSet =
true;
221 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
231 template <
typename TransitGatewayIdT = Aws::String>
233 m_transitGatewayIdHasBeenSet =
true;
234 m_transitGatewayId = std::forward<TransitGatewayIdT>(value);
236 template <
typename TransitGatewayIdT = Aws::String>
246 template <
typename RequestIdT = Aws::String>
248 m_requestIdHasBeenSet =
true;
249 m_requestId = std::forward<RequestIdT>(value);
251 template <
typename RequestIdT = Aws::String>
268 ErrorResponse m_error;
286 bool m_arnHasBeenSet =
false;
287 bool m_createdTimeHasBeenSet =
false;
288 bool m_descriptionHasBeenSet =
false;
289 bool m_environmentIdHasBeenSet =
false;
290 bool m_errorHasBeenSet =
false;
291 bool m_lastUpdatedTimeHasBeenSet =
false;
292 bool m_nameHasBeenSet =
false;
293 bool m_networkFabricTypeHasBeenSet =
false;
294 bool m_ownerAccountIdHasBeenSet =
false;
295 bool m_stateHasBeenSet =
false;
296 bool m_tagsHasBeenSet =
false;
297 bool m_transitGatewayIdHasBeenSet =
false;
298 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetName() const
void SetEnvironmentId(EnvironmentIdT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API GetEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEnvironmentResult & WithState(EnvironmentState value)
AWS_MIGRATIONHUBREFACTORSPACES_API GetEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetTags(TagsT &&value)
void SetDescription(DescriptionT &&value)
GetEnvironmentResult & WithEnvironmentId(EnvironmentIdT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
GetEnvironmentResult & WithCreatedTime(CreatedTimeT &&value)
const ErrorResponse & GetError() const
void SetCreatedTime(CreatedTimeT &&value)
GetEnvironmentResult & WithError(ErrorT &&value)
void SetState(EnvironmentState value)
const Aws::String & GetEnvironmentId() const
const Aws::String & GetOwnerAccountId() const
void SetOwnerAccountId(OwnerAccountIdT &&value)
GetEnvironmentResult & WithName(NameT &&value)
void SetRequestId(RequestIdT &&value)
GetEnvironmentResult & WithRequestId(RequestIdT &&value)
EnvironmentState GetState() const
GetEnvironmentResult & WithNetworkFabricType(NetworkFabricType value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetEnvironmentResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
GetEnvironmentResult & WithDescription(DescriptionT &&value)
GetEnvironmentResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetTransitGatewayId(TransitGatewayIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
NetworkFabricType GetNetworkFabricType() const
GetEnvironmentResult & WithTags(TagsT &&value)
const Aws::String & GetRequestId() const
void SetNetworkFabricType(NetworkFabricType value)
GetEnvironmentResult & WithArn(ArnT &&value)
GetEnvironmentResult & WithOwnerAccountId(OwnerAccountIdT &&value)
const Aws::String & GetDescription() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
GetEnvironmentResult & WithTransitGatewayId(TransitGatewayIdT &&value)
void SetName(NameT &&value)
const Aws::String & GetTransitGatewayId() const
AWS_MIGRATIONHUBREFACTORSPACES_API GetEnvironmentResult()=default
void SetArn(ArnT &&value)
void SetError(ErrorT &&value)
const Aws::String & GetArn() const
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
Aws::Utils::Json::JsonValue JsonValue