7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
47 template <
typename RegistryArnT = Aws::String>
49 m_registryArnHasBeenSet =
true;
50 m_registryArn = std::forward<RegistryArnT>(value);
52 template <
typename RegistryArnT = Aws::String>
65 inline int GetPort()
const {
return m_port; }
68 m_portHasBeenSet =
true;
91 template <
typename ContainerNameT = Aws::String>
93 m_containerNameHasBeenSet =
true;
94 m_containerName = std::forward<ContainerNameT>(value);
96 template <
typename ContainerNameT = Aws::String>
118 m_containerPortHasBeenSet =
true;
119 m_containerPort = value;
133 int m_containerPort{0};
134 bool m_registryArnHasBeenSet =
false;
135 bool m_portHasBeenSet =
false;
136 bool m_containerNameHasBeenSet =
false;
137 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