AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
GetLicenseEndpointResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/deadline/Deadline_EXPORTS.h>
11#include <aws/deadline/model/LicenseEndpointStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace deadline {
25namespace Model {
27 public:
28 AWS_DEADLINE_API GetLicenseEndpointResult() = default;
31
33
36 inline const Aws::String& GetLicenseEndpointId() const { return m_licenseEndpointId; }
37 template <typename LicenseEndpointIdT = Aws::String>
38 void SetLicenseEndpointId(LicenseEndpointIdT&& value) {
39 m_licenseEndpointIdHasBeenSet = true;
40 m_licenseEndpointId = std::forward<LicenseEndpointIdT>(value);
41 }
42 template <typename LicenseEndpointIdT = Aws::String>
43 GetLicenseEndpointResult& WithLicenseEndpointId(LicenseEndpointIdT&& value) {
44 SetLicenseEndpointId(std::forward<LicenseEndpointIdT>(value));
45 return *this;
46 }
48
50
53 inline LicenseEndpointStatus GetStatus() const { return m_status; }
54 inline void SetStatus(LicenseEndpointStatus value) {
55 m_statusHasBeenSet = true;
56 m_status = value;
57 }
59 SetStatus(value);
60 return *this;
61 }
63
65
68 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
69 template <typename StatusMessageT = Aws::String>
70 void SetStatusMessage(StatusMessageT&& value) {
71 m_statusMessageHasBeenSet = true;
72 m_statusMessage = std::forward<StatusMessageT>(value);
73 }
74 template <typename StatusMessageT = Aws::String>
76 SetStatusMessage(std::forward<StatusMessageT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetVpcId() const { return m_vpcId; }
86 template <typename VpcIdT = Aws::String>
87 void SetVpcId(VpcIdT&& value) {
88 m_vpcIdHasBeenSet = true;
89 m_vpcId = std::forward<VpcIdT>(value);
90 }
91 template <typename VpcIdT = Aws::String>
93 SetVpcId(std::forward<VpcIdT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetDnsName() const { return m_dnsName; }
103 template <typename DnsNameT = Aws::String>
104 void SetDnsName(DnsNameT&& value) {
105 m_dnsNameHasBeenSet = true;
106 m_dnsName = std::forward<DnsNameT>(value);
107 }
108 template <typename DnsNameT = Aws::String>
110 SetDnsName(std::forward<DnsNameT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
120 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
121 void SetSubnetIds(SubnetIdsT&& value) {
122 m_subnetIdsHasBeenSet = true;
123 m_subnetIds = std::forward<SubnetIdsT>(value);
124 }
125 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
127 SetSubnetIds(std::forward<SubnetIdsT>(value));
128 return *this;
129 }
130 template <typename SubnetIdsT = Aws::String>
132 m_subnetIdsHasBeenSet = true;
133 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
134 return *this;
135 }
137
139
142 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
143 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
144 void SetSecurityGroupIds(SecurityGroupIdsT&& value) {
145 m_securityGroupIdsHasBeenSet = true;
146 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
147 }
148 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
149 GetLicenseEndpointResult& WithSecurityGroupIds(SecurityGroupIdsT&& value) {
150 SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value));
151 return *this;
152 }
153 template <typename SecurityGroupIdsT = Aws::String>
154 GetLicenseEndpointResult& AddSecurityGroupIds(SecurityGroupIdsT&& value) {
155 m_securityGroupIdsHasBeenSet = true;
156 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
157 return *this;
158 }
160
162
163 inline const Aws::String& GetRequestId() const { return m_requestId; }
164 template <typename RequestIdT = Aws::String>
165 void SetRequestId(RequestIdT&& value) {
166 m_requestIdHasBeenSet = true;
167 m_requestId = std::forward<RequestIdT>(value);
168 }
169 template <typename RequestIdT = Aws::String>
171 SetRequestId(std::forward<RequestIdT>(value));
172 return *this;
173 }
175 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
176
177 private:
178 Aws::String m_licenseEndpointId;
179
181
182 Aws::String m_statusMessage;
183
184 Aws::String m_vpcId;
185
186 Aws::String m_dnsName;
187
188 Aws::Vector<Aws::String> m_subnetIds;
189
190 Aws::Vector<Aws::String> m_securityGroupIds;
191
192 Aws::String m_requestId;
193 Aws::Http::HttpResponseCode m_HttpResponseCode;
194 bool m_licenseEndpointIdHasBeenSet = false;
195 bool m_statusHasBeenSet = false;
196 bool m_statusMessageHasBeenSet = false;
197 bool m_vpcIdHasBeenSet = false;
198 bool m_dnsNameHasBeenSet = false;
199 bool m_subnetIdsHasBeenSet = false;
200 bool m_securityGroupIdsHasBeenSet = false;
201 bool m_requestIdHasBeenSet = false;
202};
203
204} // namespace Model
205} // namespace deadline
206} // namespace Aws
GetLicenseEndpointResult & WithSecurityGroupIds(SecurityGroupIdsT &&value)
GetLicenseEndpointResult & AddSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
GetLicenseEndpointResult & WithStatusMessage(StatusMessageT &&value)
GetLicenseEndpointResult & AddSubnetIds(SubnetIdsT &&value)
AWS_DEADLINE_API GetLicenseEndpointResult()=default
GetLicenseEndpointResult & WithSubnetIds(SubnetIdsT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
GetLicenseEndpointResult & WithLicenseEndpointId(LicenseEndpointIdT &&value)
GetLicenseEndpointResult & WithStatus(LicenseEndpointStatus value)
AWS_DEADLINE_API GetLicenseEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetLicenseEndpointResult & WithDnsName(DnsNameT &&value)
GetLicenseEndpointResult & WithVpcId(VpcIdT &&value)
AWS_DEADLINE_API GetLicenseEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLicenseEndpointResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue