7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/model/ContainerServiceDeploymentState.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/lightsail/model/ContainerServiceEndpoint.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/lightsail/model/Container.h>
54 inline void SetVersion(
int value) { m_versionHasBeenSet =
true; m_version = value; }
84 template<
typename ContainersT = Aws::Map<Aws::String, Container>>
85 void SetContainers(ContainersT&& value) { m_containersHasBeenSet =
true; m_containers = std::forward<ContainersT>(value); }
86 template<
typename ContainersT = Aws::Map<Aws::String, Container>>
88 template<
typename ContainersKeyT = Aws::String,
typename ContainersValueT = Container>
90 m_containersHasBeenSet =
true; m_containers.emplace(std::forward<ContainersKeyT>(key), std::forward<ContainersValueT>(value));
return *
this;
100 template<
typename PublicEndpo
intT = ContainerServiceEndpo
int>
101 void SetPublicEndpoint(PublicEndpointT&& value) { m_publicEndpointHasBeenSet =
true; m_publicEndpoint = std::forward<PublicEndpointT>(value); }
102 template<
typename PublicEndpo
intT = ContainerServiceEndpo
int>
112 template<
typename CreatedAtT = Aws::Utils::DateTime>
113 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
114 template<
typename CreatedAtT = Aws::Utils::DateTime>
120 bool m_versionHasBeenSet =
false;
123 bool m_stateHasBeenSet =
false;
126 bool m_containersHasBeenSet =
false;
128 ContainerServiceEndpoint m_publicEndpoint;
129 bool m_publicEndpointHasBeenSet =
false;
132 bool m_createdAtHasBeenSet =
false;
bool CreatedAtHasBeenSet() const
ContainerServiceDeployment & WithState(ContainerServiceDeploymentState value)
ContainerServiceDeployment & WithCreatedAt(CreatedAtT &&value)
AWS_LIGHTSAIL_API ContainerServiceDeployment & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
ContainerServiceDeploymentState GetState() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LIGHTSAIL_API ContainerServiceDeployment(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(CreatedAtT &&value)
ContainerServiceDeployment & WithVersion(int value)
ContainerServiceDeployment & WithPublicEndpoint(PublicEndpointT &&value)
bool VersionHasBeenSet() const
void SetVersion(int value)
void SetState(ContainerServiceDeploymentState value)
void SetContainers(ContainersT &&value)
ContainerServiceDeployment & AddContainers(ContainersKeyT &&key, ContainersValueT &&value)
AWS_LIGHTSAIL_API ContainerServiceDeployment()=default
ContainerServiceDeployment & WithContainers(ContainersT &&value)
bool PublicEndpointHasBeenSet() const
void SetPublicEndpoint(PublicEndpointT &&value)
const ContainerServiceEndpoint & GetPublicEndpoint() const
bool ContainersHasBeenSet() const
bool StateHasBeenSet() const
const Aws::Map< Aws::String, Container > & GetContainers() const
ContainerServiceDeploymentState
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue