AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetServiceResult.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/vpc-lattice/model/AuthType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/vpc-lattice/model/DnsEntry.h>
12#include <aws/vpc-lattice/model/ServiceStatus.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace VPCLattice
28{
29namespace Model
30{
32 {
33 public:
34 AWS_VPCLATTICE_API GetServiceResult() = default;
37
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 template<typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
46 template<typename ArnT = Aws::String>
47 GetServiceResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
49
51
54 inline AuthType GetAuthType() const { return m_authType; }
55 inline void SetAuthType(AuthType value) { m_authTypeHasBeenSet = true; m_authType = value; }
56 inline GetServiceResult& WithAuthType(AuthType value) { SetAuthType(value); return *this;}
58
60
63 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
64 template<typename CertificateArnT = Aws::String>
65 void SetCertificateArn(CertificateArnT&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::forward<CertificateArnT>(value); }
66 template<typename CertificateArnT = Aws::String>
67 GetServiceResult& WithCertificateArn(CertificateArnT&& value) { SetCertificateArn(std::forward<CertificateArnT>(value)); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
75 template<typename CreatedAtT = Aws::Utils::DateTime>
76 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
77 template<typename CreatedAtT = Aws::Utils::DateTime>
78 GetServiceResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
80
82
85 inline const Aws::String& GetCustomDomainName() const { return m_customDomainName; }
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 GetServiceResult& WithCustomDomainName(CustomDomainNameT&& value) { SetCustomDomainName(std::forward<CustomDomainNameT>(value)); return *this;}
91
93
96 inline const DnsEntry& GetDnsEntry() const { return m_dnsEntry; }
97 template<typename DnsEntryT = DnsEntry>
98 void SetDnsEntry(DnsEntryT&& value) { m_dnsEntryHasBeenSet = true; m_dnsEntry = std::forward<DnsEntryT>(value); }
99 template<typename DnsEntryT = DnsEntry>
100 GetServiceResult& WithDnsEntry(DnsEntryT&& value) { SetDnsEntry(std::forward<DnsEntryT>(value)); return *this;}
102
104
107 inline const Aws::String& GetFailureCode() const { return m_failureCode; }
108 template<typename FailureCodeT = Aws::String>
109 void SetFailureCode(FailureCodeT&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::forward<FailureCodeT>(value); }
110 template<typename FailureCodeT = Aws::String>
111 GetServiceResult& WithFailureCode(FailureCodeT&& value) { SetFailureCode(std::forward<FailureCodeT>(value)); return *this;}
113
115
118 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
119 template<typename FailureMessageT = Aws::String>
120 void SetFailureMessage(FailureMessageT&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::forward<FailureMessageT>(value); }
121 template<typename FailureMessageT = Aws::String>
122 GetServiceResult& WithFailureMessage(FailureMessageT&& value) { SetFailureMessage(std::forward<FailureMessageT>(value)); return *this;}
124
126
129 inline const Aws::String& GetId() const { return m_id; }
130 template<typename IdT = Aws::String>
131 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
132 template<typename IdT = Aws::String>
133 GetServiceResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
135
137
140 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
141 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
142 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
143 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
144 GetServiceResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
146
148
151 inline const Aws::String& GetName() const { return m_name; }
152 template<typename NameT = Aws::String>
153 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
154 template<typename NameT = Aws::String>
155 GetServiceResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
157
159
162 inline ServiceStatus GetStatus() const { return m_status; }
163 inline void SetStatus(ServiceStatus value) { m_statusHasBeenSet = true; m_status = value; }
164 inline GetServiceResult& WithStatus(ServiceStatus value) { SetStatus(value); return *this;}
166
168
169 inline const Aws::String& GetRequestId() const { return m_requestId; }
170 template<typename RequestIdT = Aws::String>
171 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
172 template<typename RequestIdT = Aws::String>
173 GetServiceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
175 private:
176
177 Aws::String m_arn;
178 bool m_arnHasBeenSet = false;
179
180 AuthType m_authType{AuthType::NOT_SET};
181 bool m_authTypeHasBeenSet = false;
182
183 Aws::String m_certificateArn;
184 bool m_certificateArnHasBeenSet = false;
185
186 Aws::Utils::DateTime m_createdAt{};
187 bool m_createdAtHasBeenSet = false;
188
189 Aws::String m_customDomainName;
190 bool m_customDomainNameHasBeenSet = false;
191
192 DnsEntry m_dnsEntry;
193 bool m_dnsEntryHasBeenSet = false;
194
195 Aws::String m_failureCode;
196 bool m_failureCodeHasBeenSet = false;
197
198 Aws::String m_failureMessage;
199 bool m_failureMessageHasBeenSet = false;
200
201 Aws::String m_id;
202 bool m_idHasBeenSet = false;
203
204 Aws::Utils::DateTime m_lastUpdatedAt{};
205 bool m_lastUpdatedAtHasBeenSet = false;
206
207 Aws::String m_name;
208 bool m_nameHasBeenSet = false;
209
211 bool m_statusHasBeenSet = false;
212
213 Aws::String m_requestId;
214 bool m_requestIdHasBeenSet = false;
215 };
216
217} // namespace Model
218} // namespace VPCLattice
219} // namespace Aws
Definition DnsEntry.h:32
void SetFailureCode(FailureCodeT &&value)
GetServiceResult & WithName(NameT &&value)
GetServiceResult & WithCustomDomainName(CustomDomainNameT &&value)
const Aws::String & GetCertificateArn() const
AWS_VPCLATTICE_API GetServiceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetFailureMessage() const
const Aws::String & GetRequestId() const
void SetCertificateArn(CertificateArnT &&value)
GetServiceResult & WithId(IdT &&value)
GetServiceResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetServiceResult & WithDnsEntry(DnsEntryT &&value)
GetServiceResult & WithAuthType(AuthType value)
GetServiceResult & WithRequestId(RequestIdT &&value)
void SetCustomDomainName(CustomDomainNameT &&value)
const Aws::String & GetFailureCode() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
AWS_VPCLATTICE_API GetServiceResult()=default
AWS_VPCLATTICE_API GetServiceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetServiceResult & WithArn(ArnT &&value)
GetServiceResult & WithStatus(ServiceStatus value)
GetServiceResult & WithCreatedAt(CreatedAtT &&value)
GetServiceResult & WithFailureMessage(FailureMessageT &&value)
GetServiceResult & WithFailureCode(FailureCodeT &&value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
GetServiceResult & WithCertificateArn(CertificateArnT &&value)
void SetFailureMessage(FailureMessageT &&value)
const Aws::String & GetCustomDomainName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue