AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcEndpoint.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/model/NetworkInterface.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace Redshift
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_REDSHIFT_API VpcEndpoint();
38 AWS_REDSHIFT_API VpcEndpoint(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_REDSHIFT_API VpcEndpoint& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
50 inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; }
51 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
52 inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; }
53 inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); }
54 inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); }
55 inline VpcEndpoint& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;}
56 inline VpcEndpoint& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;}
57 inline VpcEndpoint& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;}
59
61
64 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
65 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
66 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
67 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
68 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
69 inline VpcEndpoint& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
70 inline VpcEndpoint& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
71 inline VpcEndpoint& WithVpcId(const char* value) { SetVpcId(value); return *this;}
73
75
79 inline const Aws::Vector<NetworkInterface>& GetNetworkInterfaces() const{ return m_networkInterfaces; }
80 inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; }
81 inline void SetNetworkInterfaces(const Aws::Vector<NetworkInterface>& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = value; }
82 inline void SetNetworkInterfaces(Aws::Vector<NetworkInterface>&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = std::move(value); }
84 inline VpcEndpoint& WithNetworkInterfaces(Aws::Vector<NetworkInterface>&& value) { SetNetworkInterfaces(std::move(value)); return *this;}
85 inline VpcEndpoint& AddNetworkInterfaces(const NetworkInterface& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(value); return *this; }
86 inline VpcEndpoint& AddNetworkInterfaces(NetworkInterface&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(std::move(value)); return *this; }
88 private:
89
90 Aws::String m_vpcEndpointId;
91 bool m_vpcEndpointIdHasBeenSet = false;
92
93 Aws::String m_vpcId;
94 bool m_vpcIdHasBeenSet = false;
95
96 Aws::Vector<NetworkInterface> m_networkInterfaces;
97 bool m_networkInterfacesHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Redshift
102} // namespace Aws
void SetVpcEndpointId(const char *value)
Definition VpcEndpoint.h:54
void SetNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
Definition VpcEndpoint.h:82
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VpcEndpoint & WithVpcId(const Aws::String &value)
Definition VpcEndpoint.h:69
const Aws::String & GetVpcId() const
Definition VpcEndpoint.h:64
VpcEndpoint & WithVpcEndpointId(Aws::String &&value)
Definition VpcEndpoint.h:56
AWS_REDSHIFT_API VpcEndpoint(const Aws::Utils::Xml::XmlNode &xmlNode)
VpcEndpoint & WithNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
Definition VpcEndpoint.h:83
VpcEndpoint & WithVpcEndpointId(const char *value)
Definition VpcEndpoint.h:57
VpcEndpoint & AddNetworkInterfaces(NetworkInterface &&value)
Definition VpcEndpoint.h:86
const Aws::Vector< NetworkInterface > & GetNetworkInterfaces() const
Definition VpcEndpoint.h:79
VpcEndpoint & AddNetworkInterfaces(const NetworkInterface &value)
Definition VpcEndpoint.h:85
void SetNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
Definition VpcEndpoint.h:81
void SetVpcId(const Aws::String &value)
Definition VpcEndpoint.h:66
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetVpcEndpointId(Aws::String &&value)
Definition VpcEndpoint.h:53
const Aws::String & GetVpcEndpointId() const
Definition VpcEndpoint.h:50
void SetVpcId(Aws::String &&value)
Definition VpcEndpoint.h:67
void SetVpcId(const char *value)
Definition VpcEndpoint.h:68
VpcEndpoint & WithVpcId(const char *value)
Definition VpcEndpoint.h:71
void SetVpcEndpointId(const Aws::String &value)
Definition VpcEndpoint.h:52
AWS_REDSHIFT_API VpcEndpoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VpcEndpoint & WithVpcEndpointId(const Aws::String &value)
Definition VpcEndpoint.h:55
VpcEndpoint & WithNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
Definition VpcEndpoint.h:84
VpcEndpoint & WithVpcId(Aws::String &&value)
Definition VpcEndpoint.h:70
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