AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
37
38
40
43 inline const Aws::String& GetArn() const{ return m_arn; }
44 inline void SetArn(const Aws::String& value) { m_arn = value; }
45 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
46 inline void SetArn(const char* value) { m_arn.assign(value); }
47 inline GetServiceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline GetServiceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline GetServiceResult& WithArn(const char* value) { SetArn(value); return *this;}
51
53
56 inline const AuthType& GetAuthType() const{ return m_authType; }
57 inline void SetAuthType(const AuthType& value) { m_authType = value; }
58 inline void SetAuthType(AuthType&& value) { m_authType = std::move(value); }
59 inline GetServiceResult& WithAuthType(const AuthType& value) { SetAuthType(value); return *this;}
60 inline GetServiceResult& WithAuthType(AuthType&& value) { SetAuthType(std::move(value)); return *this;}
62
64
67 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
68 inline void SetCertificateArn(const Aws::String& value) { m_certificateArn = value; }
69 inline void SetCertificateArn(Aws::String&& value) { m_certificateArn = std::move(value); }
70 inline void SetCertificateArn(const char* value) { m_certificateArn.assign(value); }
71 inline GetServiceResult& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
72 inline GetServiceResult& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
73 inline GetServiceResult& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
75
77
81 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
82 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
83 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
84 inline GetServiceResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
85 inline GetServiceResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
87
89
92 inline const Aws::String& GetCustomDomainName() const{ return m_customDomainName; }
93 inline void SetCustomDomainName(const Aws::String& value) { m_customDomainName = value; }
94 inline void SetCustomDomainName(Aws::String&& value) { m_customDomainName = std::move(value); }
95 inline void SetCustomDomainName(const char* value) { m_customDomainName.assign(value); }
96 inline GetServiceResult& WithCustomDomainName(const Aws::String& value) { SetCustomDomainName(value); return *this;}
97 inline GetServiceResult& WithCustomDomainName(Aws::String&& value) { SetCustomDomainName(std::move(value)); return *this;}
98 inline GetServiceResult& WithCustomDomainName(const char* value) { SetCustomDomainName(value); return *this;}
100
102
105 inline const DnsEntry& GetDnsEntry() const{ return m_dnsEntry; }
106 inline void SetDnsEntry(const DnsEntry& value) { m_dnsEntry = value; }
107 inline void SetDnsEntry(DnsEntry&& value) { m_dnsEntry = std::move(value); }
108 inline GetServiceResult& WithDnsEntry(const DnsEntry& value) { SetDnsEntry(value); return *this;}
109 inline GetServiceResult& WithDnsEntry(DnsEntry&& value) { SetDnsEntry(std::move(value)); return *this;}
111
113
116 inline const Aws::String& GetFailureCode() const{ return m_failureCode; }
117 inline void SetFailureCode(const Aws::String& value) { m_failureCode = value; }
118 inline void SetFailureCode(Aws::String&& value) { m_failureCode = std::move(value); }
119 inline void SetFailureCode(const char* value) { m_failureCode.assign(value); }
120 inline GetServiceResult& WithFailureCode(const Aws::String& value) { SetFailureCode(value); return *this;}
121 inline GetServiceResult& WithFailureCode(Aws::String&& value) { SetFailureCode(std::move(value)); return *this;}
122 inline GetServiceResult& WithFailureCode(const char* value) { SetFailureCode(value); return *this;}
124
126
129 inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; }
130 inline void SetFailureMessage(const Aws::String& value) { m_failureMessage = value; }
131 inline void SetFailureMessage(Aws::String&& value) { m_failureMessage = std::move(value); }
132 inline void SetFailureMessage(const char* value) { m_failureMessage.assign(value); }
133 inline GetServiceResult& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;}
134 inline GetServiceResult& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;}
135 inline GetServiceResult& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;}
137
139
142 inline const Aws::String& GetId() const{ return m_id; }
143 inline void SetId(const Aws::String& value) { m_id = value; }
144 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
145 inline void SetId(const char* value) { m_id.assign(value); }
146 inline GetServiceResult& WithId(const Aws::String& value) { SetId(value); return *this;}
147 inline GetServiceResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
148 inline GetServiceResult& WithId(const char* value) { SetId(value); return *this;}
150
152
156 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
157 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
158 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
159 inline GetServiceResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
160 inline GetServiceResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
162
164
167 inline const Aws::String& GetName() const{ return m_name; }
168 inline void SetName(const Aws::String& value) { m_name = value; }
169 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
170 inline void SetName(const char* value) { m_name.assign(value); }
171 inline GetServiceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
172 inline GetServiceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
173 inline GetServiceResult& WithName(const char* value) { SetName(value); return *this;}
175
177
180 inline const ServiceStatus& GetStatus() const{ return m_status; }
181 inline void SetStatus(const ServiceStatus& value) { m_status = value; }
182 inline void SetStatus(ServiceStatus&& value) { m_status = std::move(value); }
183 inline GetServiceResult& WithStatus(const ServiceStatus& value) { SetStatus(value); return *this;}
184 inline GetServiceResult& WithStatus(ServiceStatus&& value) { SetStatus(std::move(value)); return *this;}
186
188
189 inline const Aws::String& GetRequestId() const{ return m_requestId; }
190 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
191 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
192 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
193 inline GetServiceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
194 inline GetServiceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
195 inline GetServiceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
197 private:
198
199 Aws::String m_arn;
200
201 AuthType m_authType;
202
203 Aws::String m_certificateArn;
204
205 Aws::Utils::DateTime m_createdAt;
206
207 Aws::String m_customDomainName;
208
209 DnsEntry m_dnsEntry;
210
211 Aws::String m_failureCode;
212
213 Aws::String m_failureMessage;
214
215 Aws::String m_id;
216
217 Aws::Utils::DateTime m_lastUpdatedAt;
218
219 Aws::String m_name;
220
221 ServiceStatus m_status;
222
223 Aws::String m_requestId;
224 };
225
226} // namespace Model
227} // namespace VPCLattice
228} // namespace Aws
Definition DnsEntry.h:32
GetServiceResult & WithDnsEntry(const DnsEntry &value)
void SetName(const Aws::String &value)
GetServiceResult & WithRequestId(const Aws::String &value)
const Aws::String & GetCertificateArn() const
GetServiceResult & WithName(const char *value)
GetServiceResult & WithId(const Aws::String &value)
AWS_VPCLATTICE_API GetServiceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetServiceResult & WithRequestId(Aws::String &&value)
GetServiceResult & WithFailureMessage(Aws::String &&value)
const Aws::String & GetFailureMessage() const
GetServiceResult & WithFailureMessage(const char *value)
const Aws::String & GetRequestId() const
void SetRequestId(const Aws::String &value)
GetServiceResult & WithCertificateArn(const char *value)
GetServiceResult & WithStatus(ServiceStatus &&value)
GetServiceResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
GetServiceResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetServiceResult & WithName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetFailureMessage(const Aws::String &value)
void SetFailureMessage(Aws::String &&value)
GetServiceResult & WithCertificateArn(const Aws::String &value)
void SetCertificateArn(Aws::String &&value)
void SetCustomDomainName(const Aws::String &value)
void SetDnsEntry(const DnsEntry &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetFailureCode() const
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
GetServiceResult & WithCustomDomainName(Aws::String &&value)
GetServiceResult & WithAuthType(const AuthType &value)
const ServiceStatus & GetStatus() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
GetServiceResult & WithDnsEntry(DnsEntry &&value)
AWS_VPCLATTICE_API GetServiceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetServiceResult & WithId(Aws::String &&value)
void SetStatus(const ServiceStatus &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetAuthType(const AuthType &value)
GetServiceResult & WithArn(const char *value)
GetServiceResult & WithStatus(const ServiceStatus &value)
GetServiceResult & WithAuthType(AuthType &&value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
GetServiceResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetServiceResult & WithCustomDomainName(const char *value)
GetServiceResult & WithFailureMessage(const Aws::String &value)
GetServiceResult & WithArn(Aws::String &&value)
GetServiceResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
GetServiceResult & WithFailureCode(const Aws::String &value)
GetServiceResult & WithFailureCode(const char *value)
GetServiceResult & WithId(const char *value)
GetServiceResult & WithName(const Aws::String &value)
void SetCertificateArn(const Aws::String &value)
GetServiceResult & WithRequestId(const char *value)
void SetCustomDomainName(Aws::String &&value)
const Aws::String & GetCustomDomainName() const
void SetId(const Aws::String &value)
void SetFailureCode(const Aws::String &value)
GetServiceResult & WithArn(const Aws::String &value)
GetServiceResult & WithCertificateArn(Aws::String &&value)
GetServiceResult & WithCustomDomainName(const Aws::String &value)
void SetArn(const Aws::String &value)
GetServiceResult & WithFailureCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue