7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/model/ContainerServiceHealthCheckConfig.h>
49 template<
typename ContainerNameT = Aws::String>
50 void SetContainerName(ContainerNameT&& value) { m_containerNameHasBeenSet =
true; m_containerName = std::forward<ContainerNameT>(value); }
51 template<
typename ContainerNameT = Aws::String>
61 inline void SetContainerPort(
int value) { m_containerPortHasBeenSet =
true; m_containerPort = value; }
71 template<
typename HealthCheckT = ContainerServiceHealthCheckConfig>
72 void SetHealthCheck(HealthCheckT&& value) { m_healthCheckHasBeenSet =
true; m_healthCheck = std::forward<HealthCheckT>(value); }
73 template<
typename HealthCheckT = ContainerServiceHealthCheckConfig>
79 bool m_containerNameHasBeenSet =
false;
81 int m_containerPort{0};
82 bool m_containerPortHasBeenSet =
false;
84 ContainerServiceHealthCheckConfig m_healthCheck;
85 bool m_healthCheckHasBeenSet =
false;
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
ContainerServiceEndpoint & WithContainerPort(int value)
int GetContainerPort() const
ContainerServiceEndpoint & WithHealthCheck(HealthCheckT &&value)
void SetHealthCheck(HealthCheckT &&value)
ContainerServiceEndpoint & WithContainerName(ContainerNameT &&value)
const Aws::String & GetContainerName() const
bool ContainerNameHasBeenSet() const
const ContainerServiceHealthCheckConfig & GetHealthCheck() const
AWS_LIGHTSAIL_API ContainerServiceEndpoint()=default
bool HealthCheckHasBeenSet() const
AWS_LIGHTSAIL_API ContainerServiceEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API ContainerServiceEndpoint(Aws::Utils::Json::JsonView jsonValue)
void SetContainerPort(int value)
void SetContainerName(ContainerNameT &&value)
bool ContainerPortHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue