AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
36
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
43 template<typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
45 template<typename ArnT = Aws::String>
46 CreateServiceResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
48
50
53 inline AuthType GetAuthType() const { return m_authType; }
54 inline void SetAuthType(AuthType value) { m_authTypeHasBeenSet = true; m_authType = value; }
55 inline CreateServiceResult& WithAuthType(AuthType value) { SetAuthType(value); return *this;}
57
59
62 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
63 template<typename CertificateArnT = Aws::String>
64 void SetCertificateArn(CertificateArnT&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::forward<CertificateArnT>(value); }
65 template<typename CertificateArnT = Aws::String>
66 CreateServiceResult& WithCertificateArn(CertificateArnT&& value) { SetCertificateArn(std::forward<CertificateArnT>(value)); return *this;}
68
70
73 inline const Aws::String& GetCustomDomainName() const { return m_customDomainName; }
74 template<typename CustomDomainNameT = Aws::String>
75 void SetCustomDomainName(CustomDomainNameT&& value) { m_customDomainNameHasBeenSet = true; m_customDomainName = std::forward<CustomDomainNameT>(value); }
76 template<typename CustomDomainNameT = Aws::String>
77 CreateServiceResult& WithCustomDomainName(CustomDomainNameT&& value) { SetCustomDomainName(std::forward<CustomDomainNameT>(value)); return *this;}
79
81
84 inline const DnsEntry& GetDnsEntry() const { return m_dnsEntry; }
85 template<typename DnsEntryT = DnsEntry>
86 void SetDnsEntry(DnsEntryT&& value) { m_dnsEntryHasBeenSet = true; m_dnsEntry = std::forward<DnsEntryT>(value); }
87 template<typename DnsEntryT = DnsEntry>
88 CreateServiceResult& WithDnsEntry(DnsEntryT&& value) { SetDnsEntry(std::forward<DnsEntryT>(value)); return *this;}
90
92
95 inline const Aws::String& GetId() const { return m_id; }
96 template<typename IdT = Aws::String>
97 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
98 template<typename IdT = Aws::String>
99 CreateServiceResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
101
103
106 inline const Aws::String& GetName() const { return m_name; }
107 template<typename NameT = Aws::String>
108 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
109 template<typename NameT = Aws::String>
110 CreateServiceResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
112
114
118 inline ServiceStatus GetStatus() const { return m_status; }
119 inline void SetStatus(ServiceStatus value) { m_statusHasBeenSet = true; m_status = value; }
120 inline CreateServiceResult& WithStatus(ServiceStatus value) { SetStatus(value); return *this;}
122
124
125 inline const Aws::String& GetRequestId() const { return m_requestId; }
126 template<typename RequestIdT = Aws::String>
127 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
128 template<typename RequestIdT = Aws::String>
129 CreateServiceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
131 private:
132
133 Aws::String m_arn;
134 bool m_arnHasBeenSet = false;
135
136 AuthType m_authType{AuthType::NOT_SET};
137 bool m_authTypeHasBeenSet = false;
138
139 Aws::String m_certificateArn;
140 bool m_certificateArnHasBeenSet = false;
141
142 Aws::String m_customDomainName;
143 bool m_customDomainNameHasBeenSet = false;
144
145 DnsEntry m_dnsEntry;
146 bool m_dnsEntryHasBeenSet = false;
147
148 Aws::String m_id;
149 bool m_idHasBeenSet = false;
150
151 Aws::String m_name;
152 bool m_nameHasBeenSet = false;
153
155 bool m_statusHasBeenSet = false;
156
157 Aws::String m_requestId;
158 bool m_requestIdHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace VPCLattice
163} // namespace Aws
CreateServiceResult & WithName(NameT &&value)
AWS_VPCLATTICE_API CreateServiceResult()=default
CreateServiceResult & WithCertificateArn(CertificateArnT &&value)
CreateServiceResult & WithAuthType(AuthType value)
void SetCustomDomainName(CustomDomainNameT &&value)
CreateServiceResult & WithId(IdT &&value)
CreateServiceResult & WithDnsEntry(DnsEntryT &&value)
AWS_VPCLATTICE_API CreateServiceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateServiceResult & WithRequestId(RequestIdT &&value)
CreateServiceResult & WithStatus(ServiceStatus value)
AWS_VPCLATTICE_API CreateServiceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateServiceResult & WithCustomDomainName(CustomDomainNameT &&value)
CreateServiceResult & WithArn(ArnT &&value)
void SetCertificateArn(CertificateArnT &&value)
Definition DnsEntry.h:32
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue