AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateServiceResult.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/vpc-lattice/model/DnsEntry.h>
11#include <aws/vpc-lattice/model/ServiceStatus.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace VPCLattice
27{
28namespace Model
29{
31 {
32 public:
33 AWS_VPCLATTICE_API CreateServiceResult();
36
37
39
42 inline const Aws::String& GetArn() const{ return m_arn; }
43 inline void SetArn(const Aws::String& value) { m_arn = value; }
44 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
45 inline void SetArn(const char* value) { m_arn.assign(value); }
46 inline CreateServiceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
47 inline CreateServiceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
48 inline CreateServiceResult& WithArn(const char* value) { SetArn(value); return *this;}
50
52
55 inline const AuthType& GetAuthType() const{ return m_authType; }
56 inline void SetAuthType(const AuthType& value) { m_authType = value; }
57 inline void SetAuthType(AuthType&& value) { m_authType = std::move(value); }
58 inline CreateServiceResult& WithAuthType(const AuthType& value) { SetAuthType(value); return *this;}
59 inline CreateServiceResult& WithAuthType(AuthType&& value) { SetAuthType(std::move(value)); return *this;}
61
63
66 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
67 inline void SetCertificateArn(const Aws::String& value) { m_certificateArn = value; }
68 inline void SetCertificateArn(Aws::String&& value) { m_certificateArn = std::move(value); }
69 inline void SetCertificateArn(const char* value) { m_certificateArn.assign(value); }
70 inline CreateServiceResult& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
71 inline CreateServiceResult& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
72 inline CreateServiceResult& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
74
76
79 inline const Aws::String& GetCustomDomainName() const{ return m_customDomainName; }
80 inline void SetCustomDomainName(const Aws::String& value) { m_customDomainName = value; }
81 inline void SetCustomDomainName(Aws::String&& value) { m_customDomainName = std::move(value); }
82 inline void SetCustomDomainName(const char* value) { m_customDomainName.assign(value); }
83 inline CreateServiceResult& WithCustomDomainName(const Aws::String& value) { SetCustomDomainName(value); return *this;}
84 inline CreateServiceResult& WithCustomDomainName(Aws::String&& value) { SetCustomDomainName(std::move(value)); return *this;}
85 inline CreateServiceResult& WithCustomDomainName(const char* value) { SetCustomDomainName(value); return *this;}
87
89
92 inline const DnsEntry& GetDnsEntry() const{ return m_dnsEntry; }
93 inline void SetDnsEntry(const DnsEntry& value) { m_dnsEntry = value; }
94 inline void SetDnsEntry(DnsEntry&& value) { m_dnsEntry = std::move(value); }
95 inline CreateServiceResult& WithDnsEntry(const DnsEntry& value) { SetDnsEntry(value); return *this;}
96 inline CreateServiceResult& WithDnsEntry(DnsEntry&& value) { SetDnsEntry(std::move(value)); return *this;}
98
100
103 inline const Aws::String& GetId() const{ return m_id; }
104 inline void SetId(const Aws::String& value) { m_id = value; }
105 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
106 inline void SetId(const char* value) { m_id.assign(value); }
107 inline CreateServiceResult& WithId(const Aws::String& value) { SetId(value); return *this;}
108 inline CreateServiceResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
109 inline CreateServiceResult& WithId(const char* value) { SetId(value); return *this;}
111
113
116 inline const Aws::String& GetName() const{ return m_name; }
117 inline void SetName(const Aws::String& value) { m_name = value; }
118 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
119 inline void SetName(const char* value) { m_name.assign(value); }
120 inline CreateServiceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
121 inline CreateServiceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
122 inline CreateServiceResult& WithName(const char* value) { SetName(value); return *this;}
124
126
130 inline const ServiceStatus& GetStatus() const{ return m_status; }
131 inline void SetStatus(const ServiceStatus& value) { m_status = value; }
132 inline void SetStatus(ServiceStatus&& value) { m_status = std::move(value); }
133 inline CreateServiceResult& WithStatus(const ServiceStatus& value) { SetStatus(value); return *this;}
134 inline CreateServiceResult& WithStatus(ServiceStatus&& value) { SetStatus(std::move(value)); return *this;}
136
138
139 inline const Aws::String& GetRequestId() const{ return m_requestId; }
140 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
141 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
142 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
143 inline CreateServiceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
144 inline CreateServiceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
145 inline CreateServiceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
147 private:
148
149 Aws::String m_arn;
150
151 AuthType m_authType;
152
153 Aws::String m_certificateArn;
154
155 Aws::String m_customDomainName;
156
157 DnsEntry m_dnsEntry;
158
159 Aws::String m_id;
160
161 Aws::String m_name;
162
163 ServiceStatus m_status;
164
165 Aws::String m_requestId;
166 };
167
168} // namespace Model
169} // namespace VPCLattice
170} // namespace Aws
CreateServiceResult & WithCustomDomainName(const Aws::String &value)
void SetCustomDomainName(const Aws::String &value)
CreateServiceResult & WithId(Aws::String &&value)
CreateServiceResult & WithName(Aws::String &&value)
CreateServiceResult & WithAuthType(const AuthType &value)
CreateServiceResult & WithName(const char *value)
CreateServiceResult & WithCertificateArn(Aws::String &&value)
CreateServiceResult & WithAuthType(AuthType &&value)
CreateServiceResult & WithCustomDomainName(const char *value)
CreateServiceResult & WithCertificateArn(const char *value)
CreateServiceResult & WithCertificateArn(const Aws::String &value)
CreateServiceResult & WithArn(const char *value)
void SetCertificateArn(const Aws::String &value)
void SetStatus(const ServiceStatus &value)
CreateServiceResult & WithStatus(ServiceStatus &&value)
CreateServiceResult & WithRequestId(const char *value)
CreateServiceResult & WithCustomDomainName(Aws::String &&value)
CreateServiceResult & WithId(const char *value)
AWS_VPCLATTICE_API CreateServiceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateServiceResult & WithName(const Aws::String &value)
CreateServiceResult & WithDnsEntry(const DnsEntry &value)
CreateServiceResult & WithStatus(const ServiceStatus &value)
CreateServiceResult & WithArn(Aws::String &&value)
CreateServiceResult & WithArn(const Aws::String &value)
CreateServiceResult & WithId(const Aws::String &value)
CreateServiceResult & WithRequestId(const Aws::String &value)
AWS_VPCLATTICE_API CreateServiceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateServiceResult & WithDnsEntry(DnsEntry &&value)
CreateServiceResult & WithRequestId(Aws::String &&value)
Definition DnsEntry.h:32
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue