AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
LoadBalancerInfo.h
Go to the documentation of this file.
1
6#pragma once
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CodeDeploy
25{
26namespace Model
27{
28
36 {
37 public:
42
43
50 inline const Aws::Vector<ELBInfo>& GetElbInfoList() const{ return m_elbInfoList; }
51
58 inline bool ElbInfoListHasBeenSet() const { return m_elbInfoListHasBeenSet; }
59
66 inline void SetElbInfoList(const Aws::Vector<ELBInfo>& value) { m_elbInfoListHasBeenSet = true; m_elbInfoList = value; }
67
74 inline void SetElbInfoList(Aws::Vector<ELBInfo>&& value) { m_elbInfoListHasBeenSet = true; m_elbInfoList = std::move(value); }
75
82 inline LoadBalancerInfo& WithElbInfoList(const Aws::Vector<ELBInfo>& value) { SetElbInfoList(value); return *this;}
83
90 inline LoadBalancerInfo& WithElbInfoList(Aws::Vector<ELBInfo>&& value) { SetElbInfoList(std::move(value)); return *this;}
91
98 inline LoadBalancerInfo& AddElbInfoList(const ELBInfo& value) { m_elbInfoListHasBeenSet = true; m_elbInfoList.push_back(value); return *this; }
99
106 inline LoadBalancerInfo& AddElbInfoList(ELBInfo&& value) { m_elbInfoListHasBeenSet = true; m_elbInfoList.push_back(std::move(value)); return *this; }
107
108
115 inline const Aws::Vector<TargetGroupInfo>& GetTargetGroupInfoList() const{ return m_targetGroupInfoList; }
116
123 inline bool TargetGroupInfoListHasBeenSet() const { return m_targetGroupInfoListHasBeenSet; }
124
131 inline void SetTargetGroupInfoList(const Aws::Vector<TargetGroupInfo>& value) { m_targetGroupInfoListHasBeenSet = true; m_targetGroupInfoList = value; }
132
139 inline void SetTargetGroupInfoList(Aws::Vector<TargetGroupInfo>&& value) { m_targetGroupInfoListHasBeenSet = true; m_targetGroupInfoList = std::move(value); }
140
148
156
163 inline LoadBalancerInfo& AddTargetGroupInfoList(const TargetGroupInfo& value) { m_targetGroupInfoListHasBeenSet = true; m_targetGroupInfoList.push_back(value); return *this; }
164
171 inline LoadBalancerInfo& AddTargetGroupInfoList(TargetGroupInfo&& value) { m_targetGroupInfoListHasBeenSet = true; m_targetGroupInfoList.push_back(std::move(value)); return *this; }
172
173
178 inline const Aws::Vector<TargetGroupPairInfo>& GetTargetGroupPairInfoList() const{ return m_targetGroupPairInfoList; }
179
184 inline bool TargetGroupPairInfoListHasBeenSet() const { return m_targetGroupPairInfoListHasBeenSet; }
185
190 inline void SetTargetGroupPairInfoList(const Aws::Vector<TargetGroupPairInfo>& value) { m_targetGroupPairInfoListHasBeenSet = true; m_targetGroupPairInfoList = value; }
191
196 inline void SetTargetGroupPairInfoList(Aws::Vector<TargetGroupPairInfo>&& value) { m_targetGroupPairInfoListHasBeenSet = true; m_targetGroupPairInfoList = std::move(value); }
197
203
209
214 inline LoadBalancerInfo& AddTargetGroupPairInfoList(const TargetGroupPairInfo& value) { m_targetGroupPairInfoListHasBeenSet = true; m_targetGroupPairInfoList.push_back(value); return *this; }
215
220 inline LoadBalancerInfo& AddTargetGroupPairInfoList(TargetGroupPairInfo&& value) { m_targetGroupPairInfoListHasBeenSet = true; m_targetGroupPairInfoList.push_back(std::move(value)); return *this; }
221
222 private:
223
224 Aws::Vector<ELBInfo> m_elbInfoList;
225 bool m_elbInfoListHasBeenSet = false;
226
227 Aws::Vector<TargetGroupInfo> m_targetGroupInfoList;
228 bool m_targetGroupInfoListHasBeenSet = false;
229
230 Aws::Vector<TargetGroupPairInfo> m_targetGroupPairInfoList;
231 bool m_targetGroupPairInfoListHasBeenSet = false;
232 };
233
234} // namespace Model
235} // namespace CodeDeploy
236} // namespace Aws
#define AWS_CODEDEPLOY_API
LoadBalancerInfo & WithTargetGroupInfoList(const Aws::Vector< TargetGroupInfo > &value)
LoadBalancerInfo & AddTargetGroupPairInfoList(const TargetGroupPairInfo &value)
void SetTargetGroupPairInfoList(const Aws::Vector< TargetGroupPairInfo > &value)
LoadBalancerInfo & WithTargetGroupPairInfoList(const Aws::Vector< TargetGroupPairInfo > &value)
void SetTargetGroupInfoList(const Aws::Vector< TargetGroupInfo > &value)
LoadBalancerInfo & AddTargetGroupPairInfoList(TargetGroupPairInfo &&value)
LoadBalancerInfo & AddElbInfoList(ELBInfo &&value)
LoadBalancerInfo & AddTargetGroupInfoList(const TargetGroupInfo &value)
AWS_CODEDEPLOY_API LoadBalancerInfo(Aws::Utils::Json::JsonView jsonValue)
void SetElbInfoList(Aws::Vector< ELBInfo > &&value)
void SetTargetGroupInfoList(Aws::Vector< TargetGroupInfo > &&value)
LoadBalancerInfo & WithElbInfoList(const Aws::Vector< ELBInfo > &value)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
LoadBalancerInfo & WithElbInfoList(Aws::Vector< ELBInfo > &&value)
LoadBalancerInfo & AddTargetGroupInfoList(TargetGroupInfo &&value)
const Aws::Vector< TargetGroupPairInfo > & GetTargetGroupPairInfoList() const
LoadBalancerInfo & WithTargetGroupPairInfoList(Aws::Vector< TargetGroupPairInfo > &&value)
LoadBalancerInfo & WithTargetGroupInfoList(Aws::Vector< TargetGroupInfo > &&value)
const Aws::Vector< TargetGroupInfo > & GetTargetGroupInfoList() const
const Aws::Vector< ELBInfo > & GetElbInfoList() const
void SetTargetGroupPairInfoList(Aws::Vector< TargetGroupPairInfo > &&value)
LoadBalancerInfo & AddElbInfoList(const ELBInfo &value)
AWS_CODEDEPLOY_API LoadBalancerInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetElbInfoList(const Aws::Vector< ELBInfo > &value)
std::vector< T, Aws::Allocator< T > > Vector