AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename VPCConnectionIdT = Aws::String>
54 void SetVPCConnectionId(VPCConnectionIdT&& value) { m_vPCConnectionIdHasBeenSet = true; m_vPCConnectionId = std::forward<VPCConnectionIdT>(value); }
55 template<typename VPCConnectionIdT = Aws::String>
56 VPCConnection& WithVPCConnectionId(VPCConnectionIdT&& value) { SetVPCConnectionId(std::forward<VPCConnectionIdT>(value)); return *this;}
58
60
63 inline const Aws::String& GetArn() const { return m_arn; }
64 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
65 template<typename ArnT = Aws::String>
66 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
67 template<typename ArnT = Aws::String>
68 VPCConnection& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template<typename NameT = Aws::String>
78 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
79 template<typename NameT = Aws::String>
80 VPCConnection& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
82
84
87 inline const Aws::String& GetVPCId() const { return m_vPCId; }
88 inline bool VPCIdHasBeenSet() const { return m_vPCIdHasBeenSet; }
89 template<typename VPCIdT = Aws::String>
90 void SetVPCId(VPCIdT&& value) { m_vPCIdHasBeenSet = true; m_vPCId = std::forward<VPCIdT>(value); }
91 template<typename VPCIdT = Aws::String>
92 VPCConnection& WithVPCId(VPCIdT&& value) { SetVPCId(std::forward<VPCIdT>(value)); return *this;}
94
96
99 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
100 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
101 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
102 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
103 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
104 VPCConnection& WithSecurityGroupIds(SecurityGroupIdsT&& value) { SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value)); return *this;}
105 template<typename SecurityGroupIdsT = Aws::String>
106 VPCConnection& AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value)); return *this; }
108
110
113 inline const Aws::Vector<Aws::String>& GetDnsResolvers() const { return m_dnsResolvers; }
114 inline bool DnsResolversHasBeenSet() const { return m_dnsResolversHasBeenSet; }
115 template<typename DnsResolversT = Aws::Vector<Aws::String>>
116 void SetDnsResolvers(DnsResolversT&& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers = std::forward<DnsResolversT>(value); }
117 template<typename DnsResolversT = Aws::Vector<Aws::String>>
118 VPCConnection& WithDnsResolvers(DnsResolversT&& value) { SetDnsResolvers(std::forward<DnsResolversT>(value)); return *this;}
119 template<typename DnsResolversT = Aws::String>
120 VPCConnection& AddDnsResolvers(DnsResolversT&& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers.emplace_back(std::forward<DnsResolversT>(value)); return *this; }
122
124
127 inline VPCConnectionResourceStatus GetStatus() const { return m_status; }
128 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
129 inline void SetStatus(VPCConnectionResourceStatus value) { m_statusHasBeenSet = true; m_status = value; }
130 inline VPCConnection& WithStatus(VPCConnectionResourceStatus value) { SetStatus(value); return *this;}
132
134
137 inline VPCConnectionAvailabilityStatus GetAvailabilityStatus() const { return m_availabilityStatus; }
138 inline bool AvailabilityStatusHasBeenSet() const { return m_availabilityStatusHasBeenSet; }
139 inline void SetAvailabilityStatus(VPCConnectionAvailabilityStatus value) { m_availabilityStatusHasBeenSet = true; m_availabilityStatus = value; }
142
144
147 inline const Aws::Vector<NetworkInterface>& GetNetworkInterfaces() const { return m_networkInterfaces; }
148 inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; }
149 template<typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
150 void SetNetworkInterfaces(NetworkInterfacesT&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = std::forward<NetworkInterfacesT>(value); }
151 template<typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
152 VPCConnection& WithNetworkInterfaces(NetworkInterfacesT&& value) { SetNetworkInterfaces(std::forward<NetworkInterfacesT>(value)); return *this;}
153 template<typename NetworkInterfacesT = NetworkInterface>
154 VPCConnection& AddNetworkInterfaces(NetworkInterfacesT&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.emplace_back(std::forward<NetworkInterfacesT>(value)); return *this; }
156
158
161 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
162 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
163 template<typename RoleArnT = Aws::String>
164 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
165 template<typename RoleArnT = Aws::String>
166 VPCConnection& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
168
170
173 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
174 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
175 template<typename CreatedTimeT = Aws::Utils::DateTime>
176 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
177 template<typename CreatedTimeT = Aws::Utils::DateTime>
178 VPCConnection& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
180
182
185 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
186 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
187 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
188 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
189 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
190 VPCConnection& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
192 private:
193
194 Aws::String m_vPCConnectionId;
195 bool m_vPCConnectionIdHasBeenSet = false;
196
197 Aws::String m_arn;
198 bool m_arnHasBeenSet = false;
199
200 Aws::String m_name;
201 bool m_nameHasBeenSet = false;
202
203 Aws::String m_vPCId;
204 bool m_vPCIdHasBeenSet = false;
205
206 Aws::Vector<Aws::String> m_securityGroupIds;
207 bool m_securityGroupIdsHasBeenSet = false;
208
209 Aws::Vector<Aws::String> m_dnsResolvers;
210 bool m_dnsResolversHasBeenSet = false;
211
213 bool m_statusHasBeenSet = false;
214
216 bool m_availabilityStatusHasBeenSet = false;
217
218 Aws::Vector<NetworkInterface> m_networkInterfaces;
219 bool m_networkInterfacesHasBeenSet = false;
220
221 Aws::String m_roleArn;
222 bool m_roleArnHasBeenSet = false;
223
224 Aws::Utils::DateTime m_createdTime{};
225 bool m_createdTimeHasBeenSet = false;
226
227 Aws::Utils::DateTime m_lastUpdatedTime{};
228 bool m_lastUpdatedTimeHasBeenSet = false;
229 };
230
231} // namespace Model
232} // namespace QuickSight
233} // namespace Aws
const Aws::String & GetRoleArn() const
void SetAvailabilityStatus(VPCConnectionAvailabilityStatus value)
VPCConnection & WithLastUpdatedTime(LastUpdatedTimeT &&value)
VPCConnection & WithVPCConnectionId(VPCConnectionIdT &&value)
VPCConnection & WithCreatedTime(CreatedTimeT &&value)
void SetNetworkInterfaces(NetworkInterfacesT &&value)
const Aws::Vector< Aws::String > & GetDnsResolvers() const
AWS_QUICKSIGHT_API VPCConnection()=default
VPCConnection & WithName(NameT &&value)
VPCConnection & WithNetworkInterfaces(NetworkInterfacesT &&value)
AWS_QUICKSIGHT_API VPCConnection(Aws::Utils::Json::JsonView jsonValue)
VPCConnection & WithRoleArn(RoleArnT &&value)
VPCConnection & WithAvailabilityStatus(VPCConnectionAvailabilityStatus value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
VPCConnection & WithDnsResolvers(DnsResolversT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetDnsResolvers(DnsResolversT &&value)
void SetStatus(VPCConnectionResourceStatus value)
void SetCreatedTime(CreatedTimeT &&value)
VPCConnection & WithStatus(VPCConnectionResourceStatus value)
VPCConnection & WithVPCId(VPCIdT &&value)
void SetVPCConnectionId(VPCConnectionIdT &&value)
VPCConnectionAvailabilityStatus GetAvailabilityStatus() const
AWS_QUICKSIGHT_API VPCConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
VPCConnection & AddNetworkInterfaces(NetworkInterfacesT &&value)
const Aws::Vector< NetworkInterface > & GetNetworkInterfaces() const
VPCConnection & WithArn(ArnT &&value)
VPCConnectionResourceStatus GetStatus() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
VPCConnection & AddSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
const Aws::String & GetVPCConnectionId() const
VPCConnection & AddDnsResolvers(DnsResolversT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVPCId() const
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::String & GetArn() const
VPCConnection & WithSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue