7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
74 inline void SetTargetGroupArn(
const char* value) { m_targetGroupArnHasBeenSet =
true; m_targetGroupArn.assign(value); }
90 inline void SetLoadBalancerName(
const char* value) { m_loadBalancerNameHasBeenSet =
true; m_loadBalancerName.assign(value); }
106 inline void SetContainerName(
const char* value) { m_containerNameHasBeenSet =
true; m_containerName.assign(value); }
122 inline void SetContainerPort(
int value) { m_containerPortHasBeenSet =
true; m_containerPort = value; }
128 bool m_targetGroupArnHasBeenSet =
false;
131 bool m_loadBalancerNameHasBeenSet =
false;
134 bool m_containerNameHasBeenSet =
false;
137 bool m_containerPortHasBeenSet =
false;
LoadBalancer & WithContainerPort(int value)
int GetContainerPort() const
LoadBalancer & WithContainerName(const Aws::String &value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
bool ContainerPortHasBeenSet() const
void SetTargetGroupArn(const char *value)
LoadBalancer & WithTargetGroupArn(const char *value)
void SetContainerName(const char *value)
LoadBalancer & WithContainerName(Aws::String &&value)
LoadBalancer & WithLoadBalancerName(const Aws::String &value)
bool LoadBalancerNameHasBeenSet() const
AWS_ECS_API LoadBalancer(Aws::Utils::Json::JsonView jsonValue)
void SetTargetGroupArn(Aws::String &&value)
AWS_ECS_API LoadBalancer()
void SetContainerPort(int value)
bool TargetGroupArnHasBeenSet() const
void SetContainerName(Aws::String &&value)
LoadBalancer & WithLoadBalancerName(Aws::String &&value)
LoadBalancer & WithLoadBalancerName(const char *value)
void SetContainerName(const Aws::String &value)
const Aws::String & GetTargetGroupArn() const
void SetLoadBalancerName(Aws::String &&value)
void SetTargetGroupArn(const Aws::String &value)
LoadBalancer & WithTargetGroupArn(const Aws::String &value)
const Aws::String & GetLoadBalancerName() const
const Aws::String & GetContainerName() const
LoadBalancer & WithTargetGroupArn(Aws::String &&value)
LoadBalancer & WithContainerName(const char *value)
void SetLoadBalancerName(const Aws::String &value)
bool ContainerNameHasBeenSet() const
AWS_ECS_API LoadBalancer & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLoadBalancerName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue