AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsEcsServiceLoadBalancersDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API AwsEcsServiceLoadBalancersDetails();
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetContainerName() const{ return m_containerName; }
46 inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
47 inline void SetContainerName(const Aws::String& value) { m_containerNameHasBeenSet = true; m_containerName = value; }
48 inline void SetContainerName(Aws::String&& value) { m_containerNameHasBeenSet = true; m_containerName = std::move(value); }
49 inline void SetContainerName(const char* value) { m_containerNameHasBeenSet = true; m_containerName.assign(value); }
51 inline AwsEcsServiceLoadBalancersDetails& WithContainerName(Aws::String&& value) { SetContainerName(std::move(value)); return *this;}
52 inline AwsEcsServiceLoadBalancersDetails& WithContainerName(const char* value) { SetContainerName(value); return *this;}
54
56
63 inline int GetContainerPort() const{ return m_containerPort; }
64 inline bool ContainerPortHasBeenSet() const { return m_containerPortHasBeenSet; }
65 inline void SetContainerPort(int value) { m_containerPortHasBeenSet = true; m_containerPort = value; }
66 inline AwsEcsServiceLoadBalancersDetails& WithContainerPort(int value) { SetContainerPort(value); return *this;}
68
70
76 inline const Aws::String& GetLoadBalancerName() const{ return m_loadBalancerName; }
77 inline bool LoadBalancerNameHasBeenSet() const { return m_loadBalancerNameHasBeenSet; }
78 inline void SetLoadBalancerName(const Aws::String& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = value; }
79 inline void SetLoadBalancerName(Aws::String&& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = std::move(value); }
80 inline void SetLoadBalancerName(const char* value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName.assign(value); }
83 inline AwsEcsServiceLoadBalancersDetails& WithLoadBalancerName(const char* value) { SetLoadBalancerName(value); return *this;}
85
87
93 inline const Aws::String& GetTargetGroupArn() const{ return m_targetGroupArn; }
94 inline bool TargetGroupArnHasBeenSet() const { return m_targetGroupArnHasBeenSet; }
95 inline void SetTargetGroupArn(const Aws::String& value) { m_targetGroupArnHasBeenSet = true; m_targetGroupArn = value; }
96 inline void SetTargetGroupArn(Aws::String&& value) { m_targetGroupArnHasBeenSet = true; m_targetGroupArn = std::move(value); }
97 inline void SetTargetGroupArn(const char* value) { m_targetGroupArnHasBeenSet = true; m_targetGroupArn.assign(value); }
99 inline AwsEcsServiceLoadBalancersDetails& WithTargetGroupArn(Aws::String&& value) { SetTargetGroupArn(std::move(value)); return *this;}
100 inline AwsEcsServiceLoadBalancersDetails& WithTargetGroupArn(const char* value) { SetTargetGroupArn(value); return *this;}
102 private:
103
104 Aws::String m_containerName;
105 bool m_containerNameHasBeenSet = false;
106
107 int m_containerPort;
108 bool m_containerPortHasBeenSet = false;
109
110 Aws::String m_loadBalancerName;
111 bool m_loadBalancerNameHasBeenSet = false;
112
113 Aws::String m_targetGroupArn;
114 bool m_targetGroupArnHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace SecurityHub
119} // namespace Aws
AwsEcsServiceLoadBalancersDetails & WithLoadBalancerName(const char *value)
AwsEcsServiceLoadBalancersDetails & WithContainerName(const Aws::String &value)
AwsEcsServiceLoadBalancersDetails & WithContainerName(Aws::String &&value)
AwsEcsServiceLoadBalancersDetails & WithTargetGroupArn(const Aws::String &value)
AwsEcsServiceLoadBalancersDetails & WithTargetGroupArn(Aws::String &&value)
AwsEcsServiceLoadBalancersDetails & WithLoadBalancerName(const Aws::String &value)
AwsEcsServiceLoadBalancersDetails & WithLoadBalancerName(Aws::String &&value)
AWS_SECURITYHUB_API AwsEcsServiceLoadBalancersDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEcsServiceLoadBalancersDetails & WithContainerName(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEcsServiceLoadBalancersDetails & WithTargetGroupArn(const char *value)
AWS_SECURITYHUB_API AwsEcsServiceLoadBalancersDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue