AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VerifiedAccessEndpointLoadBalancerOptions.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/VerifiedAccessEndpointProtocol.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace EC2
24{
25namespace Model
26{
27
36 {
37 public:
41
42 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
50 inline const VerifiedAccessEndpointProtocol& GetProtocol() const{ return m_protocol; }
51 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
52 inline void SetProtocol(const VerifiedAccessEndpointProtocol& value) { m_protocolHasBeenSet = true; m_protocol = value; }
53 inline void SetProtocol(VerifiedAccessEndpointProtocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); }
57
59
62 inline int GetPort() const{ return m_port; }
63 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
64 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
65 inline VerifiedAccessEndpointLoadBalancerOptions& WithPort(int value) { SetPort(value); return *this;}
67
69
72 inline const Aws::String& GetLoadBalancerArn() const{ return m_loadBalancerArn; }
73 inline bool LoadBalancerArnHasBeenSet() const { return m_loadBalancerArnHasBeenSet; }
74 inline void SetLoadBalancerArn(const Aws::String& value) { m_loadBalancerArnHasBeenSet = true; m_loadBalancerArn = value; }
75 inline void SetLoadBalancerArn(Aws::String&& value) { m_loadBalancerArnHasBeenSet = true; m_loadBalancerArn = std::move(value); }
76 inline void SetLoadBalancerArn(const char* value) { m_loadBalancerArnHasBeenSet = true; m_loadBalancerArn.assign(value); }
79 inline VerifiedAccessEndpointLoadBalancerOptions& WithLoadBalancerArn(const char* value) { SetLoadBalancerArn(value); return *this;}
81
83
86 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
87 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
88 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
89 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
92 inline VerifiedAccessEndpointLoadBalancerOptions& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
93 inline VerifiedAccessEndpointLoadBalancerOptions& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
94 inline VerifiedAccessEndpointLoadBalancerOptions& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
96 private:
97
99 bool m_protocolHasBeenSet = false;
100
101 int m_port;
102 bool m_portHasBeenSet = false;
103
104 Aws::String m_loadBalancerArn;
105 bool m_loadBalancerArnHasBeenSet = false;
106
107 Aws::Vector<Aws::String> m_subnetIds;
108 bool m_subnetIdsHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace EC2
113} // namespace Aws
VerifiedAccessEndpointLoadBalancerOptions & AddSubnetIds(const char *value)
AWS_EC2_API VerifiedAccessEndpointLoadBalancerOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VerifiedAccessEndpointLoadBalancerOptions & AddSubnetIds(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
VerifiedAccessEndpointLoadBalancerOptions & WithSubnetIds(Aws::Vector< Aws::String > &&value)
AWS_EC2_API VerifiedAccessEndpointLoadBalancerOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
VerifiedAccessEndpointLoadBalancerOptions & WithSubnetIds(const Aws::Vector< Aws::String > &value)
VerifiedAccessEndpointLoadBalancerOptions & WithProtocol(VerifiedAccessEndpointProtocol &&value)
VerifiedAccessEndpointLoadBalancerOptions & WithLoadBalancerArn(const char *value)
VerifiedAccessEndpointLoadBalancerOptions & AddSubnetIds(const Aws::String &value)
VerifiedAccessEndpointLoadBalancerOptions & WithLoadBalancerArn(const Aws::String &value)
VerifiedAccessEndpointLoadBalancerOptions & WithProtocol(const VerifiedAccessEndpointProtocol &value)
VerifiedAccessEndpointLoadBalancerOptions & WithLoadBalancerArn(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
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