AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsElbLoadBalancerAttributes.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsElbLoadBalancerAccessLog.h>
9#include <aws/securityhub/model/AwsElbLoadBalancerConnectionDraining.h>
10#include <aws/securityhub/model/AwsElbLoadBalancerConnectionSettings.h>
11#include <aws/securityhub/model/AwsElbLoadBalancerCrossZoneLoadBalancing.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/securityhub/model/AwsElbLoadBalancerAdditionalAttribute.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SecurityHub
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_SECURITYHUB_API AwsElbLoadBalancerAttributes();
42 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const AwsElbLoadBalancerAccessLog& GetAccessLog() const{ return m_accessLog; }
52 inline bool AccessLogHasBeenSet() const { return m_accessLogHasBeenSet; }
53 inline void SetAccessLog(const AwsElbLoadBalancerAccessLog& value) { m_accessLogHasBeenSet = true; m_accessLog = value; }
54 inline void SetAccessLog(AwsElbLoadBalancerAccessLog&& value) { m_accessLogHasBeenSet = true; m_accessLog = std::move(value); }
56 inline AwsElbLoadBalancerAttributes& WithAccessLog(AwsElbLoadBalancerAccessLog&& value) { SetAccessLog(std::move(value)); return *this;}
58
60
66 inline const AwsElbLoadBalancerConnectionDraining& GetConnectionDraining() const{ return m_connectionDraining; }
67 inline bool ConnectionDrainingHasBeenSet() const { return m_connectionDrainingHasBeenSet; }
68 inline void SetConnectionDraining(const AwsElbLoadBalancerConnectionDraining& value) { m_connectionDrainingHasBeenSet = true; m_connectionDraining = value; }
69 inline void SetConnectionDraining(AwsElbLoadBalancerConnectionDraining&& value) { m_connectionDrainingHasBeenSet = true; m_connectionDraining = std::move(value); }
73
75
81 inline const AwsElbLoadBalancerConnectionSettings& GetConnectionSettings() const{ return m_connectionSettings; }
82 inline bool ConnectionSettingsHasBeenSet() const { return m_connectionSettingsHasBeenSet; }
83 inline void SetConnectionSettings(const AwsElbLoadBalancerConnectionSettings& value) { m_connectionSettingsHasBeenSet = true; m_connectionSettings = value; }
84 inline void SetConnectionSettings(AwsElbLoadBalancerConnectionSettings&& value) { m_connectionSettingsHasBeenSet = true; m_connectionSettings = std::move(value); }
88
90
95 inline const AwsElbLoadBalancerCrossZoneLoadBalancing& GetCrossZoneLoadBalancing() const{ return m_crossZoneLoadBalancing; }
96 inline bool CrossZoneLoadBalancingHasBeenSet() const { return m_crossZoneLoadBalancingHasBeenSet; }
97 inline void SetCrossZoneLoadBalancing(const AwsElbLoadBalancerCrossZoneLoadBalancing& value) { m_crossZoneLoadBalancingHasBeenSet = true; m_crossZoneLoadBalancing = value; }
98 inline void SetCrossZoneLoadBalancing(AwsElbLoadBalancerCrossZoneLoadBalancing&& value) { m_crossZoneLoadBalancingHasBeenSet = true; m_crossZoneLoadBalancing = std::move(value); }
102
104
107 inline const Aws::Vector<AwsElbLoadBalancerAdditionalAttribute>& GetAdditionalAttributes() const{ return m_additionalAttributes; }
108 inline bool AdditionalAttributesHasBeenSet() const { return m_additionalAttributesHasBeenSet; }
109 inline void SetAdditionalAttributes(const Aws::Vector<AwsElbLoadBalancerAdditionalAttribute>& value) { m_additionalAttributesHasBeenSet = true; m_additionalAttributes = value; }
110 inline void SetAdditionalAttributes(Aws::Vector<AwsElbLoadBalancerAdditionalAttribute>&& value) { m_additionalAttributesHasBeenSet = true; m_additionalAttributes = std::move(value); }
113 inline AwsElbLoadBalancerAttributes& AddAdditionalAttributes(const AwsElbLoadBalancerAdditionalAttribute& value) { m_additionalAttributesHasBeenSet = true; m_additionalAttributes.push_back(value); return *this; }
114 inline AwsElbLoadBalancerAttributes& AddAdditionalAttributes(AwsElbLoadBalancerAdditionalAttribute&& value) { m_additionalAttributesHasBeenSet = true; m_additionalAttributes.push_back(std::move(value)); return *this; }
116 private:
117
118 AwsElbLoadBalancerAccessLog m_accessLog;
119 bool m_accessLogHasBeenSet = false;
120
121 AwsElbLoadBalancerConnectionDraining m_connectionDraining;
122 bool m_connectionDrainingHasBeenSet = false;
123
124 AwsElbLoadBalancerConnectionSettings m_connectionSettings;
125 bool m_connectionSettingsHasBeenSet = false;
126
127 AwsElbLoadBalancerCrossZoneLoadBalancing m_crossZoneLoadBalancing;
128 bool m_crossZoneLoadBalancingHasBeenSet = false;
129
131 bool m_additionalAttributesHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace SecurityHub
136} // namespace Aws
const Aws::Vector< AwsElbLoadBalancerAdditionalAttribute > & GetAdditionalAttributes() const
const AwsElbLoadBalancerAccessLog & GetAccessLog() const
void SetAdditionalAttributes(Aws::Vector< AwsElbLoadBalancerAdditionalAttribute > &&value)
AwsElbLoadBalancerAttributes & WithAccessLog(AwsElbLoadBalancerAccessLog &&value)
AwsElbLoadBalancerAttributes & WithAdditionalAttributes(const Aws::Vector< AwsElbLoadBalancerAdditionalAttribute > &value)
AwsElbLoadBalancerAttributes & WithCrossZoneLoadBalancing(AwsElbLoadBalancerCrossZoneLoadBalancing &&value)
AwsElbLoadBalancerAttributes & WithAccessLog(const AwsElbLoadBalancerAccessLog &value)
void SetAccessLog(const AwsElbLoadBalancerAccessLog &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsElbLoadBalancerAttributes(Aws::Utils::Json::JsonView jsonValue)
AwsElbLoadBalancerAttributes & WithConnectionDraining(AwsElbLoadBalancerConnectionDraining &&value)
const AwsElbLoadBalancerConnectionDraining & GetConnectionDraining() const
void SetConnectionSettings(AwsElbLoadBalancerConnectionSettings &&value)
const AwsElbLoadBalancerConnectionSettings & GetConnectionSettings() const
AwsElbLoadBalancerAttributes & AddAdditionalAttributes(AwsElbLoadBalancerAdditionalAttribute &&value)
void SetAdditionalAttributes(const Aws::Vector< AwsElbLoadBalancerAdditionalAttribute > &value)
AwsElbLoadBalancerAttributes & WithConnectionDraining(const AwsElbLoadBalancerConnectionDraining &value)
void SetConnectionSettings(const AwsElbLoadBalancerConnectionSettings &value)
const AwsElbLoadBalancerCrossZoneLoadBalancing & GetCrossZoneLoadBalancing() const
AWS_SECURITYHUB_API AwsElbLoadBalancerAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsElbLoadBalancerAttributes & WithCrossZoneLoadBalancing(const AwsElbLoadBalancerCrossZoneLoadBalancing &value)
void SetCrossZoneLoadBalancing(const AwsElbLoadBalancerCrossZoneLoadBalancing &value)
AwsElbLoadBalancerAttributes & WithConnectionSettings(const AwsElbLoadBalancerConnectionSettings &value)
AwsElbLoadBalancerAttributes & WithConnectionSettings(AwsElbLoadBalancerConnectionSettings &&value)
AwsElbLoadBalancerAttributes & AddAdditionalAttributes(const AwsElbLoadBalancerAdditionalAttribute &value)
AwsElbLoadBalancerAttributes & WithAdditionalAttributes(Aws::Vector< AwsElbLoadBalancerAdditionalAttribute > &&value)
void SetCrossZoneLoadBalancing(AwsElbLoadBalancerCrossZoneLoadBalancing &&value)
void SetConnectionDraining(AwsElbLoadBalancerConnectionDraining &&value)
void SetConnectionDraining(const AwsElbLoadBalancerConnectionDraining &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue