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/core/utils/memory/stl/AWSVector.h>
11#include <aws/lightsail/Lightsail_EXPORTS.h>
12#include <aws/lightsail/model/ContainerServiceDeployment.h>
13#include <aws/lightsail/model/ContainerServicePowerName.h>
14#include <aws/lightsail/model/ContainerServiceState.h>
15#include <aws/lightsail/model/ContainerServiceStateDetail.h>
16#include <aws/lightsail/model/PrivateRegistryAccess.h>
17#include <aws/lightsail/model/ResourceLocation.h>
18#include <aws/lightsail/model/ResourceType.h>
19#include <aws/lightsail/model/Tag.h>
52 template <
typename ContainerServiceNameT = Aws::String>
54 m_containerServiceNameHasBeenSet =
true;
55 m_containerServiceName = std::forward<ContainerServiceNameT>(value);
57 template <
typename ContainerServiceNameT = Aws::String>
70 template <
typename ArnT = Aws::String>
72 m_arnHasBeenSet =
true;
73 m_arn = std::forward<ArnT>(value);
75 template <
typename ArnT = Aws::String>
77 SetArn(std::forward<ArnT>(value));
88 template <
typename CreatedAtT = Aws::Utils::DateTime>
90 m_createdAtHasBeenSet =
true;
91 m_createdAt = std::forward<CreatedAtT>(value);
93 template <
typename CreatedAtT = Aws::Utils::DateTime>
107 template <
typename LocationT = ResourceLocation>
109 m_locationHasBeenSet =
true;
110 m_location = std::forward<LocationT>(value);
112 template <
typename LocationT = ResourceLocation>
126 m_resourceTypeHasBeenSet =
true;
127 m_resourceType = value;
144 template <
typename TagsT = Aws::Vector<Tag>>
146 m_tagsHasBeenSet =
true;
147 m_tags = std::forward<TagsT>(value);
149 template <
typename TagsT = Aws::Vector<Tag>>
151 SetTags(std::forward<TagsT>(value));
154 template <
typename TagsT = Tag>
156 m_tagsHasBeenSet =
true;
157 m_tags.emplace_back(std::forward<TagsT>(value));
171 m_powerHasBeenSet =
true;
186 template <
typename PowerIdT = Aws::String>
188 m_powerIdHasBeenSet =
true;
189 m_powerId = std::forward<PowerIdT>(value);
191 template <
typename PowerIdT = Aws::String>
216 m_stateHasBeenSet =
true;
234 template <
typename StateDetailT = ContainerServiceStateDetail>
236 m_stateDetailHasBeenSet =
true;
237 m_stateDetail = std::forward<StateDetailT>(value);
239 template <
typename StateDetailT = ContainerServiceStateDetail>
254 m_scaleHasBeenSet =
true;
270 template <
typename CurrentDeploymentT = ContainerServiceDeployment>
272 m_currentDeploymentHasBeenSet =
true;
273 m_currentDeployment = std::forward<CurrentDeploymentT>(value);
275 template <
typename CurrentDeploymentT = ContainerServiceDeployment>
290 template <
typename NextDeploymentT = ContainerServiceDeployment>
292 m_nextDeploymentHasBeenSet =
true;
293 m_nextDeployment = std::forward<NextDeploymentT>(value);
295 template <
typename NextDeploymentT = ContainerServiceDeployment>
309 m_isDisabledHasBeenSet =
true;
310 m_isDisabled = value;
328 template <
typename PrincipalArnT = Aws::String>
330 m_principalArnHasBeenSet =
true;
331 m_principalArn = std::forward<PrincipalArnT>(value);
333 template <
typename PrincipalArnT = Aws::String>
348 template <
typename PrivateDomainNameT = Aws::String>
350 m_privateDomainNameHasBeenSet =
true;
351 m_privateDomainName = std::forward<PrivateDomainNameT>(value);
353 template <
typename PrivateDomainNameT = Aws::String>
378 template <
typename PublicDomainNamesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
380 m_publicDomainNamesHasBeenSet =
true;
381 m_publicDomainNames = std::forward<PublicDomainNamesT>(value);
383 template <
typename PublicDomainNamesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
388 template <
typename PublicDomainNamesKeyT = Aws::String,
typename PublicDomainNamesValueT = Aws::Vector<Aws::String>>
390 m_publicDomainNamesHasBeenSet =
true;
391 m_publicDomainNames.emplace(std::forward<PublicDomainNamesKeyT>(key), std::forward<PublicDomainNamesValueT>(value));
404 template <
typename UrlT = Aws::String>
406 m_urlHasBeenSet =
true;
407 m_url = std::forward<UrlT>(value);
409 template <
typename UrlT = Aws::String>
411 SetUrl(std::forward<UrlT>(value));
427 template <
typename PrivateRegistryAccessT = PrivateRegistryAccess>
429 m_privateRegistryAccessHasBeenSet =
true;
430 m_privateRegistryAccess = std::forward<PrivateRegistryAccessT>(value);
432 template <
typename PrivateRegistryAccessT = PrivateRegistryAccess>
445 ResourceLocation m_location;
457 ContainerServiceStateDetail m_stateDetail;
461 ContainerServiceDeployment m_currentDeployment;
463 ContainerServiceDeployment m_nextDeployment;
465 bool m_isDisabled{
false};
475 PrivateRegistryAccess m_privateRegistryAccess;
476 bool m_containerServiceNameHasBeenSet =
false;
477 bool m_arnHasBeenSet =
false;
478 bool m_createdAtHasBeenSet =
false;
479 bool m_locationHasBeenSet =
false;
480 bool m_resourceTypeHasBeenSet =
false;
481 bool m_tagsHasBeenSet =
false;
482 bool m_powerHasBeenSet =
false;
483 bool m_powerIdHasBeenSet =
false;
484 bool m_stateHasBeenSet =
false;
485 bool m_stateDetailHasBeenSet =
false;
486 bool m_scaleHasBeenSet =
false;
487 bool m_currentDeploymentHasBeenSet =
false;
488 bool m_nextDeploymentHasBeenSet =
false;
489 bool m_isDisabledHasBeenSet =
false;
490 bool m_principalArnHasBeenSet =
false;
491 bool m_privateDomainNameHasBeenSet =
false;
492 bool m_publicDomainNamesHasBeenSet =
false;
493 bool m_urlHasBeenSet =
false;
494 bool m_privateRegistryAccessHasBeenSet =
false;
ContainerService & WithPrivateRegistryAccess(PrivateRegistryAccessT &&value)
const Aws::String & GetPrivateDomainName() const
const Aws::String & GetArn() const
ContainerServiceState GetState() const
void SetLocation(LocationT &&value)
void SetPrincipalArn(PrincipalArnT &&value)
void SetPublicDomainNames(PublicDomainNamesT &&value)
ContainerService & WithPower(ContainerServicePowerName value)
bool TagsHasBeenSet() const
bool ResourceTypeHasBeenSet() const
bool UrlHasBeenSet() const
void SetPower(ContainerServicePowerName value)
bool GetIsDisabled() const
void SetIsDisabled(bool value)
const Aws::String & GetUrl() const
bool ContainerServiceNameHasBeenSet() const
bool PrivateRegistryAccessHasBeenSet() const
bool PublicDomainNamesHasBeenSet() const
bool StateHasBeenSet() const
bool ArnHasBeenSet() const
void SetUrl(UrlT &&value)
void SetResourceType(ResourceType value)
ContainerService & WithPrincipalArn(PrincipalArnT &&value)
const Aws::String & GetPrincipalArn() const
ContainerService & WithScale(int value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetPublicDomainNames() const
const Aws::String & GetPowerId() const
void SetState(ContainerServiceState value)
bool IsDisabledHasBeenSet() const
ContainerService & WithArn(ArnT &&value)
bool PowerIdHasBeenSet() const
void SetNextDeployment(NextDeploymentT &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPrivateRegistryAccess(PrivateRegistryAccessT &&value)
void SetPrivateDomainName(PrivateDomainNameT &&value)
const ContainerServiceStateDetail & GetStateDetail() const
void SetTags(TagsT &&value)
ContainerService & AddPublicDomainNames(PublicDomainNamesKeyT &&key, PublicDomainNamesValueT &&value)
void SetArn(ArnT &&value)
ContainerService & WithTags(TagsT &&value)
const PrivateRegistryAccess & GetPrivateRegistryAccess() const
bool NextDeploymentHasBeenSet() const
ContainerService & WithIsDisabled(bool value)
ContainerServicePowerName GetPower() const
void SetPowerId(PowerIdT &&value)
bool StateDetailHasBeenSet() const
ContainerService & WithPowerId(PowerIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_LIGHTSAIL_API ContainerService & operator=(Aws::Utils::Json::JsonView jsonValue)
const ContainerServiceDeployment & GetNextDeployment() const
ContainerService & WithNextDeployment(NextDeploymentT &&value)
ContainerService & WithContainerServiceName(ContainerServiceNameT &&value)
const ContainerServiceDeployment & GetCurrentDeployment() const
const Aws::String & GetContainerServiceName() const
ContainerService & WithCreatedAt(CreatedAtT &&value)
ContainerService & WithCurrentDeployment(CurrentDeploymentT &&value)
ContainerService & WithResourceType(ResourceType value)
const ResourceLocation & GetLocation() const
void SetContainerServiceName(ContainerServiceNameT &&value)
ContainerService & WithPrivateDomainName(PrivateDomainNameT &&value)
void SetCreatedAt(CreatedAtT &&value)
ContainerService & WithStateDetail(StateDetailT &&value)
AWS_LIGHTSAIL_API ContainerService(Aws::Utils::Json::JsonView jsonValue)
bool CreatedAtHasBeenSet() const
ContainerService & WithPublicDomainNames(PublicDomainNamesT &&value)
void SetCurrentDeployment(CurrentDeploymentT &&value)
bool PrivateDomainNameHasBeenSet() const
ResourceType GetResourceType() const
ContainerService & WithLocation(LocationT &&value)
bool PowerHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetStateDetail(StateDetailT &&value)
ContainerService & AddTags(TagsT &&value)
bool LocationHasBeenSet() const
bool ScaleHasBeenSet() const
bool CurrentDeploymentHasBeenSet() const
ContainerService & WithUrl(UrlT &&value)
bool PrincipalArnHasBeenSet() const
ContainerService & WithState(ContainerServiceState value)
AWS_LIGHTSAIL_API ContainerService()=default
ContainerServicePowerName
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue