AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename VPCConnectionIdT = Aws::String>
55 void SetVPCConnectionId(VPCConnectionIdT&& value) { m_vPCConnectionIdHasBeenSet = true; m_vPCConnectionId = std::forward<VPCConnectionIdT>(value); }
56 template<typename VPCConnectionIdT = Aws::String>
57 VPCConnectionSummary& WithVPCConnectionId(VPCConnectionIdT&& value) { SetVPCConnectionId(std::forward<VPCConnectionIdT>(value)); return *this;}
59
61
64 inline const Aws::String& GetArn() const { return m_arn; }
65 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
66 template<typename ArnT = Aws::String>
67 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
68 template<typename ArnT = Aws::String>
69 VPCConnectionSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
71
73
76 inline const Aws::String& GetName() const { return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 template<typename NameT = Aws::String>
79 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
80 template<typename NameT = Aws::String>
81 VPCConnectionSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
83
85
88 inline const Aws::String& GetVPCId() const { return m_vPCId; }
89 inline bool VPCIdHasBeenSet() const { return m_vPCIdHasBeenSet; }
90 template<typename VPCIdT = Aws::String>
91 void SetVPCId(VPCIdT&& value) { m_vPCIdHasBeenSet = true; m_vPCId = std::forward<VPCIdT>(value); }
92 template<typename VPCIdT = Aws::String>
93 VPCConnectionSummary& WithVPCId(VPCIdT&& value) { SetVPCId(std::forward<VPCIdT>(value)); return *this;}
95
97
100 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
101 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
102 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
103 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
104 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
105 VPCConnectionSummary& WithSecurityGroupIds(SecurityGroupIdsT&& value) { SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value)); return *this;}
106 template<typename SecurityGroupIdsT = Aws::String>
107 VPCConnectionSummary& AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value)); return *this; }
109
111
114 inline const Aws::Vector<Aws::String>& GetDnsResolvers() const { return m_dnsResolvers; }
115 inline bool DnsResolversHasBeenSet() const { return m_dnsResolversHasBeenSet; }
116 template<typename DnsResolversT = Aws::Vector<Aws::String>>
117 void SetDnsResolvers(DnsResolversT&& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers = std::forward<DnsResolversT>(value); }
118 template<typename DnsResolversT = Aws::Vector<Aws::String>>
119 VPCConnectionSummary& WithDnsResolvers(DnsResolversT&& value) { SetDnsResolvers(std::forward<DnsResolversT>(value)); return *this;}
120 template<typename DnsResolversT = Aws::String>
121 VPCConnectionSummary& AddDnsResolvers(DnsResolversT&& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers.emplace_back(std::forward<DnsResolversT>(value)); return *this; }
123
125
128 inline VPCConnectionResourceStatus GetStatus() const { return m_status; }
129 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
130 inline void SetStatus(VPCConnectionResourceStatus value) { m_statusHasBeenSet = true; m_status = value; }
133
135
138 inline VPCConnectionAvailabilityStatus GetAvailabilityStatus() const { return m_availabilityStatus; }
139 inline bool AvailabilityStatusHasBeenSet() const { return m_availabilityStatusHasBeenSet; }
140 inline void SetAvailabilityStatus(VPCConnectionAvailabilityStatus value) { m_availabilityStatusHasBeenSet = true; m_availabilityStatus = value; }
143
145
148 inline const Aws::Vector<NetworkInterface>& GetNetworkInterfaces() const { return m_networkInterfaces; }
149 inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; }
150 template<typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
151 void SetNetworkInterfaces(NetworkInterfacesT&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = std::forward<NetworkInterfacesT>(value); }
152 template<typename NetworkInterfacesT = Aws::Vector<NetworkInterface>>
153 VPCConnectionSummary& WithNetworkInterfaces(NetworkInterfacesT&& value) { SetNetworkInterfaces(std::forward<NetworkInterfacesT>(value)); return *this;}
154 template<typename NetworkInterfacesT = NetworkInterface>
155 VPCConnectionSummary& AddNetworkInterfaces(NetworkInterfacesT&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.emplace_back(std::forward<NetworkInterfacesT>(value)); return *this; }
157
159
162 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
163 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
164 template<typename RoleArnT = Aws::String>
165 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
166 template<typename RoleArnT = Aws::String>
167 VPCConnectionSummary& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
169
171
174 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
175 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
176 template<typename CreatedTimeT = Aws::Utils::DateTime>
177 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
178 template<typename CreatedTimeT = Aws::Utils::DateTime>
179 VPCConnectionSummary& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
181
183
186 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
187 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
188 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
189 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
190 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
191 VPCConnectionSummary& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
193 private:
194
195 Aws::String m_vPCConnectionId;
196 bool m_vPCConnectionIdHasBeenSet = false;
197
198 Aws::String m_arn;
199 bool m_arnHasBeenSet = false;
200
201 Aws::String m_name;
202 bool m_nameHasBeenSet = false;
203
204 Aws::String m_vPCId;
205 bool m_vPCIdHasBeenSet = false;
206
207 Aws::Vector<Aws::String> m_securityGroupIds;
208 bool m_securityGroupIdsHasBeenSet = false;
209
210 Aws::Vector<Aws::String> m_dnsResolvers;
211 bool m_dnsResolversHasBeenSet = false;
212
214 bool m_statusHasBeenSet = false;
215
217 bool m_availabilityStatusHasBeenSet = false;
218
219 Aws::Vector<NetworkInterface> m_networkInterfaces;
220 bool m_networkInterfacesHasBeenSet = false;
221
222 Aws::String m_roleArn;
223 bool m_roleArnHasBeenSet = false;
224
225 Aws::Utils::DateTime m_createdTime{};
226 bool m_createdTimeHasBeenSet = false;
227
228 Aws::Utils::DateTime m_lastUpdatedTime{};
229 bool m_lastUpdatedTimeHasBeenSet = false;
230 };
231
232} // namespace Model
233} // namespace QuickSight
234} // namespace Aws
VPCConnectionSummary & WithName(NameT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
VPCConnectionSummary & AddSecurityGroupIds(SecurityGroupIdsT &&value)
VPCConnectionSummary & WithAvailabilityStatus(VPCConnectionAvailabilityStatus value)
VPCConnectionSummary & WithSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_QUICKSIGHT_API VPCConnectionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< NetworkInterface > & GetNetworkInterfaces() const
VPCConnectionSummary & WithArn(ArnT &&value)
VPCConnectionSummary & WithRoleArn(RoleArnT &&value)
void SetAvailabilityStatus(VPCConnectionAvailabilityStatus value)
VPCConnectionSummary & WithDnsResolvers(DnsResolversT &&value)
VPCConnectionResourceStatus GetStatus() const
VPCConnectionSummary & WithVPCId(VPCIdT &&value)
VPCConnectionSummary & WithStatus(VPCConnectionResourceStatus value)
VPCConnectionSummary & AddNetworkInterfaces(NetworkInterfacesT &&value)
VPCConnectionSummary & WithVPCConnectionId(VPCConnectionIdT &&value)
void SetStatus(VPCConnectionResourceStatus value)
const Aws::Vector< Aws::String > & GetDnsResolvers() const
VPCConnectionSummary & WithNetworkInterfaces(NetworkInterfacesT &&value)
VPCConnectionSummary & AddDnsResolvers(DnsResolversT &&value)
AWS_QUICKSIGHT_API VPCConnectionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
VPCConnectionSummary & WithCreatedTime(CreatedTimeT &&value)
AWS_QUICKSIGHT_API VPCConnectionSummary()=default
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
void SetVPCConnectionId(VPCConnectionIdT &&value)
void SetNetworkInterfaces(NetworkInterfacesT &&value)
VPCConnectionAvailabilityStatus GetAvailabilityStatus() const
const Aws::Utils::DateTime & GetCreatedTime() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
VPCConnectionSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
void SetSecurityGroupIds(SecurityGroupIdsT &&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