7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
53 template<
typename RegistryArnT = Aws::String>
54 void SetRegistryArn(RegistryArnT&& value) { m_registryArnHasBeenSet =
true; m_registryArn = std::forward<RegistryArnT>(value); }
55 template<
typename RegistryArnT = Aws::String>
65 inline int GetPort()
const {
return m_port; }
67 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
85 template<
typename ContainerNameT = Aws::String>
86 void SetContainerName(ContainerNameT&& value) { m_containerNameHasBeenSet =
true; m_containerName = std::forward<ContainerNameT>(value); }
87 template<
typename ContainerNameT = Aws::String>
105 inline void SetContainerPort(
int value) { m_containerPortHasBeenSet =
true; m_containerPort = value; }
111 bool m_registryArnHasBeenSet =
false;
114 bool m_portHasBeenSet =
false;
117 bool m_containerNameHasBeenSet =
false;
119 int m_containerPort{0};
120 bool m_containerPortHasBeenSet =
false;
const Aws::String & GetContainerName() const
bool RegistryArnHasBeenSet() const
void SetContainerName(ContainerNameT &&value)
bool PortHasBeenSet() const
AWS_ECS_API ServiceRegistry()=default
bool ContainerNameHasBeenSet() const
void SetRegistryArn(RegistryArnT &&value)
ServiceRegistry & WithContainerPort(int value)
bool ContainerPortHasBeenSet() const
void SetContainerPort(int value)
ServiceRegistry & WithRegistryArn(RegistryArnT &&value)
AWS_ECS_API ServiceRegistry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRegistryArn() const
ServiceRegistry & WithContainerName(ContainerNameT &&value)
AWS_ECS_API ServiceRegistry(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceRegistry & WithPort(int value)
int GetContainerPort() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue