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