7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/migration-hub-refactor-spaces/MigrationHubRefactorSpaces_EXPORTS.h>
11#include <aws/migration-hub-refactor-spaces/model/EnvironmentState.h>
12#include <aws/migration-hub-refactor-spaces/model/ErrorResponse.h>
13#include <aws/migration-hub-refactor-spaces/model/NetworkFabricType.h>
24namespace MigrationHubRefactorSpaces {
46 template <
typename ArnT = Aws::String>
48 m_arnHasBeenSet =
true;
49 m_arn = std::forward<ArnT>(value);
51 template <
typename ArnT = Aws::String>
53 SetArn(std::forward<ArnT>(value));
64 template <
typename CreatedTimeT = Aws::Utils::DateTime>
66 m_createdTimeHasBeenSet =
true;
67 m_createdTime = std::forward<CreatedTimeT>(value);
69 template <
typename CreatedTimeT = Aws::Utils::DateTime>
82 template <
typename DescriptionT = Aws::String>
84 m_descriptionHasBeenSet =
true;
85 m_description = std::forward<DescriptionT>(value);
87 template <
typename DescriptionT = Aws::String>
100 template <
typename EnvironmentIdT = Aws::String>
102 m_environmentIdHasBeenSet =
true;
103 m_environmentId = std::forward<EnvironmentIdT>(value);
105 template <
typename EnvironmentIdT = Aws::String>
118 template <
typename ErrorT = ErrorResponse>
120 m_errorHasBeenSet =
true;
121 m_error = std::forward<ErrorT>(value);
123 template <
typename ErrorT = ErrorResponse>
125 SetError(std::forward<ErrorT>(value));
136 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
138 m_lastUpdatedTimeHasBeenSet =
true;
139 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
141 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
154 template <
typename NameT = Aws::String>
156 m_nameHasBeenSet =
true;
157 m_name = std::forward<NameT>(value);
159 template <
typename NameT = Aws::String>
161 SetName(std::forward<NameT>(value));
173 m_networkFabricTypeHasBeenSet =
true;
174 m_networkFabricType = value;
188 template <
typename OwnerAccountIdT = Aws::String>
190 m_ownerAccountIdHasBeenSet =
true;
191 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
193 template <
typename OwnerAccountIdT = Aws::String>
207 m_stateHasBeenSet =
true;
222 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
224 m_tagsHasBeenSet =
true;
225 m_tags = std::forward<TagsT>(value);
227 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
229 SetTags(std::forward<TagsT>(value));
232 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
234 m_tagsHasBeenSet =
true;
235 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
246 template <
typename TransitGatewayIdT = Aws::String>
248 m_transitGatewayIdHasBeenSet =
true;
249 m_transitGatewayId = std::forward<TransitGatewayIdT>(value);
251 template <
typename TransitGatewayIdT = Aws::String>
266 ErrorResponse m_error;
281 bool m_arnHasBeenSet =
false;
282 bool m_createdTimeHasBeenSet =
false;
283 bool m_descriptionHasBeenSet =
false;
284 bool m_environmentIdHasBeenSet =
false;
285 bool m_errorHasBeenSet =
false;
286 bool m_lastUpdatedTimeHasBeenSet =
false;
287 bool m_nameHasBeenSet =
false;
288 bool m_networkFabricTypeHasBeenSet =
false;
289 bool m_ownerAccountIdHasBeenSet =
false;
290 bool m_stateHasBeenSet =
false;
291 bool m_tagsHasBeenSet =
false;
292 bool m_transitGatewayIdHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetTags() const
EnvironmentSummary & WithDescription(DescriptionT &&value)
EnvironmentSummary & WithName(NameT &&value)
const ErrorResponse & GetError() const
const Aws::String & GetArn() const
void SetDescription(DescriptionT &&value)
EnvironmentSummary & WithArn(ArnT &&value)
const Aws::String & GetTransitGatewayId() const
void SetError(ErrorT &&value)
void SetTransitGatewayId(TransitGatewayIdT &&value)
const Aws::String & GetDescription() const
EnvironmentSummary & WithState(EnvironmentState value)
EnvironmentSummary & WithOwnerAccountId(OwnerAccountIdT &&value)
bool NameHasBeenSet() const
const Aws::String & GetName() const
void SetTags(TagsT &&value)
bool TransitGatewayIdHasBeenSet() const
bool StateHasBeenSet() const
NetworkFabricType GetNetworkFabricType() const
void SetState(EnvironmentState value)
bool TagsHasBeenSet() const
bool CreatedTimeHasBeenSet() const
void SetNetworkFabricType(NetworkFabricType value)
EnvironmentSummary & WithEnvironmentId(EnvironmentIdT &&value)
EnvironmentSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API EnvironmentSummary()=default
EnvironmentSummary & WithTransitGatewayId(TransitGatewayIdT &&value)
EnvironmentSummary & WithError(ErrorT &&value)
bool NetworkFabricTypeHasBeenSet() const
EnvironmentSummary & WithNetworkFabricType(NetworkFabricType value)
bool DescriptionHasBeenSet() const
bool LastUpdatedTimeHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedTime() const
EnvironmentState GetState() const
AWS_MIGRATIONHUBREFACTORSPACES_API EnvironmentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetCreatedTime(CreatedTimeT &&value)
bool ErrorHasBeenSet() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
void SetOwnerAccountId(OwnerAccountIdT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API EnvironmentSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOwnerAccountId() const
void SetArn(ArnT &&value)
bool EnvironmentIdHasBeenSet() const
bool OwnerAccountIdHasBeenSet() const
EnvironmentSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
EnvironmentSummary & WithTags(TagsT &&value)
const Aws::String & GetEnvironmentId() const
bool ArnHasBeenSet() const
void SetEnvironmentId(EnvironmentIdT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentSummary & WithCreatedTime(CreatedTimeT &&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
Aws::Utils::Json::JsonValue JsonValue