7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lightsail/model/ResourceLocation.h>
11#include <aws/lightsail/model/ResourceType.h>
12#include <aws/core/utils/memory/stl/AWSVector.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/ContainerServiceDeployment.h>
17#include <aws/core/utils/memory/stl/AWSMap.h>
18#include <aws/lightsail/model/PrivateRegistryAccess.h>
19#include <aws/lightsail/model/Tag.h>
60 inline void SetContainerServiceName(
const char* value) { m_containerServiceNameHasBeenSet =
true; m_containerServiceName.assign(value); }
73 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
74 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
156 inline void SetPowerId(
const char* value) { m_powerIdHasBeenSet =
true; m_powerId.assign(value); }
207 inline void SetScale(
int value) { m_scaleHasBeenSet =
true; m_scale = value; }
244 inline void SetIsDisabled(
bool value) { m_isDisabledHasBeenSet =
true; m_isDisabled = value; }
260 inline void SetPrincipalArn(
const char* value) { m_principalArnHasBeenSet =
true; m_principalArn.assign(value); }
276 inline void SetPrivateDomainName(
const char* value) { m_privateDomainNameHasBeenSet =
true; m_privateDomainName.assign(value); }
322 inline void SetUrl(
const char* value) { m_urlHasBeenSet =
true; m_url.assign(value); }
347 bool m_containerServiceNameHasBeenSet =
false;
350 bool m_arnHasBeenSet =
false;
353 bool m_createdAtHasBeenSet =
false;
356 bool m_locationHasBeenSet =
false;
359 bool m_resourceTypeHasBeenSet =
false;
362 bool m_tagsHasBeenSet =
false;
365 bool m_powerHasBeenSet =
false;
368 bool m_powerIdHasBeenSet =
false;
371 bool m_stateHasBeenSet =
false;
374 bool m_stateDetailHasBeenSet =
false;
377 bool m_scaleHasBeenSet =
false;
380 bool m_currentDeploymentHasBeenSet =
false;
383 bool m_nextDeploymentHasBeenSet =
false;
386 bool m_isDisabledHasBeenSet =
false;
389 bool m_principalArnHasBeenSet =
false;
392 bool m_privateDomainNameHasBeenSet =
false;
395 bool m_publicDomainNamesHasBeenSet =
false;
398 bool m_urlHasBeenSet =
false;
401 bool m_privateRegistryAccessHasBeenSet =
false;
void SetPrincipalArn(const Aws::String &value)
const Aws::String & GetPrivateDomainName() const
const Aws::String & GetArn() const
ContainerService & WithArn(const Aws::String &value)
ContainerService & WithContainerServiceName(const char *value)
void SetPrincipalArn(const char *value)
ContainerService & AddPublicDomainNames(Aws::String &&key, Aws::Vector< Aws::String > &&value)
ContainerService & WithCurrentDeployment(const ContainerServiceDeployment &value)
void SetPrivateRegistryAccess(PrivateRegistryAccess &&value)
bool TagsHasBeenSet() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
ContainerService & WithPublicDomainNames(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
bool ResourceTypeHasBeenSet() const
ContainerService & WithArn(Aws::String &&value)
ContainerService & AddTags(Tag &&value)
ContainerService & WithState(ContainerServiceState &&value)
bool UrlHasBeenSet() const
void SetUrl(const Aws::String &value)
void SetNextDeployment(ContainerServiceDeployment &&value)
bool GetIsDisabled() const
void SetIsDisabled(bool value)
const Aws::String & GetUrl() const
bool ContainerServiceNameHasBeenSet() const
bool PrivateRegistryAccessHasBeenSet() const
void SetPublicDomainNames(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
bool PublicDomainNamesHasBeenSet() const
bool StateHasBeenSet() const
bool ArnHasBeenSet() const
void SetStateDetail(ContainerServiceStateDetail &&value)
ContainerService & WithStateDetail(ContainerServiceStateDetail &&value)
ContainerService & WithUrl(const char *value)
void SetContainerServiceName(const Aws::String &value)
void SetPrivateDomainName(Aws::String &&value)
void SetState(ContainerServiceState &&value)
void SetLocation(ResourceLocation &&value)
const Aws::String & GetPrincipalArn() const
void SetNextDeployment(const ContainerServiceDeployment &value)
ContainerService & WithScale(int value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetPublicDomainNames() const
const Aws::String & GetPowerId() const
bool IsDisabledHasBeenSet() const
ContainerService & WithLocation(const ResourceLocation &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetArn(const Aws::String &value)
ContainerService & WithState(const ContainerServiceState &value)
bool PowerIdHasBeenSet() const
ContainerService & AddPublicDomainNames(const char *key, Aws::Vector< Aws::String > &&value)
ContainerService & WithPrivateDomainName(const char *value)
void SetResourceType(ResourceType &&value)
void SetArn(const char *value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LIGHTSAIL_API ContainerService()
ContainerService & WithPrivateRegistryAccess(const PrivateRegistryAccess &value)
void SetStateDetail(const ContainerServiceStateDetail &value)
void SetCurrentDeployment(ContainerServiceDeployment &&value)
ContainerService & WithCurrentDeployment(ContainerServiceDeployment &&value)
ContainerService & WithContainerServiceName(const Aws::String &value)
const ContainerServiceStateDetail & GetStateDetail() const
ContainerService & AddTags(const Tag &value)
ContainerService & WithCreatedAt(Aws::Utils::DateTime &&value)
const PrivateRegistryAccess & GetPrivateRegistryAccess() const
ContainerService & AddPublicDomainNames(const char *key, const Aws::Vector< Aws::String > &value)
void SetPowerId(const Aws::String &value)
bool NextDeploymentHasBeenSet() const
ContainerService & WithPower(ContainerServicePowerName &&value)
ContainerService & WithIsDisabled(bool value)
ContainerService & WithNextDeployment(ContainerServiceDeployment &&value)
ContainerService & WithArn(const char *value)
ContainerService & WithUrl(const Aws::String &value)
void SetPublicDomainNames(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
ContainerService & WithPrincipalArn(const Aws::String &value)
bool StateDetailHasBeenSet() const
void SetPower(ContainerServicePowerName &&value)
void SetUrl(const char *value)
void SetPrincipalArn(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
ContainerService & WithNextDeployment(const ContainerServiceDeployment &value)
void SetPrivateDomainName(const char *value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetLocation(const ResourceLocation &value)
ContainerService & AddPublicDomainNames(const Aws::String &key, const Aws::Vector< Aws::String > &value)
void SetPrivateDomainName(const Aws::String &value)
ContainerService & WithPrivateDomainName(const Aws::String &value)
AWS_LIGHTSAIL_API ContainerService & operator=(Aws::Utils::Json::JsonView jsonValue)
const ContainerServiceDeployment & GetNextDeployment() const
ContainerService & WithTags(Aws::Vector< Tag > &&value)
ContainerService & WithLocation(ResourceLocation &&value)
void SetContainerServiceName(const char *value)
void SetArn(Aws::String &&value)
ContainerService & WithPowerId(const Aws::String &value)
void SetResourceType(const ResourceType &value)
const ContainerServiceDeployment & GetCurrentDeployment() const
ContainerService & WithContainerServiceName(Aws::String &&value)
ContainerService & WithPrincipalArn(const char *value)
const Aws::String & GetContainerServiceName() const
ContainerService & WithPowerId(const char *value)
const ResourceLocation & GetLocation() const
ContainerService & WithResourceType(const ResourceType &value)
ContainerService & WithPrivateRegistryAccess(PrivateRegistryAccess &&value)
void SetPowerId(Aws::String &&value)
ContainerService & WithStateDetail(const ContainerServiceStateDetail &value)
void SetPrivateRegistryAccess(const PrivateRegistryAccess &value)
ContainerService & WithUrl(Aws::String &&value)
ContainerService & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_LIGHTSAIL_API ContainerService(Aws::Utils::Json::JsonView jsonValue)
bool CreatedAtHasBeenSet() const
void SetContainerServiceName(Aws::String &&value)
const ContainerServiceState & GetState() const
bool PrivateDomainNameHasBeenSet() const
void SetState(const ContainerServiceState &value)
ContainerService & WithPower(const ContainerServicePowerName &value)
ContainerService & AddPublicDomainNames(Aws::String &&key, const Aws::Vector< Aws::String > &value)
const ResourceType & GetResourceType() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
bool PowerHasBeenSet() const
ContainerService & AddPublicDomainNames(const Aws::String &key, Aws::Vector< Aws::String > &&value)
const Aws::Vector< Tag > & GetTags() const
const ContainerServicePowerName & GetPower() const
ContainerService & WithPublicDomainNames(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetPower(const ContainerServicePowerName &value)
void SetUrl(Aws::String &&value)
ContainerService & WithPowerId(Aws::String &&value)
bool LocationHasBeenSet() const
ContainerService & WithPrincipalArn(Aws::String &&value)
void SetCurrentDeployment(const ContainerServiceDeployment &value)
ContainerService & WithResourceType(ResourceType &&value)
bool ScaleHasBeenSet() const
bool CurrentDeploymentHasBeenSet() const
ContainerService & WithPrivateDomainName(Aws::String &&value)
ContainerService & WithTags(const Aws::Vector< Tag > &value)
void SetPowerId(const char *value)
bool PrincipalArnHasBeenSet() const
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