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/lightsail/Lightsail_EXPORTS.h>
11#include <aws/lightsail/model/Container.h>
12#include <aws/lightsail/model/ContainerServiceDeploymentState.h>
13#include <aws/lightsail/model/ContainerServiceEndpoint.h>
49 m_versionHasBeenSet =
true;
74 m_stateHasBeenSet =
true;
90 template <
typename ContainersT = Aws::Map<Aws::String, Container>>
92 m_containersHasBeenSet =
true;
93 m_containers = std::forward<ContainersT>(value);
95 template <
typename ContainersT = Aws::Map<Aws::String, Container>>
100 template <
typename ContainersKeyT = Aws::String,
typename ContainersValueT = Container>
102 m_containersHasBeenSet =
true;
103 m_containers.emplace(std::forward<ContainersKeyT>(key), std::forward<ContainersValueT>(value));
114 template <
typename PublicEndpo
intT = ContainerServiceEndpo
int>
116 m_publicEndpointHasBeenSet =
true;
117 m_publicEndpoint = std::forward<PublicEndpointT>(value);
119 template <
typename PublicEndpo
intT = ContainerServiceEndpo
int>
132 template <
typename CreatedAtT = Aws::Utils::DateTime>
134 m_createdAtHasBeenSet =
true;
135 m_createdAt = std::forward<CreatedAtT>(value);
137 template <
typename CreatedAtT = Aws::Utils::DateTime>
150 ContainerServiceEndpoint m_publicEndpoint;
153 bool m_versionHasBeenSet =
false;
154 bool m_stateHasBeenSet =
false;
155 bool m_containersHasBeenSet =
false;
156 bool m_publicEndpointHasBeenSet =
false;
157 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