AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SslPolicy.h
1
6#pragma once
7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/elasticloadbalancingv2/model/Cipher.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace ElasticLoadBalancingv2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_ELASTICLOADBALANCINGV2_API SslPolicy();
38 AWS_ELASTICLOADBALANCINGV2_API SslPolicy(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_ELASTICLOADBALANCINGV2_API SslPolicy& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline const Aws::Vector<Aws::String>& GetSslProtocols() const{ return m_sslProtocols; }
50 inline bool SslProtocolsHasBeenSet() const { return m_sslProtocolsHasBeenSet; }
51 inline void SetSslProtocols(const Aws::Vector<Aws::String>& value) { m_sslProtocolsHasBeenSet = true; m_sslProtocols = value; }
52 inline void SetSslProtocols(Aws::Vector<Aws::String>&& value) { m_sslProtocolsHasBeenSet = true; m_sslProtocols = std::move(value); }
53 inline SslPolicy& WithSslProtocols(const Aws::Vector<Aws::String>& value) { SetSslProtocols(value); return *this;}
54 inline SslPolicy& WithSslProtocols(Aws::Vector<Aws::String>&& value) { SetSslProtocols(std::move(value)); return *this;}
55 inline SslPolicy& AddSslProtocols(const Aws::String& value) { m_sslProtocolsHasBeenSet = true; m_sslProtocols.push_back(value); return *this; }
56 inline SslPolicy& AddSslProtocols(Aws::String&& value) { m_sslProtocolsHasBeenSet = true; m_sslProtocols.push_back(std::move(value)); return *this; }
57 inline SslPolicy& AddSslProtocols(const char* value) { m_sslProtocolsHasBeenSet = true; m_sslProtocols.push_back(value); return *this; }
59
61
64 inline const Aws::Vector<Cipher>& GetCiphers() const{ return m_ciphers; }
65 inline bool CiphersHasBeenSet() const { return m_ciphersHasBeenSet; }
66 inline void SetCiphers(const Aws::Vector<Cipher>& value) { m_ciphersHasBeenSet = true; m_ciphers = value; }
67 inline void SetCiphers(Aws::Vector<Cipher>&& value) { m_ciphersHasBeenSet = true; m_ciphers = std::move(value); }
68 inline SslPolicy& WithCiphers(const Aws::Vector<Cipher>& value) { SetCiphers(value); return *this;}
69 inline SslPolicy& WithCiphers(Aws::Vector<Cipher>&& value) { SetCiphers(std::move(value)); return *this;}
70 inline SslPolicy& AddCiphers(const Cipher& value) { m_ciphersHasBeenSet = true; m_ciphers.push_back(value); return *this; }
71 inline SslPolicy& AddCiphers(Cipher&& value) { m_ciphersHasBeenSet = true; m_ciphers.push_back(std::move(value)); return *this; }
73
75
78 inline const Aws::String& GetName() const{ return m_name; }
79 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
80 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
81 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
82 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
83 inline SslPolicy& WithName(const Aws::String& value) { SetName(value); return *this;}
84 inline SslPolicy& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
85 inline SslPolicy& WithName(const char* value) { SetName(value); return *this;}
87
89
92 inline const Aws::Vector<Aws::String>& GetSupportedLoadBalancerTypes() const{ return m_supportedLoadBalancerTypes; }
93 inline bool SupportedLoadBalancerTypesHasBeenSet() const { return m_supportedLoadBalancerTypesHasBeenSet; }
94 inline void SetSupportedLoadBalancerTypes(const Aws::Vector<Aws::String>& value) { m_supportedLoadBalancerTypesHasBeenSet = true; m_supportedLoadBalancerTypes = value; }
95 inline void SetSupportedLoadBalancerTypes(Aws::Vector<Aws::String>&& value) { m_supportedLoadBalancerTypesHasBeenSet = true; m_supportedLoadBalancerTypes = std::move(value); }
98 inline SslPolicy& AddSupportedLoadBalancerTypes(const Aws::String& value) { m_supportedLoadBalancerTypesHasBeenSet = true; m_supportedLoadBalancerTypes.push_back(value); return *this; }
99 inline SslPolicy& AddSupportedLoadBalancerTypes(Aws::String&& value) { m_supportedLoadBalancerTypesHasBeenSet = true; m_supportedLoadBalancerTypes.push_back(std::move(value)); return *this; }
100 inline SslPolicy& AddSupportedLoadBalancerTypes(const char* value) { m_supportedLoadBalancerTypesHasBeenSet = true; m_supportedLoadBalancerTypes.push_back(value); return *this; }
102 private:
103
104 Aws::Vector<Aws::String> m_sslProtocols;
105 bool m_sslProtocolsHasBeenSet = false;
106
107 Aws::Vector<Cipher> m_ciphers;
108 bool m_ciphersHasBeenSet = false;
109
110 Aws::String m_name;
111 bool m_nameHasBeenSet = false;
112
113 Aws::Vector<Aws::String> m_supportedLoadBalancerTypes;
114 bool m_supportedLoadBalancerTypesHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace ElasticLoadBalancingv2
119} // namespace Aws
void SetSupportedLoadBalancerTypes(const Aws::Vector< Aws::String > &value)
Definition SslPolicy.h:94
void SetSupportedLoadBalancerTypes(Aws::Vector< Aws::String > &&value)
Definition SslPolicy.h:95
const Aws::Vector< Cipher > & GetCiphers() const
Definition SslPolicy.h:64
void SetCiphers(Aws::Vector< Cipher > &&value)
Definition SslPolicy.h:67
AWS_ELASTICLOADBALANCINGV2_API SslPolicy & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SslPolicy & AddSupportedLoadBalancerTypes(const Aws::String &value)
Definition SslPolicy.h:98
SslPolicy & AddCiphers(Cipher &&value)
Definition SslPolicy.h:71
SslPolicy & WithName(const Aws::String &value)
Definition SslPolicy.h:83
SslPolicy & AddSslProtocols(const char *value)
Definition SslPolicy.h:57
const Aws::Vector< Aws::String > & GetSslProtocols() const
Definition SslPolicy.h:49
const Aws::Vector< Aws::String > & GetSupportedLoadBalancerTypes() const
Definition SslPolicy.h:92
SslPolicy & AddCiphers(const Cipher &value)
Definition SslPolicy.h:70
void SetSslProtocols(Aws::Vector< Aws::String > &&value)
Definition SslPolicy.h:52
AWS_ELASTICLOADBALANCINGV2_API SslPolicy(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API SslPolicy()
SslPolicy & AddSslProtocols(Aws::String &&value)
Definition SslPolicy.h:56
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetName(const Aws::String &value)
Definition SslPolicy.h:80
SslPolicy & WithCiphers(Aws::Vector< Cipher > &&value)
Definition SslPolicy.h:69
SslPolicy & WithCiphers(const Aws::Vector< Cipher > &value)
Definition SslPolicy.h:68
SslPolicy & WithSupportedLoadBalancerTypes(Aws::Vector< Aws::String > &&value)
Definition SslPolicy.h:97
void SetCiphers(const Aws::Vector< Cipher > &value)
Definition SslPolicy.h:66
SslPolicy & WithName(const char *value)
Definition SslPolicy.h:85
void SetSslProtocols(const Aws::Vector< Aws::String > &value)
Definition SslPolicy.h:51
const Aws::String & GetName() const
Definition SslPolicy.h:78
SslPolicy & WithName(Aws::String &&value)
Definition SslPolicy.h:84
SslPolicy & AddSupportedLoadBalancerTypes(Aws::String &&value)
Definition SslPolicy.h:99
SslPolicy & AddSupportedLoadBalancerTypes(const char *value)
Definition SslPolicy.h:100
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
SslPolicy & WithSslProtocols(Aws::Vector< Aws::String > &&value)
Definition SslPolicy.h:54
SslPolicy & WithSupportedLoadBalancerTypes(const Aws::Vector< Aws::String > &value)
Definition SslPolicy.h:96
SslPolicy & WithSslProtocols(const Aws::Vector< Aws::String > &value)
Definition SslPolicy.h:53
SslPolicy & AddSslProtocols(const Aws::String &value)
Definition SslPolicy.h:55
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream