AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsElbLoadBalancerPolicies.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/model/AwsElbAppCookieStickinessPolicy.h>
10#include <aws/securityhub/model/AwsElbLbCookieStickinessPolicy.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
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 SecurityHub
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SECURITYHUB_API AwsElbLoadBalancerPolicies();
41 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::Vector<AwsElbAppCookieStickinessPolicy>& GetAppCookieStickinessPolicies() const{ return m_appCookieStickinessPolicies; }
50 inline bool AppCookieStickinessPoliciesHasBeenSet() const { return m_appCookieStickinessPoliciesHasBeenSet; }
51 inline void SetAppCookieStickinessPolicies(const Aws::Vector<AwsElbAppCookieStickinessPolicy>& value) { m_appCookieStickinessPoliciesHasBeenSet = true; m_appCookieStickinessPolicies = value; }
52 inline void SetAppCookieStickinessPolicies(Aws::Vector<AwsElbAppCookieStickinessPolicy>&& value) { m_appCookieStickinessPoliciesHasBeenSet = true; m_appCookieStickinessPolicies = std::move(value); }
55 inline AwsElbLoadBalancerPolicies& AddAppCookieStickinessPolicies(const AwsElbAppCookieStickinessPolicy& value) { m_appCookieStickinessPoliciesHasBeenSet = true; m_appCookieStickinessPolicies.push_back(value); return *this; }
56 inline AwsElbLoadBalancerPolicies& AddAppCookieStickinessPolicies(AwsElbAppCookieStickinessPolicy&& value) { m_appCookieStickinessPoliciesHasBeenSet = true; m_appCookieStickinessPolicies.push_back(std::move(value)); return *this; }
58
60
64 inline const Aws::Vector<AwsElbLbCookieStickinessPolicy>& GetLbCookieStickinessPolicies() const{ return m_lbCookieStickinessPolicies; }
65 inline bool LbCookieStickinessPoliciesHasBeenSet() const { return m_lbCookieStickinessPoliciesHasBeenSet; }
66 inline void SetLbCookieStickinessPolicies(const Aws::Vector<AwsElbLbCookieStickinessPolicy>& value) { m_lbCookieStickinessPoliciesHasBeenSet = true; m_lbCookieStickinessPolicies = value; }
67 inline void SetLbCookieStickinessPolicies(Aws::Vector<AwsElbLbCookieStickinessPolicy>&& value) { m_lbCookieStickinessPoliciesHasBeenSet = true; m_lbCookieStickinessPolicies = std::move(value); }
70 inline AwsElbLoadBalancerPolicies& AddLbCookieStickinessPolicies(const AwsElbLbCookieStickinessPolicy& value) { m_lbCookieStickinessPoliciesHasBeenSet = true; m_lbCookieStickinessPolicies.push_back(value); return *this; }
71 inline AwsElbLoadBalancerPolicies& AddLbCookieStickinessPolicies(AwsElbLbCookieStickinessPolicy&& value) { m_lbCookieStickinessPoliciesHasBeenSet = true; m_lbCookieStickinessPolicies.push_back(std::move(value)); return *this; }
73
75
78 inline const Aws::Vector<Aws::String>& GetOtherPolicies() const{ return m_otherPolicies; }
79 inline bool OtherPoliciesHasBeenSet() const { return m_otherPoliciesHasBeenSet; }
80 inline void SetOtherPolicies(const Aws::Vector<Aws::String>& value) { m_otherPoliciesHasBeenSet = true; m_otherPolicies = value; }
81 inline void SetOtherPolicies(Aws::Vector<Aws::String>&& value) { m_otherPoliciesHasBeenSet = true; m_otherPolicies = std::move(value); }
84 inline AwsElbLoadBalancerPolicies& AddOtherPolicies(const Aws::String& value) { m_otherPoliciesHasBeenSet = true; m_otherPolicies.push_back(value); return *this; }
85 inline AwsElbLoadBalancerPolicies& AddOtherPolicies(Aws::String&& value) { m_otherPoliciesHasBeenSet = true; m_otherPolicies.push_back(std::move(value)); return *this; }
86 inline AwsElbLoadBalancerPolicies& AddOtherPolicies(const char* value) { m_otherPoliciesHasBeenSet = true; m_otherPolicies.push_back(value); return *this; }
88 private:
89
90 Aws::Vector<AwsElbAppCookieStickinessPolicy> m_appCookieStickinessPolicies;
91 bool m_appCookieStickinessPoliciesHasBeenSet = false;
92
93 Aws::Vector<AwsElbLbCookieStickinessPolicy> m_lbCookieStickinessPolicies;
94 bool m_lbCookieStickinessPoliciesHasBeenSet = false;
95
96 Aws::Vector<Aws::String> m_otherPolicies;
97 bool m_otherPoliciesHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace SecurityHub
102} // namespace Aws
AWS_SECURITYHUB_API AwsElbLoadBalancerPolicies(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetOtherPolicies() const
AwsElbLoadBalancerPolicies & WithOtherPolicies(const Aws::Vector< Aws::String > &value)
AwsElbLoadBalancerPolicies & WithOtherPolicies(Aws::Vector< Aws::String > &&value)
AWS_SECURITYHUB_API AwsElbLoadBalancerPolicies & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsElbLoadBalancerPolicies & AddOtherPolicies(Aws::String &&value)
AwsElbLoadBalancerPolicies & AddAppCookieStickinessPolicies(AwsElbAppCookieStickinessPolicy &&value)
AwsElbLoadBalancerPolicies & AddLbCookieStickinessPolicies(AwsElbLbCookieStickinessPolicy &&value)
void SetLbCookieStickinessPolicies(Aws::Vector< AwsElbLbCookieStickinessPolicy > &&value)
AwsElbLoadBalancerPolicies & AddLbCookieStickinessPolicies(const AwsElbLbCookieStickinessPolicy &value)
void SetOtherPolicies(const Aws::Vector< Aws::String > &value)
void SetLbCookieStickinessPolicies(const Aws::Vector< AwsElbLbCookieStickinessPolicy > &value)
AwsElbLoadBalancerPolicies & WithAppCookieStickinessPolicies(Aws::Vector< AwsElbAppCookieStickinessPolicy > &&value)
AwsElbLoadBalancerPolicies & WithLbCookieStickinessPolicies(const Aws::Vector< AwsElbLbCookieStickinessPolicy > &value)
const Aws::Vector< AwsElbLbCookieStickinessPolicy > & GetLbCookieStickinessPolicies() const
AwsElbLoadBalancerPolicies & AddOtherPolicies(const char *value)
AwsElbLoadBalancerPolicies & WithAppCookieStickinessPolicies(const Aws::Vector< AwsElbAppCookieStickinessPolicy > &value)
AwsElbLoadBalancerPolicies & AddAppCookieStickinessPolicies(const AwsElbAppCookieStickinessPolicy &value)
void SetAppCookieStickinessPolicies(Aws::Vector< AwsElbAppCookieStickinessPolicy > &&value)
void SetOtherPolicies(Aws::Vector< Aws::String > &&value)
const Aws::Vector< AwsElbAppCookieStickinessPolicy > & GetAppCookieStickinessPolicies() const
AwsElbLoadBalancerPolicies & WithLbCookieStickinessPolicies(Aws::Vector< AwsElbLbCookieStickinessPolicy > &&value)
void SetAppCookieStickinessPolicies(const Aws::Vector< AwsElbAppCookieStickinessPolicy > &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsElbLoadBalancerPolicies & AddOtherPolicies(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue