AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateEndpointAccessResult.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/model/VpcEndpoint.h>
12#include <aws/redshift/model/ResponseMetadata.h>
13#include <aws/redshift/model/VpcSecurityGroupMembership.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Xml
24{
25 class XmlDocument;
26} // namespace Xml
27} // namespace Utils
28namespace Redshift
29{
30namespace Model
31{
38 {
39 public:
40 AWS_REDSHIFT_API CreateEndpointAccessResult();
43
44
46
49 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
50 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifier = value; }
51 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifier = std::move(value); }
52 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifier.assign(value); }
54 inline CreateEndpointAccessResult& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
55 inline CreateEndpointAccessResult& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
57
59
62 inline const Aws::String& GetResourceOwner() const{ return m_resourceOwner; }
63 inline void SetResourceOwner(const Aws::String& value) { m_resourceOwner = value; }
64 inline void SetResourceOwner(Aws::String&& value) { m_resourceOwner = std::move(value); }
65 inline void SetResourceOwner(const char* value) { m_resourceOwner.assign(value); }
66 inline CreateEndpointAccessResult& WithResourceOwner(const Aws::String& value) { SetResourceOwner(value); return *this;}
67 inline CreateEndpointAccessResult& WithResourceOwner(Aws::String&& value) { SetResourceOwner(std::move(value)); return *this;}
68 inline CreateEndpointAccessResult& WithResourceOwner(const char* value) { SetResourceOwner(value); return *this;}
70
72
76 inline const Aws::String& GetSubnetGroupName() const{ return m_subnetGroupName; }
77 inline void SetSubnetGroupName(const Aws::String& value) { m_subnetGroupName = value; }
78 inline void SetSubnetGroupName(Aws::String&& value) { m_subnetGroupName = std::move(value); }
79 inline void SetSubnetGroupName(const char* value) { m_subnetGroupName.assign(value); }
81 inline CreateEndpointAccessResult& WithSubnetGroupName(Aws::String&& value) { SetSubnetGroupName(std::move(value)); return *this;}
82 inline CreateEndpointAccessResult& WithSubnetGroupName(const char* value) { SetSubnetGroupName(value); return *this;}
84
86
89 inline const Aws::String& GetEndpointStatus() const{ return m_endpointStatus; }
90 inline void SetEndpointStatus(const Aws::String& value) { m_endpointStatus = value; }
91 inline void SetEndpointStatus(Aws::String&& value) { m_endpointStatus = std::move(value); }
92 inline void SetEndpointStatus(const char* value) { m_endpointStatus.assign(value); }
93 inline CreateEndpointAccessResult& WithEndpointStatus(const Aws::String& value) { SetEndpointStatus(value); return *this;}
94 inline CreateEndpointAccessResult& WithEndpointStatus(Aws::String&& value) { SetEndpointStatus(std::move(value)); return *this;}
95 inline CreateEndpointAccessResult& WithEndpointStatus(const char* value) { SetEndpointStatus(value); return *this;}
97
99
102 inline const Aws::String& GetEndpointName() const{ return m_endpointName; }
103 inline void SetEndpointName(const Aws::String& value) { m_endpointName = value; }
104 inline void SetEndpointName(Aws::String&& value) { m_endpointName = std::move(value); }
105 inline void SetEndpointName(const char* value) { m_endpointName.assign(value); }
106 inline CreateEndpointAccessResult& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;}
107 inline CreateEndpointAccessResult& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
108 inline CreateEndpointAccessResult& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetEndpointCreateTime() const{ return m_endpointCreateTime; }
116 inline void SetEndpointCreateTime(const Aws::Utils::DateTime& value) { m_endpointCreateTime = value; }
117 inline void SetEndpointCreateTime(Aws::Utils::DateTime&& value) { m_endpointCreateTime = std::move(value); }
121
123
126 inline int GetPort() const{ return m_port; }
127 inline void SetPort(int value) { m_port = value; }
128 inline CreateEndpointAccessResult& WithPort(int value) { SetPort(value); return *this;}
130
132
135 inline const Aws::String& GetAddress() const{ return m_address; }
136 inline void SetAddress(const Aws::String& value) { m_address = value; }
137 inline void SetAddress(Aws::String&& value) { m_address = std::move(value); }
138 inline void SetAddress(const char* value) { m_address.assign(value); }
139 inline CreateEndpointAccessResult& WithAddress(const Aws::String& value) { SetAddress(value); return *this;}
140 inline CreateEndpointAccessResult& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;}
141 inline CreateEndpointAccessResult& WithAddress(const char* value) { SetAddress(value); return *this;}
143
145
148 inline const Aws::Vector<VpcSecurityGroupMembership>& GetVpcSecurityGroups() const{ return m_vpcSecurityGroups; }
149 inline void SetVpcSecurityGroups(const Aws::Vector<VpcSecurityGroupMembership>& value) { m_vpcSecurityGroups = value; }
150 inline void SetVpcSecurityGroups(Aws::Vector<VpcSecurityGroupMembership>&& value) { m_vpcSecurityGroups = std::move(value); }
153 inline CreateEndpointAccessResult& AddVpcSecurityGroups(const VpcSecurityGroupMembership& value) { m_vpcSecurityGroups.push_back(value); return *this; }
154 inline CreateEndpointAccessResult& AddVpcSecurityGroups(VpcSecurityGroupMembership&& value) { m_vpcSecurityGroups.push_back(std::move(value)); return *this; }
156
158
159 inline const VpcEndpoint& GetVpcEndpoint() const{ return m_vpcEndpoint; }
160 inline void SetVpcEndpoint(const VpcEndpoint& value) { m_vpcEndpoint = value; }
161 inline void SetVpcEndpoint(VpcEndpoint&& value) { m_vpcEndpoint = std::move(value); }
162 inline CreateEndpointAccessResult& WithVpcEndpoint(const VpcEndpoint& value) { SetVpcEndpoint(value); return *this;}
163 inline CreateEndpointAccessResult& WithVpcEndpoint(VpcEndpoint&& value) { SetVpcEndpoint(std::move(value)); return *this;}
165
167
168 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
169 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
170 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
172 inline CreateEndpointAccessResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
174 private:
175
176 Aws::String m_clusterIdentifier;
177
178 Aws::String m_resourceOwner;
179
180 Aws::String m_subnetGroupName;
181
182 Aws::String m_endpointStatus;
183
184 Aws::String m_endpointName;
185
186 Aws::Utils::DateTime m_endpointCreateTime;
187
188 int m_port;
189
190 Aws::String m_address;
191
192 Aws::Vector<VpcSecurityGroupMembership> m_vpcSecurityGroups;
193
194 VpcEndpoint m_vpcEndpoint;
195
196 ResponseMetadata m_responseMetadata;
197 };
198
199} // namespace Model
200} // namespace Redshift
201} // namespace Aws
CreateEndpointAccessResult & WithResourceOwner(const char *value)
void SetVpcSecurityGroups(Aws::Vector< VpcSecurityGroupMembership > &&value)
CreateEndpointAccessResult & WithVpcEndpoint(const VpcEndpoint &value)
CreateEndpointAccessResult & WithSubnetGroupName(const char *value)
CreateEndpointAccessResult & AddVpcSecurityGroups(const VpcSecurityGroupMembership &value)
CreateEndpointAccessResult & WithAddress(const Aws::String &value)
AWS_REDSHIFT_API CreateEndpointAccessResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_REDSHIFT_API CreateEndpointAccessResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateEndpointAccessResult & WithClusterIdentifier(Aws::String &&value)
CreateEndpointAccessResult & WithEndpointName(const char *value)
CreateEndpointAccessResult & WithEndpointStatus(const char *value)
CreateEndpointAccessResult & WithEndpointName(Aws::String &&value)
CreateEndpointAccessResult & WithSubnetGroupName(const Aws::String &value)
CreateEndpointAccessResult & WithResponseMetadata(const ResponseMetadata &value)
CreateEndpointAccessResult & WithEndpointCreateTime(Aws::Utils::DateTime &&value)
CreateEndpointAccessResult & WithClusterIdentifier(const Aws::String &value)
CreateEndpointAccessResult & WithResourceOwner(Aws::String &&value)
CreateEndpointAccessResult & WithAddress(Aws::String &&value)
CreateEndpointAccessResult & WithSubnetGroupName(Aws::String &&value)
void SetVpcSecurityGroups(const Aws::Vector< VpcSecurityGroupMembership > &value)
void SetEndpointCreateTime(const Aws::Utils::DateTime &value)
CreateEndpointAccessResult & AddVpcSecurityGroups(VpcSecurityGroupMembership &&value)
CreateEndpointAccessResult & WithEndpointStatus(Aws::String &&value)
CreateEndpointAccessResult & WithAddress(const char *value)
CreateEndpointAccessResult & WithResponseMetadata(ResponseMetadata &&value)
const Aws::Vector< VpcSecurityGroupMembership > & GetVpcSecurityGroups() const
CreateEndpointAccessResult & WithEndpointCreateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEndpointCreateTime() const
CreateEndpointAccessResult & WithEndpointName(const Aws::String &value)
CreateEndpointAccessResult & WithVpcSecurityGroups(Aws::Vector< VpcSecurityGroupMembership > &&value)
CreateEndpointAccessResult & WithVpcEndpoint(VpcEndpoint &&value)
CreateEndpointAccessResult & WithEndpointStatus(const Aws::String &value)
CreateEndpointAccessResult & WithVpcSecurityGroups(const Aws::Vector< VpcSecurityGroupMembership > &value)
CreateEndpointAccessResult & WithResourceOwner(const Aws::String &value)
CreateEndpointAccessResult & WithClusterIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument