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>
58 template<
typename ContainerServiceNameT = Aws::String>
59 void SetContainerServiceName(ContainerServiceNameT&& value) { m_containerServiceNameHasBeenSet =
true; m_containerServiceName = std::forward<ContainerServiceNameT>(value); }
60 template<
typename ContainerServiceNameT = Aws::String>
70 template<
typename ArnT = Aws::String>
71 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
72 template<
typename ArnT = Aws::String>
82 template<
typename CreatedAtT = Aws::Utils::DateTime>
83 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
84 template<
typename CreatedAtT = Aws::Utils::DateTime>
95 template<
typename LocationT = ResourceLocation>
96 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
97 template<
typename LocationT = ResourceLocation>
120 template<
typename TagsT = Aws::Vector<Tag>>
121 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
122 template<
typename TagsT = Aws::Vector<Tag>>
124 template<
typename TagsT = Tag>
125 ContainerService&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
146 template<
typename PowerIdT = Aws::String>
147 void SetPowerId(PowerIdT&& value) { m_powerIdHasBeenSet =
true; m_powerId = std::forward<PowerIdT>(value); }
148 template<
typename PowerIdT = Aws::String>
182 template<
typename StateDetailT = ContainerServiceStateDetail>
183 void SetStateDetail(StateDetailT&& value) { m_stateDetailHasBeenSet =
true; m_stateDetail = std::forward<StateDetailT>(value); }
184 template<
typename StateDetailT = ContainerServiceStateDetail>
195 inline void SetScale(
int value) { m_scaleHasBeenSet =
true; m_scale = value; }
206 template<
typename CurrentDeploymentT = ContainerServiceDeployment>
207 void SetCurrentDeployment(CurrentDeploymentT&& value) { m_currentDeploymentHasBeenSet =
true; m_currentDeployment = std::forward<CurrentDeploymentT>(value); }
208 template<
typename CurrentDeploymentT = ContainerServiceDeployment>
220 template<
typename NextDeploymentT = ContainerServiceDeployment>
221 void SetNextDeployment(NextDeploymentT&& value) { m_nextDeploymentHasBeenSet =
true; m_nextDeployment = std::forward<NextDeploymentT>(value); }
222 template<
typename NextDeploymentT = ContainerServiceDeployment>
232 inline void SetIsDisabled(
bool value) { m_isDisabledHasBeenSet =
true; m_isDisabled = value; }
246 template<
typename PrincipalArnT = Aws::String>
247 void SetPrincipalArn(PrincipalArnT&& value) { m_principalArnHasBeenSet =
true; m_principalArn = std::forward<PrincipalArnT>(value); }
248 template<
typename PrincipalArnT = Aws::String>
260 template<
typename PrivateDomainNameT = Aws::String>
261 void SetPrivateDomainName(PrivateDomainNameT&& value) { m_privateDomainNameHasBeenSet =
true; m_privateDomainName = std::forward<PrivateDomainNameT>(value); }
262 template<
typename PrivateDomainNameT = Aws::String>
284 template<
typename PublicDomainNamesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
285 void SetPublicDomainNames(PublicDomainNamesT&& value) { m_publicDomainNamesHasBeenSet =
true; m_publicDomainNames = std::forward<PublicDomainNamesT>(value); }
286 template<
typename PublicDomainNamesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
288 template<
typename PublicDomainNamesKeyT = Aws::String,
typename PublicDomainNamesValueT = Aws::Vector<Aws::String>>
290 m_publicDomainNamesHasBeenSet =
true; m_publicDomainNames.emplace(std::forward<PublicDomainNamesKeyT>(key), std::forward<PublicDomainNamesValueT>(value));
return *
this;
302 template<
typename UrlT = Aws::String>
303 void SetUrl(UrlT&& value) { m_urlHasBeenSet =
true; m_url = std::forward<UrlT>(value); }
304 template<
typename UrlT = Aws::String>
319 template<
typename PrivateRegistryAccessT = PrivateRegistryAccess>
320 void SetPrivateRegistryAccess(PrivateRegistryAccessT&& value) { m_privateRegistryAccessHasBeenSet =
true; m_privateRegistryAccess = std::forward<PrivateRegistryAccessT>(value); }
321 template<
typename PrivateRegistryAccessT = PrivateRegistryAccess>
327 bool m_containerServiceNameHasBeenSet =
false;
330 bool m_arnHasBeenSet =
false;
333 bool m_createdAtHasBeenSet =
false;
335 ResourceLocation m_location;
336 bool m_locationHasBeenSet =
false;
339 bool m_resourceTypeHasBeenSet =
false;
342 bool m_tagsHasBeenSet =
false;
345 bool m_powerHasBeenSet =
false;
348 bool m_powerIdHasBeenSet =
false;
351 bool m_stateHasBeenSet =
false;
353 ContainerServiceStateDetail m_stateDetail;
354 bool m_stateDetailHasBeenSet =
false;
357 bool m_scaleHasBeenSet =
false;
359 ContainerServiceDeployment m_currentDeployment;
360 bool m_currentDeploymentHasBeenSet =
false;
362 ContainerServiceDeployment m_nextDeployment;
363 bool m_nextDeploymentHasBeenSet =
false;
365 bool m_isDisabled{
false};
366 bool m_isDisabledHasBeenSet =
false;
369 bool m_principalArnHasBeenSet =
false;
372 bool m_privateDomainNameHasBeenSet =
false;
375 bool m_publicDomainNamesHasBeenSet =
false;
378 bool m_urlHasBeenSet =
false;
380 PrivateRegistryAccess m_privateRegistryAccess;
381 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