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/NetworkFabricType.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace MigrationHubRefactorSpaces {
40 template <
typename ArnT = Aws::String>
42 m_arnHasBeenSet =
true;
43 m_arn = std::forward<ArnT>(value);
45 template <
typename ArnT = Aws::String>
47 SetArn(std::forward<ArnT>(value));
57 template <
typename CreatedTimeT = Aws::Utils::DateTime>
59 m_createdTimeHasBeenSet =
true;
60 m_createdTime = std::forward<CreatedTimeT>(value);
62 template <
typename CreatedTimeT = Aws::Utils::DateTime>
74 template <
typename DescriptionT = Aws::String>
76 m_descriptionHasBeenSet =
true;
77 m_description = std::forward<DescriptionT>(value);
79 template <
typename DescriptionT = Aws::String>
91 template <
typename EnvironmentIdT = Aws::String>
93 m_environmentIdHasBeenSet =
true;
94 m_environmentId = std::forward<EnvironmentIdT>(value);
96 template <
typename EnvironmentIdT = Aws::String>
108 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
110 m_lastUpdatedTimeHasBeenSet =
true;
111 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
113 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
125 template <
typename NameT = Aws::String>
127 m_nameHasBeenSet =
true;
128 m_name = std::forward<NameT>(value);
130 template <
typename NameT = Aws::String>
132 SetName(std::forward<NameT>(value));
143 m_networkFabricTypeHasBeenSet =
true;
144 m_networkFabricType = value;
157 template <
typename OwnerAccountIdT = Aws::String>
159 m_ownerAccountIdHasBeenSet =
true;
160 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
162 template <
typename OwnerAccountIdT = Aws::String>
175 m_stateHasBeenSet =
true;
191 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
193 m_tagsHasBeenSet =
true;
194 m_tags = std::forward<TagsT>(value);
196 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
198 SetTags(std::forward<TagsT>(value));
201 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
203 m_tagsHasBeenSet =
true;
204 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
212 template <
typename RequestIdT = Aws::String>
214 m_requestIdHasBeenSet =
true;
215 m_requestId = std::forward<RequestIdT>(value);
217 template <
typename RequestIdT = Aws::String>
248 bool m_arnHasBeenSet =
false;
249 bool m_createdTimeHasBeenSet =
false;
250 bool m_descriptionHasBeenSet =
false;
251 bool m_environmentIdHasBeenSet =
false;
252 bool m_lastUpdatedTimeHasBeenSet =
false;
253 bool m_nameHasBeenSet =
false;
254 bool m_networkFabricTypeHasBeenSet =
false;
255 bool m_ownerAccountIdHasBeenSet =
false;
256 bool m_stateHasBeenSet =
false;
257 bool m_tagsHasBeenSet =
false;
258 bool m_requestIdHasBeenSet =
false;
void SetEnvironmentId(EnvironmentIdT &&value)
const Aws::String & GetName() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
CreateEnvironmentResult & WithDescription(DescriptionT &&value)
void SetArn(ArnT &&value)
CreateEnvironmentResult & WithState(EnvironmentState value)
const Aws::String & GetEnvironmentId() const
void SetTags(TagsT &&value)
CreateEnvironmentResult & WithCreatedTime(CreatedTimeT &&value)
CreateEnvironmentResult & WithArn(ArnT &&value)
const Aws::String & GetOwnerAccountId() const
AWS_MIGRATIONHUBREFACTORSPACES_API CreateEnvironmentResult()=default
AWS_MIGRATIONHUBREFACTORSPACES_API CreateEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
CreateEnvironmentResult & WithTags(TagsT &&value)
void SetName(NameT &&value)
CreateEnvironmentResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetCreatedTime(CreatedTimeT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetCreatedTime() const
const Aws::String & GetArn() const
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
CreateEnvironmentResult & WithRequestId(RequestIdT &&value)
CreateEnvironmentResult & WithNetworkFabricType(NetworkFabricType value)
void SetOwnerAccountId(OwnerAccountIdT &&value)
CreateEnvironmentResult & WithName(NameT &&value)
EnvironmentState GetState() const
CreateEnvironmentResult & WithEnvironmentId(EnvironmentIdT &&value)
CreateEnvironmentResult & WithOwnerAccountId(OwnerAccountIdT &&value)
void SetNetworkFabricType(NetworkFabricType value)
AWS_MIGRATIONHUBREFACTORSPACES_API CreateEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDescription(DescriptionT &&value)
NetworkFabricType GetNetworkFabricType() const
void SetRequestId(RequestIdT &&value)
CreateEnvironmentResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
void SetState(EnvironmentState 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