AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ServiceNetworkResourceAssociationSummary.h
1
6#pragma once
7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/vpc-lattice/model/DnsEntry.h>
11#include <aws/vpc-lattice/model/ServiceNetworkResourceAssociationStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace VPCLattice
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_VPCLATTICE_API ServiceNetworkResourceAssociationSummary() = default;
41 AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const { return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 template<typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
52 template<typename ArnT = Aws::String>
53 ServiceNetworkResourceAssociationSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
61 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
62 template<typename CreatedAtT = Aws::Utils::DateTime>
63 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
64 template<typename CreatedAtT = Aws::Utils::DateTime>
65 ServiceNetworkResourceAssociationSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
67
69
72 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
73 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
74 template<typename CreatedByT = Aws::String>
75 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
76 template<typename CreatedByT = Aws::String>
77 ServiceNetworkResourceAssociationSummary& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
79
81
84 inline const DnsEntry& GetDnsEntry() const { return m_dnsEntry; }
85 inline bool DnsEntryHasBeenSet() const { return m_dnsEntryHasBeenSet; }
86 template<typename DnsEntryT = DnsEntry>
87 void SetDnsEntry(DnsEntryT&& value) { m_dnsEntryHasBeenSet = true; m_dnsEntry = std::forward<DnsEntryT>(value); }
88 template<typename DnsEntryT = DnsEntry>
89 ServiceNetworkResourceAssociationSummary& WithDnsEntry(DnsEntryT&& value) { SetDnsEntry(std::forward<DnsEntryT>(value)); return *this;}
91
93
96 inline const Aws::String& GetFailureCode() const { return m_failureCode; }
97 inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
98 template<typename FailureCodeT = Aws::String>
99 void SetFailureCode(FailureCodeT&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::forward<FailureCodeT>(value); }
100 template<typename FailureCodeT = Aws::String>
101 ServiceNetworkResourceAssociationSummary& WithFailureCode(FailureCodeT&& value) { SetFailureCode(std::forward<FailureCodeT>(value)); return *this;}
103
105
109 inline const Aws::String& GetId() const { return m_id; }
110 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
111 template<typename IdT = Aws::String>
112 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
113 template<typename IdT = Aws::String>
114 ServiceNetworkResourceAssociationSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
116
118
121 inline bool GetIsManagedAssociation() const { return m_isManagedAssociation; }
122 inline bool IsManagedAssociationHasBeenSet() const { return m_isManagedAssociationHasBeenSet; }
123 inline void SetIsManagedAssociation(bool value) { m_isManagedAssociationHasBeenSet = true; m_isManagedAssociation = value; }
126
128
131 inline const DnsEntry& GetPrivateDnsEntry() const { return m_privateDnsEntry; }
132 inline bool PrivateDnsEntryHasBeenSet() const { return m_privateDnsEntryHasBeenSet; }
133 template<typename PrivateDnsEntryT = DnsEntry>
134 void SetPrivateDnsEntry(PrivateDnsEntryT&& value) { m_privateDnsEntryHasBeenSet = true; m_privateDnsEntry = std::forward<PrivateDnsEntryT>(value); }
135 template<typename PrivateDnsEntryT = DnsEntry>
136 ServiceNetworkResourceAssociationSummary& WithPrivateDnsEntry(PrivateDnsEntryT&& value) { SetPrivateDnsEntry(std::forward<PrivateDnsEntryT>(value)); return *this;}
138
140
143 inline const Aws::String& GetResourceConfigurationArn() const { return m_resourceConfigurationArn; }
144 inline bool ResourceConfigurationArnHasBeenSet() const { return m_resourceConfigurationArnHasBeenSet; }
145 template<typename ResourceConfigurationArnT = Aws::String>
146 void SetResourceConfigurationArn(ResourceConfigurationArnT&& value) { m_resourceConfigurationArnHasBeenSet = true; m_resourceConfigurationArn = std::forward<ResourceConfigurationArnT>(value); }
147 template<typename ResourceConfigurationArnT = Aws::String>
148 ServiceNetworkResourceAssociationSummary& WithResourceConfigurationArn(ResourceConfigurationArnT&& value) { SetResourceConfigurationArn(std::forward<ResourceConfigurationArnT>(value)); return *this;}
150
152
155 inline const Aws::String& GetResourceConfigurationId() const { return m_resourceConfigurationId; }
156 inline bool ResourceConfigurationIdHasBeenSet() const { return m_resourceConfigurationIdHasBeenSet; }
157 template<typename ResourceConfigurationIdT = Aws::String>
158 void SetResourceConfigurationId(ResourceConfigurationIdT&& value) { m_resourceConfigurationIdHasBeenSet = true; m_resourceConfigurationId = std::forward<ResourceConfigurationIdT>(value); }
159 template<typename ResourceConfigurationIdT = Aws::String>
160 ServiceNetworkResourceAssociationSummary& WithResourceConfigurationId(ResourceConfigurationIdT&& value) { SetResourceConfigurationId(std::forward<ResourceConfigurationIdT>(value)); return *this;}
162
164
168 inline const Aws::String& GetResourceConfigurationName() const { return m_resourceConfigurationName; }
169 inline bool ResourceConfigurationNameHasBeenSet() const { return m_resourceConfigurationNameHasBeenSet; }
170 template<typename ResourceConfigurationNameT = Aws::String>
171 void SetResourceConfigurationName(ResourceConfigurationNameT&& value) { m_resourceConfigurationNameHasBeenSet = true; m_resourceConfigurationName = std::forward<ResourceConfigurationNameT>(value); }
172 template<typename ResourceConfigurationNameT = Aws::String>
173 ServiceNetworkResourceAssociationSummary& WithResourceConfigurationName(ResourceConfigurationNameT&& value) { SetResourceConfigurationName(std::forward<ResourceConfigurationNameT>(value)); return *this;}
175
177
181 inline const Aws::String& GetServiceNetworkArn() const { return m_serviceNetworkArn; }
182 inline bool ServiceNetworkArnHasBeenSet() const { return m_serviceNetworkArnHasBeenSet; }
183 template<typename ServiceNetworkArnT = Aws::String>
184 void SetServiceNetworkArn(ServiceNetworkArnT&& value) { m_serviceNetworkArnHasBeenSet = true; m_serviceNetworkArn = std::forward<ServiceNetworkArnT>(value); }
185 template<typename ServiceNetworkArnT = Aws::String>
186 ServiceNetworkResourceAssociationSummary& WithServiceNetworkArn(ServiceNetworkArnT&& value) { SetServiceNetworkArn(std::forward<ServiceNetworkArnT>(value)); return *this;}
188
190
193 inline const Aws::String& GetServiceNetworkId() const { return m_serviceNetworkId; }
194 inline bool ServiceNetworkIdHasBeenSet() const { return m_serviceNetworkIdHasBeenSet; }
195 template<typename ServiceNetworkIdT = Aws::String>
196 void SetServiceNetworkId(ServiceNetworkIdT&& value) { m_serviceNetworkIdHasBeenSet = true; m_serviceNetworkId = std::forward<ServiceNetworkIdT>(value); }
197 template<typename ServiceNetworkIdT = Aws::String>
198 ServiceNetworkResourceAssociationSummary& WithServiceNetworkId(ServiceNetworkIdT&& value) { SetServiceNetworkId(std::forward<ServiceNetworkIdT>(value)); return *this;}
200
202
206 inline const Aws::String& GetServiceNetworkName() const { return m_serviceNetworkName; }
207 inline bool ServiceNetworkNameHasBeenSet() const { return m_serviceNetworkNameHasBeenSet; }
208 template<typename ServiceNetworkNameT = Aws::String>
209 void SetServiceNetworkName(ServiceNetworkNameT&& value) { m_serviceNetworkNameHasBeenSet = true; m_serviceNetworkName = std::forward<ServiceNetworkNameT>(value); }
210 template<typename ServiceNetworkNameT = Aws::String>
211 ServiceNetworkResourceAssociationSummary& WithServiceNetworkName(ServiceNetworkNameT&& value) { SetServiceNetworkName(std::forward<ServiceNetworkNameT>(value)); return *this;}
213
215
219 inline ServiceNetworkResourceAssociationStatus GetStatus() const { return m_status; }
220 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
221 inline void SetStatus(ServiceNetworkResourceAssociationStatus value) { m_statusHasBeenSet = true; m_status = value; }
224 private:
225
226 Aws::String m_arn;
227 bool m_arnHasBeenSet = false;
228
229 Aws::Utils::DateTime m_createdAt{};
230 bool m_createdAtHasBeenSet = false;
231
232 Aws::String m_createdBy;
233 bool m_createdByHasBeenSet = false;
234
235 DnsEntry m_dnsEntry;
236 bool m_dnsEntryHasBeenSet = false;
237
238 Aws::String m_failureCode;
239 bool m_failureCodeHasBeenSet = false;
240
241 Aws::String m_id;
242 bool m_idHasBeenSet = false;
243
244 bool m_isManagedAssociation{false};
245 bool m_isManagedAssociationHasBeenSet = false;
246
247 DnsEntry m_privateDnsEntry;
248 bool m_privateDnsEntryHasBeenSet = false;
249
250 Aws::String m_resourceConfigurationArn;
251 bool m_resourceConfigurationArnHasBeenSet = false;
252
253 Aws::String m_resourceConfigurationId;
254 bool m_resourceConfigurationIdHasBeenSet = false;
255
256 Aws::String m_resourceConfigurationName;
257 bool m_resourceConfigurationNameHasBeenSet = false;
258
259 Aws::String m_serviceNetworkArn;
260 bool m_serviceNetworkArnHasBeenSet = false;
261
262 Aws::String m_serviceNetworkId;
263 bool m_serviceNetworkIdHasBeenSet = false;
264
265 Aws::String m_serviceNetworkName;
266 bool m_serviceNetworkNameHasBeenSet = false;
267
269 bool m_statusHasBeenSet = false;
270 };
271
272} // namespace Model
273} // namespace VPCLattice
274} // namespace Aws
Definition DnsEntry.h:32
ServiceNetworkResourceAssociationSummary & WithCreatedAt(CreatedAtT &&value)
ServiceNetworkResourceAssociationSummary & WithResourceConfigurationName(ResourceConfigurationNameT &&value)
ServiceNetworkResourceAssociationSummary & WithCreatedBy(CreatedByT &&value)
ServiceNetworkResourceAssociationSummary & WithStatus(ServiceNetworkResourceAssociationStatus value)
AWS_VPCLATTICE_API ServiceNetworkResourceAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceNetworkResourceAssociationSummary & WithResourceConfigurationArn(ResourceConfigurationArnT &&value)
ServiceNetworkResourceAssociationSummary & WithServiceNetworkName(ServiceNetworkNameT &&value)
ServiceNetworkResourceAssociationSummary & WithFailureCode(FailureCodeT &&value)
ServiceNetworkResourceAssociationSummary & WithServiceNetworkArn(ServiceNetworkArnT &&value)
ServiceNetworkResourceAssociationSummary & WithResourceConfigurationId(ResourceConfigurationIdT &&value)
AWS_VPCLATTICE_API ServiceNetworkResourceAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
ServiceNetworkResourceAssociationSummary & WithServiceNetworkId(ServiceNetworkIdT &&value)
ServiceNetworkResourceAssociationSummary & WithPrivateDnsEntry(PrivateDnsEntryT &&value)
ServiceNetworkResourceAssociationSummary & WithDnsEntry(DnsEntryT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue