AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VPCConnectionSummary.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
38 {
39 public:
40 AWS_QUICKSIGHT_API VPCConnectionSummary();
41 AWS_QUICKSIGHT_API VPCConnectionSummary(Aws::Utils::Json::JsonView jsonValue);
43 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
52 inline const Aws::String& GetVPCConnectionId() const{ return m_vPCConnectionId; }
53 inline bool VPCConnectionIdHasBeenSet() const { return m_vPCConnectionIdHasBeenSet; }
54 inline void SetVPCConnectionId(const Aws::String& value) { m_vPCConnectionIdHasBeenSet = true; m_vPCConnectionId = value; }
55 inline void SetVPCConnectionId(Aws::String&& value) { m_vPCConnectionIdHasBeenSet = true; m_vPCConnectionId = std::move(value); }
56 inline void SetVPCConnectionId(const char* value) { m_vPCConnectionIdHasBeenSet = true; m_vPCConnectionId.assign(value); }
57 inline VPCConnectionSummary& WithVPCConnectionId(const Aws::String& value) { SetVPCConnectionId(value); return *this;}
58 inline VPCConnectionSummary& WithVPCConnectionId(Aws::String&& value) { SetVPCConnectionId(std::move(value)); return *this;}
59 inline VPCConnectionSummary& WithVPCConnectionId(const char* value) { SetVPCConnectionId(value); return *this;}
61
63
66 inline const Aws::String& GetArn() const{ return m_arn; }
67 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
68 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
69 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
70 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
71 inline VPCConnectionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
72 inline VPCConnectionSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
73 inline VPCConnectionSummary& WithArn(const char* value) { SetArn(value); return *this;}
75
77
80 inline const Aws::String& GetName() const{ return m_name; }
81 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
82 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
83 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
84 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
85 inline VPCConnectionSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
86 inline VPCConnectionSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
87 inline VPCConnectionSummary& WithName(const char* value) { SetName(value); return *this;}
89
91
94 inline const Aws::String& GetVPCId() const{ return m_vPCId; }
95 inline bool VPCIdHasBeenSet() const { return m_vPCIdHasBeenSet; }
96 inline void SetVPCId(const Aws::String& value) { m_vPCIdHasBeenSet = true; m_vPCId = value; }
97 inline void SetVPCId(Aws::String&& value) { m_vPCIdHasBeenSet = true; m_vPCId = std::move(value); }
98 inline void SetVPCId(const char* value) { m_vPCIdHasBeenSet = true; m_vPCId.assign(value); }
99 inline VPCConnectionSummary& WithVPCId(const Aws::String& value) { SetVPCId(value); return *this;}
100 inline VPCConnectionSummary& WithVPCId(Aws::String&& value) { SetVPCId(std::move(value)); return *this;}
101 inline VPCConnectionSummary& WithVPCId(const char* value) { SetVPCId(value); return *this;}
103
105
108 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
109 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
110 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
111 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
114 inline VPCConnectionSummary& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
115 inline VPCConnectionSummary& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
116 inline VPCConnectionSummary& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
118
120
123 inline const Aws::Vector<Aws::String>& GetDnsResolvers() const{ return m_dnsResolvers; }
124 inline bool DnsResolversHasBeenSet() const { return m_dnsResolversHasBeenSet; }
125 inline void SetDnsResolvers(const Aws::Vector<Aws::String>& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers = value; }
126 inline void SetDnsResolvers(Aws::Vector<Aws::String>&& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers = std::move(value); }
128 inline VPCConnectionSummary& WithDnsResolvers(Aws::Vector<Aws::String>&& value) { SetDnsResolvers(std::move(value)); return *this;}
129 inline VPCConnectionSummary& AddDnsResolvers(const Aws::String& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers.push_back(value); return *this; }
130 inline VPCConnectionSummary& AddDnsResolvers(Aws::String&& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers.push_back(std::move(value)); return *this; }
131 inline VPCConnectionSummary& AddDnsResolvers(const char* value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers.push_back(value); return *this; }
133
135
138 inline const VPCConnectionResourceStatus& GetStatus() const{ return m_status; }
139 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
140 inline void SetStatus(const VPCConnectionResourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
141 inline void SetStatus(VPCConnectionResourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
142 inline VPCConnectionSummary& WithStatus(const VPCConnectionResourceStatus& value) { SetStatus(value); return *this;}
143 inline VPCConnectionSummary& WithStatus(VPCConnectionResourceStatus&& value) { SetStatus(std::move(value)); return *this;}
145
147
150 inline const VPCConnectionAvailabilityStatus& GetAvailabilityStatus() const{ return m_availabilityStatus; }
151 inline bool AvailabilityStatusHasBeenSet() const { return m_availabilityStatusHasBeenSet; }
152 inline void SetAvailabilityStatus(const VPCConnectionAvailabilityStatus& value) { m_availabilityStatusHasBeenSet = true; m_availabilityStatus = value; }
153 inline void SetAvailabilityStatus(VPCConnectionAvailabilityStatus&& value) { m_availabilityStatusHasBeenSet = true; m_availabilityStatus = std::move(value); }
157
159
162 inline const Aws::Vector<NetworkInterface>& GetNetworkInterfaces() const{ return m_networkInterfaces; }
163 inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; }
164 inline void SetNetworkInterfaces(const Aws::Vector<NetworkInterface>& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = value; }
165 inline void SetNetworkInterfaces(Aws::Vector<NetworkInterface>&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = std::move(value); }
168 inline VPCConnectionSummary& AddNetworkInterfaces(const NetworkInterface& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(value); return *this; }
169 inline VPCConnectionSummary& AddNetworkInterfaces(NetworkInterface&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(std::move(value)); return *this; }
171
173
176 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
177 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
178 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
179 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
180 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
181 inline VPCConnectionSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
182 inline VPCConnectionSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
183 inline VPCConnectionSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
185
187
190 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
191 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
192 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
193 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
194 inline VPCConnectionSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
195 inline VPCConnectionSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
197
199
202 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
203 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
204 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
205 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
207 inline VPCConnectionSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
209 private:
210
211 Aws::String m_vPCConnectionId;
212 bool m_vPCConnectionIdHasBeenSet = false;
213
214 Aws::String m_arn;
215 bool m_arnHasBeenSet = false;
216
217 Aws::String m_name;
218 bool m_nameHasBeenSet = false;
219
220 Aws::String m_vPCId;
221 bool m_vPCIdHasBeenSet = false;
222
223 Aws::Vector<Aws::String> m_securityGroupIds;
224 bool m_securityGroupIdsHasBeenSet = false;
225
226 Aws::Vector<Aws::String> m_dnsResolvers;
227 bool m_dnsResolversHasBeenSet = false;
228
230 bool m_statusHasBeenSet = false;
231
232 VPCConnectionAvailabilityStatus m_availabilityStatus;
233 bool m_availabilityStatusHasBeenSet = false;
234
235 Aws::Vector<NetworkInterface> m_networkInterfaces;
236 bool m_networkInterfacesHasBeenSet = false;
237
238 Aws::String m_roleArn;
239 bool m_roleArnHasBeenSet = false;
240
241 Aws::Utils::DateTime m_createdTime;
242 bool m_createdTimeHasBeenSet = false;
243
244 Aws::Utils::DateTime m_lastUpdatedTime;
245 bool m_lastUpdatedTimeHasBeenSet = false;
246 };
247
248} // namespace Model
249} // namespace QuickSight
250} // namespace Aws
void SetNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
VPCConnectionSummary & WithStatus(const VPCConnectionResourceStatus &value)
void SetVPCConnectionId(const Aws::String &value)
VPCConnectionSummary & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
VPCConnectionSummary & AddSecurityGroupIds(const Aws::String &value)
const VPCConnectionAvailabilityStatus & GetAvailabilityStatus() const
VPCConnectionSummary & AddNetworkInterfaces(const NetworkInterface &value)
VPCConnectionSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
VPCConnectionSummary & WithRoleArn(const char *value)
VPCConnectionSummary & WithVPCId(const Aws::String &value)
VPCConnectionSummary & WithRoleArn(Aws::String &&value)
AWS_QUICKSIGHT_API VPCConnectionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
VPCConnectionSummary & WithStatus(VPCConnectionResourceStatus &&value)
VPCConnectionSummary & AddSecurityGroupIds(Aws::String &&value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
VPCConnectionSummary & WithVPCConnectionId(const Aws::String &value)
const Aws::Vector< NetworkInterface > & GetNetworkInterfaces() const
VPCConnectionSummary & WithAvailabilityStatus(const VPCConnectionAvailabilityStatus &value)
VPCConnectionSummary & AddDnsResolvers(const Aws::String &value)
void SetDnsResolvers(const Aws::Vector< Aws::String > &value)
VPCConnectionSummary & WithRoleArn(const Aws::String &value)
VPCConnectionSummary & WithName(Aws::String &&value)
VPCConnectionSummary & WithDnsResolvers(const Aws::Vector< Aws::String > &value)
VPCConnectionSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
VPCConnectionSummary & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetStatus(const VPCConnectionResourceStatus &value)
VPCConnectionSummary & WithName(const Aws::String &value)
void SetStatus(VPCConnectionResourceStatus &&value)
VPCConnectionSummary & WithDnsResolvers(Aws::Vector< Aws::String > &&value)
VPCConnectionSummary & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
VPCConnectionSummary & WithVPCConnectionId(const char *value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
VPCConnectionSummary & WithArn(const Aws::String &value)
VPCConnectionSummary & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
VPCConnectionSummary & WithArn(const char *value)
VPCConnectionSummary & WithNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
const Aws::Vector< Aws::String > & GetDnsResolvers() const
void SetDnsResolvers(Aws::Vector< Aws::String > &&value)
VPCConnectionSummary & AddNetworkInterfaces(NetworkInterface &&value)
VPCConnectionSummary & AddSecurityGroupIds(const char *value)
VPCConnectionSummary & AddDnsResolvers(Aws::String &&value)
VPCConnectionSummary & WithArn(Aws::String &&value)
VPCConnectionSummary & AddDnsResolvers(const char *value)
AWS_QUICKSIGHT_API VPCConnectionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
VPCConnectionSummary & WithVPCId(const char *value)
VPCConnectionSummary & WithVPCId(Aws::String &&value)
void SetNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
VPCConnectionSummary & WithName(const char *value)
VPCConnectionSummary & WithNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
VPCConnectionSummary & WithVPCConnectionId(Aws::String &&value)
void SetAvailabilityStatus(const VPCConnectionAvailabilityStatus &value)
const VPCConnectionResourceStatus & GetStatus() const
void SetCreatedTime(Aws::Utils::DateTime &&value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
void SetAvailabilityStatus(VPCConnectionAvailabilityStatus &&value)
VPCConnectionSummary & WithAvailabilityStatus(VPCConnectionAvailabilityStatus &&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