7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
9#include <aws/lightsail/model/ContainerServiceHealthCheckConfig.h>
43 template <
typename ContainerNameT = Aws::String>
45 m_containerNameHasBeenSet =
true;
46 m_containerName = std::forward<ContainerNameT>(value);
48 template <
typename ContainerNameT = Aws::String>
62 m_containerPortHasBeenSet =
true;
63 m_containerPort = value;
77 template <
typename HealthCheckT = ContainerServiceHealthCheckConfig>
79 m_healthCheckHasBeenSet =
true;
80 m_healthCheck = std::forward<HealthCheckT>(value);
82 template <
typename HealthCheckT = ContainerServiceHealthCheckConfig>
91 int m_containerPort{0};
93 ContainerServiceHealthCheckConfig m_healthCheck;
94 bool m_containerNameHasBeenSet =
false;
95 bool m_containerPortHasBeenSet =
false;
96 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