AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LoadBalancer.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lightsail/model/ResourceLocation.h>
11#include <aws/lightsail/model/ResourceType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/lightsail/model/LoadBalancerState.h>
14#include <aws/lightsail/model/LoadBalancerProtocol.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/lightsail/model/IpAddressType.h>
17#include <aws/lightsail/model/Tag.h>
18#include <aws/lightsail/model/InstanceHealthSummary.h>
19#include <aws/lightsail/model/LoadBalancerTlsCertificateSummary.h>
20#include <aws/lightsail/model/LoadBalancerAttributeName.h>
21#include <utility>
22
23namespace Aws
24{
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30 class JsonView;
31} // namespace Json
32} // namespace Utils
33namespace Lightsail
34{
35namespace Model
36{
37
44 {
45 public:
46 AWS_LIGHTSAIL_API LoadBalancer();
47 AWS_LIGHTSAIL_API LoadBalancer(Aws::Utils::Json::JsonView jsonValue);
48 AWS_LIGHTSAIL_API LoadBalancer& operator=(Aws::Utils::Json::JsonView jsonValue);
49 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
56 inline const Aws::String& GetName() const{ return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 inline LoadBalancer& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline LoadBalancer& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline LoadBalancer& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline const Aws::String& GetArn() const{ return m_arn; }
71 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
72 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
73 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
74 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
75 inline LoadBalancer& WithArn(const Aws::String& value) { SetArn(value); return *this;}
76 inline LoadBalancer& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
77 inline LoadBalancer& WithArn(const char* value) { SetArn(value); return *this;}
79
81
86 inline const Aws::String& GetSupportCode() const{ return m_supportCode; }
87 inline bool SupportCodeHasBeenSet() const { return m_supportCodeHasBeenSet; }
88 inline void SetSupportCode(const Aws::String& value) { m_supportCodeHasBeenSet = true; m_supportCode = value; }
89 inline void SetSupportCode(Aws::String&& value) { m_supportCodeHasBeenSet = true; m_supportCode = std::move(value); }
90 inline void SetSupportCode(const char* value) { m_supportCodeHasBeenSet = true; m_supportCode.assign(value); }
91 inline LoadBalancer& WithSupportCode(const Aws::String& value) { SetSupportCode(value); return *this;}
92 inline LoadBalancer& WithSupportCode(Aws::String&& value) { SetSupportCode(std::move(value)); return *this;}
93 inline LoadBalancer& WithSupportCode(const char* value) { SetSupportCode(value); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
101 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
102 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
103 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
104 inline LoadBalancer& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
105 inline LoadBalancer& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
107
109
114 inline const ResourceLocation& GetLocation() const{ return m_location; }
115 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
116 inline void SetLocation(const ResourceLocation& value) { m_locationHasBeenSet = true; m_location = value; }
117 inline void SetLocation(ResourceLocation&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
118 inline LoadBalancer& WithLocation(const ResourceLocation& value) { SetLocation(value); return *this;}
119 inline LoadBalancer& WithLocation(ResourceLocation&& value) { SetLocation(std::move(value)); return *this;}
121
123
126 inline const ResourceType& GetResourceType() const{ return m_resourceType; }
127 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
128 inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
129 inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
130 inline LoadBalancer& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
131 inline LoadBalancer& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
133
135
141 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
142 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
143 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
144 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
145 inline LoadBalancer& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
146 inline LoadBalancer& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
147 inline LoadBalancer& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
148 inline LoadBalancer& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
150
152
155 inline const Aws::String& GetDnsName() const{ return m_dnsName; }
156 inline bool DnsNameHasBeenSet() const { return m_dnsNameHasBeenSet; }
157 inline void SetDnsName(const Aws::String& value) { m_dnsNameHasBeenSet = true; m_dnsName = value; }
158 inline void SetDnsName(Aws::String&& value) { m_dnsNameHasBeenSet = true; m_dnsName = std::move(value); }
159 inline void SetDnsName(const char* value) { m_dnsNameHasBeenSet = true; m_dnsName.assign(value); }
160 inline LoadBalancer& WithDnsName(const Aws::String& value) { SetDnsName(value); return *this;}
161 inline LoadBalancer& WithDnsName(Aws::String&& value) { SetDnsName(std::move(value)); return *this;}
162 inline LoadBalancer& WithDnsName(const char* value) { SetDnsName(value); return *this;}
164
166
169 inline const LoadBalancerState& GetState() const{ return m_state; }
170 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
171 inline void SetState(const LoadBalancerState& value) { m_stateHasBeenSet = true; m_state = value; }
172 inline void SetState(LoadBalancerState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
173 inline LoadBalancer& WithState(const LoadBalancerState& value) { SetState(value); return *this;}
174 inline LoadBalancer& WithState(LoadBalancerState&& value) { SetState(std::move(value)); return *this;}
176
178
183 inline const LoadBalancerProtocol& GetProtocol() const{ return m_protocol; }
184 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
185 inline void SetProtocol(const LoadBalancerProtocol& value) { m_protocolHasBeenSet = true; m_protocol = value; }
186 inline void SetProtocol(LoadBalancerProtocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); }
187 inline LoadBalancer& WithProtocol(const LoadBalancerProtocol& value) { SetProtocol(value); return *this;}
188 inline LoadBalancer& WithProtocol(LoadBalancerProtocol&& value) { SetProtocol(std::move(value)); return *this;}
190
192
196 inline const Aws::Vector<int>& GetPublicPorts() const{ return m_publicPorts; }
197 inline bool PublicPortsHasBeenSet() const { return m_publicPortsHasBeenSet; }
198 inline void SetPublicPorts(const Aws::Vector<int>& value) { m_publicPortsHasBeenSet = true; m_publicPorts = value; }
199 inline void SetPublicPorts(Aws::Vector<int>&& value) { m_publicPortsHasBeenSet = true; m_publicPorts = std::move(value); }
200 inline LoadBalancer& WithPublicPorts(const Aws::Vector<int>& value) { SetPublicPorts(value); return *this;}
201 inline LoadBalancer& WithPublicPorts(Aws::Vector<int>&& value) { SetPublicPorts(std::move(value)); return *this;}
202 inline LoadBalancer& AddPublicPorts(int value) { m_publicPortsHasBeenSet = true; m_publicPorts.push_back(value); return *this; }
204
206
211 inline const Aws::String& GetHealthCheckPath() const{ return m_healthCheckPath; }
212 inline bool HealthCheckPathHasBeenSet() const { return m_healthCheckPathHasBeenSet; }
213 inline void SetHealthCheckPath(const Aws::String& value) { m_healthCheckPathHasBeenSet = true; m_healthCheckPath = value; }
214 inline void SetHealthCheckPath(Aws::String&& value) { m_healthCheckPathHasBeenSet = true; m_healthCheckPath = std::move(value); }
215 inline void SetHealthCheckPath(const char* value) { m_healthCheckPathHasBeenSet = true; m_healthCheckPath.assign(value); }
216 inline LoadBalancer& WithHealthCheckPath(const Aws::String& value) { SetHealthCheckPath(value); return *this;}
217 inline LoadBalancer& WithHealthCheckPath(Aws::String&& value) { SetHealthCheckPath(std::move(value)); return *this;}
218 inline LoadBalancer& WithHealthCheckPath(const char* value) { SetHealthCheckPath(value); return *this;}
220
222
226 inline int GetInstancePort() const{ return m_instancePort; }
227 inline bool InstancePortHasBeenSet() const { return m_instancePortHasBeenSet; }
228 inline void SetInstancePort(int value) { m_instancePortHasBeenSet = true; m_instancePort = value; }
229 inline LoadBalancer& WithInstancePort(int value) { SetInstancePort(value); return *this;}
231
233
237 inline const Aws::Vector<InstanceHealthSummary>& GetInstanceHealthSummary() const{ return m_instanceHealthSummary; }
238 inline bool InstanceHealthSummaryHasBeenSet() const { return m_instanceHealthSummaryHasBeenSet; }
239 inline void SetInstanceHealthSummary(const Aws::Vector<InstanceHealthSummary>& value) { m_instanceHealthSummaryHasBeenSet = true; m_instanceHealthSummary = value; }
240 inline void SetInstanceHealthSummary(Aws::Vector<InstanceHealthSummary>&& value) { m_instanceHealthSummaryHasBeenSet = true; m_instanceHealthSummary = std::move(value); }
243 inline LoadBalancer& AddInstanceHealthSummary(const InstanceHealthSummary& value) { m_instanceHealthSummaryHasBeenSet = true; m_instanceHealthSummary.push_back(value); return *this; }
244 inline LoadBalancer& AddInstanceHealthSummary(InstanceHealthSummary&& value) { m_instanceHealthSummaryHasBeenSet = true; m_instanceHealthSummary.push_back(std::move(value)); return *this; }
246
248
253 inline const Aws::Vector<LoadBalancerTlsCertificateSummary>& GetTlsCertificateSummaries() const{ return m_tlsCertificateSummaries; }
254 inline bool TlsCertificateSummariesHasBeenSet() const { return m_tlsCertificateSummariesHasBeenSet; }
255 inline void SetTlsCertificateSummaries(const Aws::Vector<LoadBalancerTlsCertificateSummary>& value) { m_tlsCertificateSummariesHasBeenSet = true; m_tlsCertificateSummaries = value; }
256 inline void SetTlsCertificateSummaries(Aws::Vector<LoadBalancerTlsCertificateSummary>&& value) { m_tlsCertificateSummariesHasBeenSet = true; m_tlsCertificateSummaries = std::move(value); }
259 inline LoadBalancer& AddTlsCertificateSummaries(const LoadBalancerTlsCertificateSummary& value) { m_tlsCertificateSummariesHasBeenSet = true; m_tlsCertificateSummaries.push_back(value); return *this; }
260 inline LoadBalancer& AddTlsCertificateSummaries(LoadBalancerTlsCertificateSummary&& value) { m_tlsCertificateSummariesHasBeenSet = true; m_tlsCertificateSummaries.push_back(std::move(value)); return *this; }
262
264
268 inline const Aws::Map<LoadBalancerAttributeName, Aws::String>& GetConfigurationOptions() const{ return m_configurationOptions; }
269 inline bool ConfigurationOptionsHasBeenSet() const { return m_configurationOptionsHasBeenSet; }
270 inline void SetConfigurationOptions(const Aws::Map<LoadBalancerAttributeName, Aws::String>& value) { m_configurationOptionsHasBeenSet = true; m_configurationOptions = value; }
271 inline void SetConfigurationOptions(Aws::Map<LoadBalancerAttributeName, Aws::String>&& value) { m_configurationOptionsHasBeenSet = true; m_configurationOptions = std::move(value); }
274 inline LoadBalancer& AddConfigurationOptions(const LoadBalancerAttributeName& key, const Aws::String& value) { m_configurationOptionsHasBeenSet = true; m_configurationOptions.emplace(key, value); return *this; }
275 inline LoadBalancer& AddConfigurationOptions(LoadBalancerAttributeName&& key, const Aws::String& value) { m_configurationOptionsHasBeenSet = true; m_configurationOptions.emplace(std::move(key), value); return *this; }
276 inline LoadBalancer& AddConfigurationOptions(const LoadBalancerAttributeName& key, Aws::String&& value) { m_configurationOptionsHasBeenSet = true; m_configurationOptions.emplace(key, std::move(value)); return *this; }
277 inline LoadBalancer& AddConfigurationOptions(LoadBalancerAttributeName&& key, Aws::String&& value) { m_configurationOptionsHasBeenSet = true; m_configurationOptions.emplace(std::move(key), std::move(value)); return *this; }
278 inline LoadBalancer& AddConfigurationOptions(LoadBalancerAttributeName&& key, const char* value) { m_configurationOptionsHasBeenSet = true; m_configurationOptions.emplace(std::move(key), value); return *this; }
279 inline LoadBalancer& AddConfigurationOptions(const LoadBalancerAttributeName& key, const char* value) { m_configurationOptionsHasBeenSet = true; m_configurationOptions.emplace(key, value); return *this; }
281
283
288 inline const IpAddressType& GetIpAddressType() const{ return m_ipAddressType; }
289 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
290 inline void SetIpAddressType(const IpAddressType& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = value; }
291 inline void SetIpAddressType(IpAddressType&& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = std::move(value); }
292 inline LoadBalancer& WithIpAddressType(const IpAddressType& value) { SetIpAddressType(value); return *this;}
293 inline LoadBalancer& WithIpAddressType(IpAddressType&& value) { SetIpAddressType(std::move(value)); return *this;}
295
297
301 inline bool GetHttpsRedirectionEnabled() const{ return m_httpsRedirectionEnabled; }
302 inline bool HttpsRedirectionEnabledHasBeenSet() const { return m_httpsRedirectionEnabledHasBeenSet; }
303 inline void SetHttpsRedirectionEnabled(bool value) { m_httpsRedirectionEnabledHasBeenSet = true; m_httpsRedirectionEnabled = value; }
304 inline LoadBalancer& WithHttpsRedirectionEnabled(bool value) { SetHttpsRedirectionEnabled(value); return *this;}
306
308
311 inline const Aws::String& GetTlsPolicyName() const{ return m_tlsPolicyName; }
312 inline bool TlsPolicyNameHasBeenSet() const { return m_tlsPolicyNameHasBeenSet; }
313 inline void SetTlsPolicyName(const Aws::String& value) { m_tlsPolicyNameHasBeenSet = true; m_tlsPolicyName = value; }
314 inline void SetTlsPolicyName(Aws::String&& value) { m_tlsPolicyNameHasBeenSet = true; m_tlsPolicyName = std::move(value); }
315 inline void SetTlsPolicyName(const char* value) { m_tlsPolicyNameHasBeenSet = true; m_tlsPolicyName.assign(value); }
316 inline LoadBalancer& WithTlsPolicyName(const Aws::String& value) { SetTlsPolicyName(value); return *this;}
317 inline LoadBalancer& WithTlsPolicyName(Aws::String&& value) { SetTlsPolicyName(std::move(value)); return *this;}
318 inline LoadBalancer& WithTlsPolicyName(const char* value) { SetTlsPolicyName(value); return *this;}
320 private:
321
322 Aws::String m_name;
323 bool m_nameHasBeenSet = false;
324
325 Aws::String m_arn;
326 bool m_arnHasBeenSet = false;
327
328 Aws::String m_supportCode;
329 bool m_supportCodeHasBeenSet = false;
330
331 Aws::Utils::DateTime m_createdAt;
332 bool m_createdAtHasBeenSet = false;
333
334 ResourceLocation m_location;
335 bool m_locationHasBeenSet = false;
336
337 ResourceType m_resourceType;
338 bool m_resourceTypeHasBeenSet = false;
339
340 Aws::Vector<Tag> m_tags;
341 bool m_tagsHasBeenSet = false;
342
343 Aws::String m_dnsName;
344 bool m_dnsNameHasBeenSet = false;
345
346 LoadBalancerState m_state;
347 bool m_stateHasBeenSet = false;
348
349 LoadBalancerProtocol m_protocol;
350 bool m_protocolHasBeenSet = false;
351
352 Aws::Vector<int> m_publicPorts;
353 bool m_publicPortsHasBeenSet = false;
354
355 Aws::String m_healthCheckPath;
356 bool m_healthCheckPathHasBeenSet = false;
357
358 int m_instancePort;
359 bool m_instancePortHasBeenSet = false;
360
361 Aws::Vector<InstanceHealthSummary> m_instanceHealthSummary;
362 bool m_instanceHealthSummaryHasBeenSet = false;
363
364 Aws::Vector<LoadBalancerTlsCertificateSummary> m_tlsCertificateSummaries;
365 bool m_tlsCertificateSummariesHasBeenSet = false;
366
368 bool m_configurationOptionsHasBeenSet = false;
369
370 IpAddressType m_ipAddressType;
371 bool m_ipAddressTypeHasBeenSet = false;
372
373 bool m_httpsRedirectionEnabled;
374 bool m_httpsRedirectionEnabledHasBeenSet = false;
375
376 Aws::String m_tlsPolicyName;
377 bool m_tlsPolicyNameHasBeenSet = false;
378 };
379
380} // namespace Model
381} // namespace Lightsail
382} // namespace Aws
const Aws::String & GetName() const
LoadBalancer & WithTlsCertificateSummaries(const Aws::Vector< LoadBalancerTlsCertificateSummary > &value)
void SetHealthCheckPath(const Aws::String &value)
void SetHealthCheckPath(Aws::String &&value)
LoadBalancer & WithConfigurationOptions(Aws::Map< LoadBalancerAttributeName, Aws::String > &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
LoadBalancer & AddTags(const Tag &value)
void SetArn(Aws::String &&value)
LoadBalancer & WithTlsPolicyName(const Aws::String &value)
LoadBalancer & WithPublicPorts(const Aws::Vector< int > &value)
const Aws::String & GetTlsPolicyName() const
LoadBalancer & WithTlsPolicyName(const char *value)
const Aws::String & GetDnsName() const
AWS_LIGHTSAIL_API LoadBalancer(Aws::Utils::Json::JsonView jsonValue)
void SetTags(const Aws::Vector< Tag > &value)
void SetTlsCertificateSummaries(const Aws::Vector< LoadBalancerTlsCertificateSummary > &value)
LoadBalancer & WithResourceType(ResourceType &&value)
LoadBalancer & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetDnsName(const Aws::String &value)
void SetSupportCode(Aws::String &&value)
void SetHealthCheckPath(const char *value)
LoadBalancer & WithIpAddressType(const IpAddressType &value)
LoadBalancer & WithHealthCheckPath(Aws::String &&value)
LoadBalancer & WithCreatedAt(const Aws::Utils::DateTime &value)
LoadBalancer & WithLocation(ResourceLocation &&value)
void SetDnsName(const char *value)
void SetPublicPorts(Aws::Vector< int > &&value)
LoadBalancer & WithConfigurationOptions(const Aws::Map< LoadBalancerAttributeName, Aws::String > &value)
LoadBalancer & WithName(Aws::String &&value)
AWS_LIGHTSAIL_API LoadBalancer & operator=(Aws::Utils::Json::JsonView jsonValue)
const LoadBalancerState & GetState() const
LoadBalancer & WithHttpsRedirectionEnabled(bool value)
void SetTlsPolicyName(const char *value)
void SetState(const LoadBalancerState &value)
void SetSupportCode(const Aws::String &value)
LoadBalancer & WithTlsPolicyName(Aws::String &&value)
LoadBalancer & AddInstanceHealthSummary(InstanceHealthSummary &&value)
LoadBalancer & WithLocation(const ResourceLocation &value)
const Aws::Utils::DateTime & GetCreatedAt() const
LoadBalancer & WithResourceType(const ResourceType &value)
LoadBalancer & WithArn(const Aws::String &value)
void SetLocation(ResourceLocation &&value)
LoadBalancer & WithHealthCheckPath(const Aws::String &value)
LoadBalancer & WithName(const char *value)
const Aws::String & GetArn() const
LoadBalancer & AddConfigurationOptions(const LoadBalancerAttributeName &key, const Aws::String &value)
LoadBalancer & WithDnsName(const Aws::String &value)
void SetProtocol(const LoadBalancerProtocol &value)
void SetInstanceHealthSummary(const Aws::Vector< InstanceHealthSummary > &value)
const ResourceType & GetResourceType() const
LoadBalancer & WithName(const Aws::String &value)
void SetSupportCode(const char *value)
LoadBalancer & AddInstanceHealthSummary(const InstanceHealthSummary &value)
LoadBalancer & AddTlsCertificateSummaries(LoadBalancerTlsCertificateSummary &&value)
LoadBalancer & WithState(LoadBalancerState &&value)
LoadBalancer & WithArn(Aws::String &&value)
LoadBalancer & AddConfigurationOptions(LoadBalancerAttributeName &&key, const char *value)
void SetHttpsRedirectionEnabled(bool value)
LoadBalancer & WithPublicPorts(Aws::Vector< int > &&value)
void SetTlsPolicyName(const Aws::String &value)
LoadBalancer & WithTags(const Aws::Vector< Tag > &value)
void SetProtocol(LoadBalancerProtocol &&value)
const Aws::Vector< InstanceHealthSummary > & GetInstanceHealthSummary() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Map< LoadBalancerAttributeName, Aws::String > & GetConfigurationOptions() const
void SetIpAddressType(IpAddressType &&value)
LoadBalancer & AddConfigurationOptions(const LoadBalancerAttributeName &key, const char *value)
LoadBalancer & WithIpAddressType(IpAddressType &&value)
LoadBalancer & AddConfigurationOptions(const LoadBalancerAttributeName &key, Aws::String &&value)
const ResourceLocation & GetLocation() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTlsPolicyName(Aws::String &&value)
LoadBalancer & AddTlsCertificateSummaries(const LoadBalancerTlsCertificateSummary &value)
void SetState(LoadBalancerState &&value)
LoadBalancer & WithInstanceHealthSummary(const Aws::Vector< InstanceHealthSummary > &value)
void SetConfigurationOptions(Aws::Map< LoadBalancerAttributeName, Aws::String > &&value)
LoadBalancer & WithDnsName(const char *value)
LoadBalancer & WithProtocol(LoadBalancerProtocol &&value)
LoadBalancer & WithTlsCertificateSummaries(Aws::Vector< LoadBalancerTlsCertificateSummary > &&value)
void SetResourceType(ResourceType &&value)
const Aws::Vector< int > & GetPublicPorts() const
void SetTlsCertificateSummaries(Aws::Vector< LoadBalancerTlsCertificateSummary > &&value)
void SetName(const char *value)
LoadBalancer & AddPublicPorts(int value)
void SetArn(const char *value)
void SetName(const Aws::String &value)
const Aws::String & GetSupportCode() const
LoadBalancer & WithHealthCheckPath(const char *value)
LoadBalancer & WithTags(Aws::Vector< Tag > &&value)
void SetTags(Aws::Vector< Tag > &&value)
const LoadBalancerProtocol & GetProtocol() const
void SetDnsName(Aws::String &&value)
LoadBalancer & AddTags(Tag &&value)
LoadBalancer & WithSupportCode(const Aws::String &value)
void SetArn(const Aws::String &value)
LoadBalancer & WithDnsName(Aws::String &&value)
const Aws::String & GetHealthCheckPath() const
LoadBalancer & WithInstanceHealthSummary(Aws::Vector< InstanceHealthSummary > &&value)
const Aws::Vector< LoadBalancerTlsCertificateSummary > & GetTlsCertificateSummaries() const
const Aws::Vector< Tag > & GetTags() const
LoadBalancer & WithArn(const char *value)
LoadBalancer & WithState(const LoadBalancerState &value)
void SetResourceType(const ResourceType &value)
LoadBalancer & WithProtocol(const LoadBalancerProtocol &value)
void SetLocation(const ResourceLocation &value)
LoadBalancer & AddConfigurationOptions(LoadBalancerAttributeName &&key, Aws::String &&value)
void SetPublicPorts(const Aws::Vector< int > &value)
void SetConfigurationOptions(const Aws::Map< LoadBalancerAttributeName, Aws::String > &value)
LoadBalancer & WithSupportCode(Aws::String &&value)
void SetName(Aws::String &&value)
LoadBalancer & WithInstancePort(int value)
void SetInstanceHealthSummary(Aws::Vector< InstanceHealthSummary > &&value)
LoadBalancer & AddConfigurationOptions(LoadBalancerAttributeName &&key, const Aws::String &value)
LoadBalancer & WithSupportCode(const char *value)
void SetIpAddressType(const IpAddressType &value)
const IpAddressType & GetIpAddressType() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue