AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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