AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteEndpointAccessResult.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 DeleteEndpointAccessResult();
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 DeleteEndpointAccessResult& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
55 inline DeleteEndpointAccessResult& 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 DeleteEndpointAccessResult& WithResourceOwner(const Aws::String& value) { SetResourceOwner(value); return *this;}
67 inline DeleteEndpointAccessResult& WithResourceOwner(Aws::String&& value) { SetResourceOwner(std::move(value)); return *this;}
68 inline DeleteEndpointAccessResult& 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 DeleteEndpointAccessResult& WithSubnetGroupName(Aws::String&& value) { SetSubnetGroupName(std::move(value)); return *this;}
82 inline DeleteEndpointAccessResult& 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 DeleteEndpointAccessResult& WithEndpointStatus(const Aws::String& value) { SetEndpointStatus(value); return *this;}
94 inline DeleteEndpointAccessResult& WithEndpointStatus(Aws::String&& value) { SetEndpointStatus(std::move(value)); return *this;}
95 inline DeleteEndpointAccessResult& 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 DeleteEndpointAccessResult& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;}
107 inline DeleteEndpointAccessResult& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
108 inline DeleteEndpointAccessResult& 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 DeleteEndpointAccessResult& 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 DeleteEndpointAccessResult& WithAddress(const Aws::String& value) { SetAddress(value); return *this;}
140 inline DeleteEndpointAccessResult& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;}
141 inline DeleteEndpointAccessResult& 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 DeleteEndpointAccessResult& AddVpcSecurityGroups(const VpcSecurityGroupMembership& value) { m_vpcSecurityGroups.push_back(value); return *this; }
154 inline DeleteEndpointAccessResult& 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 DeleteEndpointAccessResult& WithVpcEndpoint(const VpcEndpoint& value) { SetVpcEndpoint(value); return *this;}
163 inline DeleteEndpointAccessResult& 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 DeleteEndpointAccessResult& 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
DeleteEndpointAccessResult & AddVpcSecurityGroups(VpcSecurityGroupMembership &&value)
DeleteEndpointAccessResult & WithVpcEndpoint(const VpcEndpoint &value)
DeleteEndpointAccessResult & WithVpcSecurityGroups(const Aws::Vector< VpcSecurityGroupMembership > &value)
DeleteEndpointAccessResult & WithAddress(const Aws::String &value)
DeleteEndpointAccessResult & AddVpcSecurityGroups(const VpcSecurityGroupMembership &value)
DeleteEndpointAccessResult & WithEndpointStatus(Aws::String &&value)
DeleteEndpointAccessResult & WithResourceOwner(const char *value)
DeleteEndpointAccessResult & WithResourceOwner(Aws::String &&value)
DeleteEndpointAccessResult & WithResponseMetadata(const ResponseMetadata &value)
DeleteEndpointAccessResult & WithEndpointName(const char *value)
DeleteEndpointAccessResult & WithAddress(const char *value)
DeleteEndpointAccessResult & WithSubnetGroupName(const Aws::String &value)
DeleteEndpointAccessResult & WithEndpointName(const Aws::String &value)
DeleteEndpointAccessResult & WithClusterIdentifier(const Aws::String &value)
DeleteEndpointAccessResult & WithSubnetGroupName(Aws::String &&value)
DeleteEndpointAccessResult & WithVpcEndpoint(VpcEndpoint &&value)
DeleteEndpointAccessResult & WithVpcSecurityGroups(Aws::Vector< VpcSecurityGroupMembership > &&value)
DeleteEndpointAccessResult & WithClusterIdentifier(const char *value)
DeleteEndpointAccessResult & WithAddress(Aws::String &&value)
DeleteEndpointAccessResult & WithEndpointCreateTime(const Aws::Utils::DateTime &value)
void SetEndpointCreateTime(const Aws::Utils::DateTime &value)
DeleteEndpointAccessResult & WithEndpointName(Aws::String &&value)
AWS_REDSHIFT_API DeleteEndpointAccessResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetVpcSecurityGroups(Aws::Vector< VpcSecurityGroupMembership > &&value)
DeleteEndpointAccessResult & WithResponseMetadata(ResponseMetadata &&value)
AWS_REDSHIFT_API DeleteEndpointAccessResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Utils::DateTime & GetEndpointCreateTime() const
DeleteEndpointAccessResult & WithSubnetGroupName(const char *value)
DeleteEndpointAccessResult & WithEndpointStatus(const Aws::String &value)
DeleteEndpointAccessResult & WithEndpointCreateTime(Aws::Utils::DateTime &&value)
DeleteEndpointAccessResult & WithEndpointStatus(const char *value)
void SetVpcSecurityGroups(const Aws::Vector< VpcSecurityGroupMembership > &value)
DeleteEndpointAccessResult & WithResourceOwner(const Aws::String &value)
DeleteEndpointAccessResult & WithClusterIdentifier(Aws::String &&value)
const Aws::Vector< VpcSecurityGroupMembership > & GetVpcSecurityGroups() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument