AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VPCConnection.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/VPCConnectionResourceStatus.h>
11#include <aws/quicksight/model/VPCConnectionAvailabilityStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/quicksight/model/NetworkInterface.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace QuickSight
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_QUICKSIGHT_API VPCConnection();
40 AWS_QUICKSIGHT_API VPCConnection(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QUICKSIGHT_API VPCConnection& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const Aws::String& GetVPCConnectionId() const{ return m_vPCConnectionId; }
52 inline bool VPCConnectionIdHasBeenSet() const { return m_vPCConnectionIdHasBeenSet; }
53 inline void SetVPCConnectionId(const Aws::String& value) { m_vPCConnectionIdHasBeenSet = true; m_vPCConnectionId = value; }
54 inline void SetVPCConnectionId(Aws::String&& value) { m_vPCConnectionIdHasBeenSet = true; m_vPCConnectionId = std::move(value); }
55 inline void SetVPCConnectionId(const char* value) { m_vPCConnectionIdHasBeenSet = true; m_vPCConnectionId.assign(value); }
56 inline VPCConnection& WithVPCConnectionId(const Aws::String& value) { SetVPCConnectionId(value); return *this;}
57 inline VPCConnection& WithVPCConnectionId(Aws::String&& value) { SetVPCConnectionId(std::move(value)); return *this;}
58 inline VPCConnection& WithVPCConnectionId(const char* value) { SetVPCConnectionId(value); return *this;}
60
62
65 inline const Aws::String& GetArn() const{ return m_arn; }
66 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
67 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
68 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
69 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
70 inline VPCConnection& WithArn(const Aws::String& value) { SetArn(value); return *this;}
71 inline VPCConnection& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
72 inline VPCConnection& WithArn(const char* value) { SetArn(value); return *this;}
74
76
79 inline const Aws::String& GetName() const{ return m_name; }
80 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
81 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
82 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
83 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
84 inline VPCConnection& WithName(const Aws::String& value) { SetName(value); return *this;}
85 inline VPCConnection& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
86 inline VPCConnection& WithName(const char* value) { SetName(value); return *this;}
88
90
93 inline const Aws::String& GetVPCId() const{ return m_vPCId; }
94 inline bool VPCIdHasBeenSet() const { return m_vPCIdHasBeenSet; }
95 inline void SetVPCId(const Aws::String& value) { m_vPCIdHasBeenSet = true; m_vPCId = value; }
96 inline void SetVPCId(Aws::String&& value) { m_vPCIdHasBeenSet = true; m_vPCId = std::move(value); }
97 inline void SetVPCId(const char* value) { m_vPCIdHasBeenSet = true; m_vPCId.assign(value); }
98 inline VPCConnection& WithVPCId(const Aws::String& value) { SetVPCId(value); return *this;}
99 inline VPCConnection& WithVPCId(Aws::String&& value) { SetVPCId(std::move(value)); return *this;}
100 inline VPCConnection& WithVPCId(const char* value) { SetVPCId(value); return *this;}
102
104
107 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
108 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
109 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
110 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
112 inline VPCConnection& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
113 inline VPCConnection& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
114 inline VPCConnection& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
115 inline VPCConnection& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
117
119
122 inline const Aws::Vector<Aws::String>& GetDnsResolvers() const{ return m_dnsResolvers; }
123 inline bool DnsResolversHasBeenSet() const { return m_dnsResolversHasBeenSet; }
124 inline void SetDnsResolvers(const Aws::Vector<Aws::String>& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers = value; }
125 inline void SetDnsResolvers(Aws::Vector<Aws::String>&& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers = std::move(value); }
126 inline VPCConnection& WithDnsResolvers(const Aws::Vector<Aws::String>& value) { SetDnsResolvers(value); return *this;}
127 inline VPCConnection& WithDnsResolvers(Aws::Vector<Aws::String>&& value) { SetDnsResolvers(std::move(value)); return *this;}
128 inline VPCConnection& AddDnsResolvers(const Aws::String& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers.push_back(value); return *this; }
129 inline VPCConnection& AddDnsResolvers(Aws::String&& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers.push_back(std::move(value)); return *this; }
130 inline VPCConnection& AddDnsResolvers(const char* value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers.push_back(value); return *this; }
132
134
137 inline const VPCConnectionResourceStatus& GetStatus() const{ return m_status; }
138 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
139 inline void SetStatus(const VPCConnectionResourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
140 inline void SetStatus(VPCConnectionResourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
141 inline VPCConnection& WithStatus(const VPCConnectionResourceStatus& value) { SetStatus(value); return *this;}
142 inline VPCConnection& WithStatus(VPCConnectionResourceStatus&& value) { SetStatus(std::move(value)); return *this;}
144
146
149 inline const VPCConnectionAvailabilityStatus& GetAvailabilityStatus() const{ return m_availabilityStatus; }
150 inline bool AvailabilityStatusHasBeenSet() const { return m_availabilityStatusHasBeenSet; }
151 inline void SetAvailabilityStatus(const VPCConnectionAvailabilityStatus& value) { m_availabilityStatusHasBeenSet = true; m_availabilityStatus = value; }
152 inline void SetAvailabilityStatus(VPCConnectionAvailabilityStatus&& value) { m_availabilityStatusHasBeenSet = true; m_availabilityStatus = std::move(value); }
156
158
161 inline const Aws::Vector<NetworkInterface>& GetNetworkInterfaces() const{ return m_networkInterfaces; }
162 inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; }
163 inline void SetNetworkInterfaces(const Aws::Vector<NetworkInterface>& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = value; }
164 inline void SetNetworkInterfaces(Aws::Vector<NetworkInterface>&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = std::move(value); }
167 inline VPCConnection& AddNetworkInterfaces(const NetworkInterface& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(value); return *this; }
168 inline VPCConnection& AddNetworkInterfaces(NetworkInterface&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(std::move(value)); return *this; }
170
172
175 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
176 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
177 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
178 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
179 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
180 inline VPCConnection& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
181 inline VPCConnection& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
182 inline VPCConnection& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
184
186
189 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
190 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
191 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
192 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
193 inline VPCConnection& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
194 inline VPCConnection& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
196
198
201 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
202 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
203 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
204 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
205 inline VPCConnection& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
206 inline VPCConnection& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
208 private:
209
210 Aws::String m_vPCConnectionId;
211 bool m_vPCConnectionIdHasBeenSet = false;
212
213 Aws::String m_arn;
214 bool m_arnHasBeenSet = false;
215
216 Aws::String m_name;
217 bool m_nameHasBeenSet = false;
218
219 Aws::String m_vPCId;
220 bool m_vPCIdHasBeenSet = false;
221
222 Aws::Vector<Aws::String> m_securityGroupIds;
223 bool m_securityGroupIdsHasBeenSet = false;
224
225 Aws::Vector<Aws::String> m_dnsResolvers;
226 bool m_dnsResolversHasBeenSet = false;
227
229 bool m_statusHasBeenSet = false;
230
231 VPCConnectionAvailabilityStatus m_availabilityStatus;
232 bool m_availabilityStatusHasBeenSet = false;
233
234 Aws::Vector<NetworkInterface> m_networkInterfaces;
235 bool m_networkInterfacesHasBeenSet = false;
236
237 Aws::String m_roleArn;
238 bool m_roleArnHasBeenSet = false;
239
240 Aws::Utils::DateTime m_createdTime;
241 bool m_createdTimeHasBeenSet = false;
242
243 Aws::Utils::DateTime m_lastUpdatedTime;
244 bool m_lastUpdatedTimeHasBeenSet = false;
245 };
246
247} // namespace Model
248} // namespace QuickSight
249} // namespace Aws
VPCConnection & WithArn(const char *value)
const Aws::String & GetRoleArn() const
void SetVPCConnectionId(const char *value)
void SetRoleArn(Aws::String &&value)
void SetVPCId(const Aws::String &value)
void SetNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
VPCConnection & WithRoleArn(const Aws::String &value)
VPCConnection & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetDnsResolvers(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetDnsResolvers() const
VPCConnection & WithNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
VPCConnection & WithDnsResolvers(const Aws::Vector< Aws::String > &value)
VPCConnection & WithVPCConnectionId(Aws::String &&value)
AWS_QUICKSIGHT_API VPCConnection(Aws::Utils::Json::JsonView jsonValue)
VPCConnection & AddSecurityGroupIds(const Aws::String &value)
VPCConnection & AddDnsResolvers(const Aws::String &value)
VPCConnection & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetDnsResolvers(const Aws::Vector< Aws::String > &value)
VPCConnection & WithName(const Aws::String &value)
VPCConnection & WithNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
void SetStatus(VPCConnectionResourceStatus &&value)
void SetName(const Aws::String &value)
void SetStatus(const VPCConnectionResourceStatus &value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
VPCConnection & AddDnsResolvers(Aws::String &&value)
VPCConnection & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
VPCConnection & WithStatus(VPCConnectionResourceStatus &&value)
void SetArn(const Aws::String &value)
VPCConnection & WithAvailabilityStatus(const VPCConnectionAvailabilityStatus &value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
VPCConnection & WithCreatedTime(const Aws::Utils::DateTime &value)
VPCConnection & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const VPCConnectionAvailabilityStatus & GetAvailabilityStatus() const
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
AWS_QUICKSIGHT_API VPCConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
VPCConnection & AddSecurityGroupIds(const char *value)
VPCConnection & WithVPCId(const Aws::String &value)
VPCConnection & AddNetworkInterfaces(NetworkInterface &&value)
VPCConnection & WithName(Aws::String &&value)
const Aws::Vector< NetworkInterface > & GetNetworkInterfaces() const
VPCConnection & WithVPCId(Aws::String &&value)
VPCConnection & AddSecurityGroupIds(Aws::String &&value)
const VPCConnectionResourceStatus & GetStatus() const
void SetVPCConnectionId(Aws::String &&value)
void SetVPCId(Aws::String &&value)
VPCConnection & WithRoleArn(Aws::String &&value)
void SetName(Aws::String &&value)
void SetVPCConnectionId(const Aws::String &value)
VPCConnection & WithDnsResolvers(Aws::Vector< Aws::String > &&value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetAvailabilityStatus(VPCConnectionAvailabilityStatus &&value)
void SetRoleArn(const Aws::String &value)
VPCConnection & WithAvailabilityStatus(VPCConnectionAvailabilityStatus &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
VPCConnection & WithVPCConnectionId(const char *value)
VPCConnection & WithName(const char *value)
const Aws::String & GetVPCConnectionId() const
VPCConnection & WithArn(Aws::String &&value)
void SetArn(Aws::String &&value)
VPCConnection & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
VPCConnection & WithVPCId(const char *value)
void SetAvailabilityStatus(const VPCConnectionAvailabilityStatus &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
VPCConnection & WithRoleArn(const char *value)
const Aws::String & GetVPCId() const
void SetCreatedTime(Aws::Utils::DateTime &&value)
const Aws::String & GetArn() const
VPCConnection & AddDnsResolvers(const char *value)
VPCConnection & WithVPCConnectionId(const Aws::String &value)
VPCConnection & WithStatus(const VPCConnectionResourceStatus &value)
VPCConnection & WithArn(const Aws::String &value)
const Aws::String & GetName() const
void SetCreatedTime(const Aws::Utils::DateTime &value)
VPCConnection & AddNetworkInterfaces(const NetworkInterface &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue