AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceNetworkServiceAssociationSummary.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/ServiceNetworkServiceAssociationStatus.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:
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline ServiceNetworkServiceAssociationSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline ServiceNetworkServiceAssociationSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline ServiceNetworkServiceAssociationSummary& WithArn(const char* value) { SetArn(value); return *this;}
57
59
63 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
64 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
65 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
66 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
70
72
75 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
76 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
77 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
78 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
79 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
81 inline ServiceNetworkServiceAssociationSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
82 inline ServiceNetworkServiceAssociationSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
84
86
89 inline const Aws::String& GetCustomDomainName() const{ return m_customDomainName; }
90 inline bool CustomDomainNameHasBeenSet() const { return m_customDomainNameHasBeenSet; }
91 inline void SetCustomDomainName(const Aws::String& value) { m_customDomainNameHasBeenSet = true; m_customDomainName = value; }
92 inline void SetCustomDomainName(Aws::String&& value) { m_customDomainNameHasBeenSet = true; m_customDomainName = std::move(value); }
93 inline void SetCustomDomainName(const char* value) { m_customDomainNameHasBeenSet = true; m_customDomainName.assign(value); }
96 inline ServiceNetworkServiceAssociationSummary& WithCustomDomainName(const char* value) { SetCustomDomainName(value); return *this;}
98
100
103 inline const DnsEntry& GetDnsEntry() const{ return m_dnsEntry; }
104 inline bool DnsEntryHasBeenSet() const { return m_dnsEntryHasBeenSet; }
105 inline void SetDnsEntry(const DnsEntry& value) { m_dnsEntryHasBeenSet = true; m_dnsEntry = value; }
106 inline void SetDnsEntry(DnsEntry&& value) { m_dnsEntryHasBeenSet = true; m_dnsEntry = std::move(value); }
107 inline ServiceNetworkServiceAssociationSummary& WithDnsEntry(const DnsEntry& value) { SetDnsEntry(value); return *this;}
108 inline ServiceNetworkServiceAssociationSummary& WithDnsEntry(DnsEntry&& value) { SetDnsEntry(std::move(value)); return *this;}
110
112
115 inline const Aws::String& GetId() const{ return m_id; }
116 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
117 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
118 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
119 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
120 inline ServiceNetworkServiceAssociationSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
121 inline ServiceNetworkServiceAssociationSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
122 inline ServiceNetworkServiceAssociationSummary& WithId(const char* value) { SetId(value); return *this;}
124
126
129 inline const Aws::String& GetServiceArn() const{ return m_serviceArn; }
130 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
131 inline void SetServiceArn(const Aws::String& value) { m_serviceArnHasBeenSet = true; m_serviceArn = value; }
132 inline void SetServiceArn(Aws::String&& value) { m_serviceArnHasBeenSet = true; m_serviceArn = std::move(value); }
133 inline void SetServiceArn(const char* value) { m_serviceArnHasBeenSet = true; m_serviceArn.assign(value); }
135 inline ServiceNetworkServiceAssociationSummary& WithServiceArn(Aws::String&& value) { SetServiceArn(std::move(value)); return *this;}
136 inline ServiceNetworkServiceAssociationSummary& WithServiceArn(const char* value) { SetServiceArn(value); return *this;}
138
140
143 inline const Aws::String& GetServiceId() const{ return m_serviceId; }
144 inline bool ServiceIdHasBeenSet() const { return m_serviceIdHasBeenSet; }
145 inline void SetServiceId(const Aws::String& value) { m_serviceIdHasBeenSet = true; m_serviceId = value; }
146 inline void SetServiceId(Aws::String&& value) { m_serviceIdHasBeenSet = true; m_serviceId = std::move(value); }
147 inline void SetServiceId(const char* value) { m_serviceIdHasBeenSet = true; m_serviceId.assign(value); }
149 inline ServiceNetworkServiceAssociationSummary& WithServiceId(Aws::String&& value) { SetServiceId(std::move(value)); return *this;}
150 inline ServiceNetworkServiceAssociationSummary& WithServiceId(const char* value) { SetServiceId(value); return *this;}
152
154
157 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
158 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
159 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
160 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
161 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
163 inline ServiceNetworkServiceAssociationSummary& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
164 inline ServiceNetworkServiceAssociationSummary& WithServiceName(const char* value) { SetServiceName(value); return *this;}
166
168
171 inline const Aws::String& GetServiceNetworkArn() const{ return m_serviceNetworkArn; }
172 inline bool ServiceNetworkArnHasBeenSet() const { return m_serviceNetworkArnHasBeenSet; }
173 inline void SetServiceNetworkArn(const Aws::String& value) { m_serviceNetworkArnHasBeenSet = true; m_serviceNetworkArn = value; }
174 inline void SetServiceNetworkArn(Aws::String&& value) { m_serviceNetworkArnHasBeenSet = true; m_serviceNetworkArn = std::move(value); }
175 inline void SetServiceNetworkArn(const char* value) { m_serviceNetworkArnHasBeenSet = true; m_serviceNetworkArn.assign(value); }
180
182
185 inline const Aws::String& GetServiceNetworkId() const{ return m_serviceNetworkId; }
186 inline bool ServiceNetworkIdHasBeenSet() const { return m_serviceNetworkIdHasBeenSet; }
187 inline void SetServiceNetworkId(const Aws::String& value) { m_serviceNetworkIdHasBeenSet = true; m_serviceNetworkId = value; }
188 inline void SetServiceNetworkId(Aws::String&& value) { m_serviceNetworkIdHasBeenSet = true; m_serviceNetworkId = std::move(value); }
189 inline void SetServiceNetworkId(const char* value) { m_serviceNetworkIdHasBeenSet = true; m_serviceNetworkId.assign(value); }
192 inline ServiceNetworkServiceAssociationSummary& WithServiceNetworkId(const char* value) { SetServiceNetworkId(value); return *this;}
194
196
199 inline const Aws::String& GetServiceNetworkName() const{ return m_serviceNetworkName; }
200 inline bool ServiceNetworkNameHasBeenSet() const { return m_serviceNetworkNameHasBeenSet; }
201 inline void SetServiceNetworkName(const Aws::String& value) { m_serviceNetworkNameHasBeenSet = true; m_serviceNetworkName = value; }
202 inline void SetServiceNetworkName(Aws::String&& value) { m_serviceNetworkNameHasBeenSet = true; m_serviceNetworkName = std::move(value); }
203 inline void SetServiceNetworkName(const char* value) { m_serviceNetworkNameHasBeenSet = true; m_serviceNetworkName.assign(value); }
208
210
213 inline const ServiceNetworkServiceAssociationStatus& GetStatus() const{ return m_status; }
214 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
215 inline void SetStatus(const ServiceNetworkServiceAssociationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
216 inline void SetStatus(ServiceNetworkServiceAssociationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
220 private:
221
222 Aws::String m_arn;
223 bool m_arnHasBeenSet = false;
224
225 Aws::Utils::DateTime m_createdAt;
226 bool m_createdAtHasBeenSet = false;
227
228 Aws::String m_createdBy;
229 bool m_createdByHasBeenSet = false;
230
231 Aws::String m_customDomainName;
232 bool m_customDomainNameHasBeenSet = false;
233
234 DnsEntry m_dnsEntry;
235 bool m_dnsEntryHasBeenSet = false;
236
237 Aws::String m_id;
238 bool m_idHasBeenSet = false;
239
240 Aws::String m_serviceArn;
241 bool m_serviceArnHasBeenSet = false;
242
243 Aws::String m_serviceId;
244 bool m_serviceIdHasBeenSet = false;
245
246 Aws::String m_serviceName;
247 bool m_serviceNameHasBeenSet = false;
248
249 Aws::String m_serviceNetworkArn;
250 bool m_serviceNetworkArnHasBeenSet = false;
251
252 Aws::String m_serviceNetworkId;
253 bool m_serviceNetworkIdHasBeenSet = false;
254
255 Aws::String m_serviceNetworkName;
256 bool m_serviceNetworkNameHasBeenSet = false;
257
259 bool m_statusHasBeenSet = false;
260 };
261
262} // namespace Model
263} // namespace VPCLattice
264} // namespace Aws
Definition DnsEntry.h:32
ServiceNetworkServiceAssociationSummary & WithServiceNetworkId(const Aws::String &value)
ServiceNetworkServiceAssociationSummary & WithServiceName(const Aws::String &value)
ServiceNetworkServiceAssociationSummary & WithServiceNetworkArn(Aws::String &&value)
ServiceNetworkServiceAssociationSummary & WithArn(Aws::String &&value)
ServiceNetworkServiceAssociationSummary & WithCustomDomainName(const Aws::String &value)
ServiceNetworkServiceAssociationSummary & WithId(const char *value)
ServiceNetworkServiceAssociationSummary & WithServiceNetworkName(Aws::String &&value)
ServiceNetworkServiceAssociationSummary & WithCreatedBy(const Aws::String &value)
ServiceNetworkServiceAssociationSummary & WithServiceArn(Aws::String &&value)
ServiceNetworkServiceAssociationSummary & WithCustomDomainName(Aws::String &&value)
ServiceNetworkServiceAssociationSummary & WithServiceNetworkName(const char *value)
ServiceNetworkServiceAssociationSummary & WithCustomDomainName(const char *value)
ServiceNetworkServiceAssociationSummary & WithId(const Aws::String &value)
ServiceNetworkServiceAssociationSummary & WithServiceNetworkName(const Aws::String &value)
ServiceNetworkServiceAssociationSummary & WithServiceId(const char *value)
ServiceNetworkServiceAssociationSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
ServiceNetworkServiceAssociationSummary & WithArn(const char *value)
ServiceNetworkServiceAssociationSummary & WithCreatedBy(Aws::String &&value)
ServiceNetworkServiceAssociationSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
ServiceNetworkServiceAssociationSummary & WithServiceArn(const char *value)
ServiceNetworkServiceAssociationSummary & WithServiceNetworkId(Aws::String &&value)
ServiceNetworkServiceAssociationSummary & WithServiceNetworkArn(const Aws::String &value)
AWS_VPCLATTICE_API ServiceNetworkServiceAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceNetworkServiceAssociationSummary & WithServiceNetworkArn(const char *value)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceNetworkServiceAssociationSummary & WithServiceName(Aws::String &&value)
ServiceNetworkServiceAssociationSummary & WithId(Aws::String &&value)
ServiceNetworkServiceAssociationSummary & WithCreatedBy(const char *value)
ServiceNetworkServiceAssociationSummary & WithServiceId(const Aws::String &value)
ServiceNetworkServiceAssociationSummary & WithStatus(ServiceNetworkServiceAssociationStatus &&value)
ServiceNetworkServiceAssociationSummary & WithServiceId(Aws::String &&value)
ServiceNetworkServiceAssociationSummary & WithServiceNetworkId(const char *value)
ServiceNetworkServiceAssociationSummary & WithServiceName(const char *value)
AWS_VPCLATTICE_API ServiceNetworkServiceAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
ServiceNetworkServiceAssociationSummary & WithDnsEntry(const DnsEntry &value)
ServiceNetworkServiceAssociationSummary & WithStatus(const ServiceNetworkServiceAssociationStatus &value)
ServiceNetworkServiceAssociationSummary & WithArn(const Aws::String &value)
ServiceNetworkServiceAssociationSummary & WithDnsEntry(DnsEntry &&value)
ServiceNetworkServiceAssociationSummary & WithServiceArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue