AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
38 AWS_VPCLATTICE_API ServiceNetworkServiceAssociationSummary() = 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 ServiceNetworkServiceAssociationSummary& 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 ServiceNetworkServiceAssociationSummary& 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 ServiceNetworkServiceAssociationSummary& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
79
81
84 inline const Aws::String& GetCustomDomainName() const { return m_customDomainName; }
85 inline bool CustomDomainNameHasBeenSet() const { return m_customDomainNameHasBeenSet; }
86 template<typename CustomDomainNameT = Aws::String>
87 void SetCustomDomainName(CustomDomainNameT&& value) { m_customDomainNameHasBeenSet = true; m_customDomainName = std::forward<CustomDomainNameT>(value); }
88 template<typename CustomDomainNameT = Aws::String>
89 ServiceNetworkServiceAssociationSummary& WithCustomDomainName(CustomDomainNameT&& value) { SetCustomDomainName(std::forward<CustomDomainNameT>(value)); return *this;}
91
93
96 inline const DnsEntry& GetDnsEntry() const { return m_dnsEntry; }
97 inline bool DnsEntryHasBeenSet() const { return m_dnsEntryHasBeenSet; }
98 template<typename DnsEntryT = DnsEntry>
99 void SetDnsEntry(DnsEntryT&& value) { m_dnsEntryHasBeenSet = true; m_dnsEntry = std::forward<DnsEntryT>(value); }
100 template<typename DnsEntryT = DnsEntry>
101 ServiceNetworkServiceAssociationSummary& WithDnsEntry(DnsEntryT&& value) { SetDnsEntry(std::forward<DnsEntryT>(value)); return *this;}
103
105
108 inline const Aws::String& GetId() const { return m_id; }
109 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
110 template<typename IdT = Aws::String>
111 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
112 template<typename IdT = Aws::String>
113 ServiceNetworkServiceAssociationSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
115
117
120 inline const Aws::String& GetServiceArn() const { return m_serviceArn; }
121 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
122 template<typename ServiceArnT = Aws::String>
123 void SetServiceArn(ServiceArnT&& value) { m_serviceArnHasBeenSet = true; m_serviceArn = std::forward<ServiceArnT>(value); }
124 template<typename ServiceArnT = Aws::String>
125 ServiceNetworkServiceAssociationSummary& WithServiceArn(ServiceArnT&& value) { SetServiceArn(std::forward<ServiceArnT>(value)); return *this;}
127
129
132 inline const Aws::String& GetServiceId() const { return m_serviceId; }
133 inline bool ServiceIdHasBeenSet() const { return m_serviceIdHasBeenSet; }
134 template<typename ServiceIdT = Aws::String>
135 void SetServiceId(ServiceIdT&& value) { m_serviceIdHasBeenSet = true; m_serviceId = std::forward<ServiceIdT>(value); }
136 template<typename ServiceIdT = Aws::String>
137 ServiceNetworkServiceAssociationSummary& WithServiceId(ServiceIdT&& value) { SetServiceId(std::forward<ServiceIdT>(value)); return *this;}
139
141
144 inline const Aws::String& GetServiceName() const { return m_serviceName; }
145 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
146 template<typename ServiceNameT = Aws::String>
147 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::forward<ServiceNameT>(value); }
148 template<typename ServiceNameT = Aws::String>
149 ServiceNetworkServiceAssociationSummary& WithServiceName(ServiceNameT&& value) { SetServiceName(std::forward<ServiceNameT>(value)); return *this;}
151
153
156 inline const Aws::String& GetServiceNetworkArn() const { return m_serviceNetworkArn; }
157 inline bool ServiceNetworkArnHasBeenSet() const { return m_serviceNetworkArnHasBeenSet; }
158 template<typename ServiceNetworkArnT = Aws::String>
159 void SetServiceNetworkArn(ServiceNetworkArnT&& value) { m_serviceNetworkArnHasBeenSet = true; m_serviceNetworkArn = std::forward<ServiceNetworkArnT>(value); }
160 template<typename ServiceNetworkArnT = Aws::String>
161 ServiceNetworkServiceAssociationSummary& WithServiceNetworkArn(ServiceNetworkArnT&& value) { SetServiceNetworkArn(std::forward<ServiceNetworkArnT>(value)); return *this;}
163
165
168 inline const Aws::String& GetServiceNetworkId() const { return m_serviceNetworkId; }
169 inline bool ServiceNetworkIdHasBeenSet() const { return m_serviceNetworkIdHasBeenSet; }
170 template<typename ServiceNetworkIdT = Aws::String>
171 void SetServiceNetworkId(ServiceNetworkIdT&& value) { m_serviceNetworkIdHasBeenSet = true; m_serviceNetworkId = std::forward<ServiceNetworkIdT>(value); }
172 template<typename ServiceNetworkIdT = Aws::String>
173 ServiceNetworkServiceAssociationSummary& WithServiceNetworkId(ServiceNetworkIdT&& value) { SetServiceNetworkId(std::forward<ServiceNetworkIdT>(value)); return *this;}
175
177
180 inline const Aws::String& GetServiceNetworkName() const { return m_serviceNetworkName; }
181 inline bool ServiceNetworkNameHasBeenSet() const { return m_serviceNetworkNameHasBeenSet; }
182 template<typename ServiceNetworkNameT = Aws::String>
183 void SetServiceNetworkName(ServiceNetworkNameT&& value) { m_serviceNetworkNameHasBeenSet = true; m_serviceNetworkName = std::forward<ServiceNetworkNameT>(value); }
184 template<typename ServiceNetworkNameT = Aws::String>
185 ServiceNetworkServiceAssociationSummary& WithServiceNetworkName(ServiceNetworkNameT&& value) { SetServiceNetworkName(std::forward<ServiceNetworkNameT>(value)); return *this;}
187
189
192 inline ServiceNetworkServiceAssociationStatus GetStatus() const { return m_status; }
193 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
194 inline void SetStatus(ServiceNetworkServiceAssociationStatus value) { m_statusHasBeenSet = true; m_status = value; }
197 private:
198
199 Aws::String m_arn;
200 bool m_arnHasBeenSet = false;
201
202 Aws::Utils::DateTime m_createdAt{};
203 bool m_createdAtHasBeenSet = false;
204
205 Aws::String m_createdBy;
206 bool m_createdByHasBeenSet = false;
207
208 Aws::String m_customDomainName;
209 bool m_customDomainNameHasBeenSet = false;
210
211 DnsEntry m_dnsEntry;
212 bool m_dnsEntryHasBeenSet = false;
213
214 Aws::String m_id;
215 bool m_idHasBeenSet = false;
216
217 Aws::String m_serviceArn;
218 bool m_serviceArnHasBeenSet = false;
219
220 Aws::String m_serviceId;
221 bool m_serviceIdHasBeenSet = false;
222
223 Aws::String m_serviceName;
224 bool m_serviceNameHasBeenSet = false;
225
226 Aws::String m_serviceNetworkArn;
227 bool m_serviceNetworkArnHasBeenSet = false;
228
229 Aws::String m_serviceNetworkId;
230 bool m_serviceNetworkIdHasBeenSet = false;
231
232 Aws::String m_serviceNetworkName;
233 bool m_serviceNetworkNameHasBeenSet = false;
234
236 bool m_statusHasBeenSet = false;
237 };
238
239} // namespace Model
240} // namespace VPCLattice
241} // namespace Aws
Definition DnsEntry.h:32
ServiceNetworkServiceAssociationSummary & WithServiceNetworkId(ServiceNetworkIdT &&value)
ServiceNetworkServiceAssociationSummary & WithServiceNetworkName(ServiceNetworkNameT &&value)
ServiceNetworkServiceAssociationSummary & WithCreatedBy(CreatedByT &&value)
ServiceNetworkServiceAssociationSummary & WithServiceNetworkArn(ServiceNetworkArnT &&value)
ServiceNetworkServiceAssociationSummary & WithDnsEntry(DnsEntryT &&value)
AWS_VPCLATTICE_API ServiceNetworkServiceAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceNetworkServiceAssociationSummary & WithCustomDomainName(CustomDomainNameT &&value)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceNetworkServiceAssociationSummary & WithCreatedAt(CreatedAtT &&value)
ServiceNetworkServiceAssociationSummary & WithStatus(ServiceNetworkServiceAssociationStatus value)
ServiceNetworkServiceAssociationSummary & WithServiceName(ServiceNameT &&value)
AWS_VPCLATTICE_API ServiceNetworkServiceAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
ServiceNetworkServiceAssociationSummary & WithServiceId(ServiceIdT &&value)
ServiceNetworkServiceAssociationSummary & WithServiceArn(ServiceArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue