AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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 {
34 public:
35 AWS_DEADLINE_API GetLicenseEndpointResult() = default;
38
40
43 inline const Aws::String& GetLicenseEndpointId() const { return m_licenseEndpointId; }
44 template <typename LicenseEndpointIdT = Aws::String>
45 void SetLicenseEndpointId(LicenseEndpointIdT&& value) {
46 m_licenseEndpointIdHasBeenSet = true;
47 m_licenseEndpointId = std::forward<LicenseEndpointIdT>(value);
48 }
49 template <typename LicenseEndpointIdT = Aws::String>
50 GetLicenseEndpointResult& WithLicenseEndpointId(LicenseEndpointIdT&& value) {
51 SetLicenseEndpointId(std::forward<LicenseEndpointIdT>(value));
52 return *this;
53 }
55
57
60 inline LicenseEndpointStatus GetStatus() const { return m_status; }
61 inline void SetStatus(LicenseEndpointStatus value) {
62 m_statusHasBeenSet = true;
63 m_status = value;
64 }
66 SetStatus(value);
67 return *this;
68 }
70
72
75 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
76 template <typename StatusMessageT = Aws::String>
77 void SetStatusMessage(StatusMessageT&& value) {
78 m_statusMessageHasBeenSet = true;
79 m_statusMessage = std::forward<StatusMessageT>(value);
80 }
81 template <typename StatusMessageT = Aws::String>
83 SetStatusMessage(std::forward<StatusMessageT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetVpcId() const { return m_vpcId; }
93 template <typename VpcIdT = Aws::String>
94 void SetVpcId(VpcIdT&& value) {
95 m_vpcIdHasBeenSet = true;
96 m_vpcId = std::forward<VpcIdT>(value);
97 }
98 template <typename VpcIdT = Aws::String>
100 SetVpcId(std::forward<VpcIdT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetDnsName() const { return m_dnsName; }
110 template <typename DnsNameT = Aws::String>
111 void SetDnsName(DnsNameT&& value) {
112 m_dnsNameHasBeenSet = true;
113 m_dnsName = std::forward<DnsNameT>(value);
114 }
115 template <typename DnsNameT = Aws::String>
117 SetDnsName(std::forward<DnsNameT>(value));
118 return *this;
119 }
121
123
126 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
127 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
128 void SetSubnetIds(SubnetIdsT&& value) {
129 m_subnetIdsHasBeenSet = true;
130 m_subnetIds = std::forward<SubnetIdsT>(value);
131 }
132 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
134 SetSubnetIds(std::forward<SubnetIdsT>(value));
135 return *this;
136 }
137 template <typename SubnetIdsT = Aws::String>
139 m_subnetIdsHasBeenSet = true;
140 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
150 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
151 void SetSecurityGroupIds(SecurityGroupIdsT&& value) {
152 m_securityGroupIdsHasBeenSet = true;
153 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
154 }
155 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
156 GetLicenseEndpointResult& WithSecurityGroupIds(SecurityGroupIdsT&& value) {
157 SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value));
158 return *this;
159 }
160 template <typename SecurityGroupIdsT = Aws::String>
161 GetLicenseEndpointResult& AddSecurityGroupIds(SecurityGroupIdsT&& value) {
162 m_securityGroupIdsHasBeenSet = true;
163 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
164 return *this;
165 }
167
169
170 inline const Aws::String& GetRequestId() const { return m_requestId; }
171 template <typename RequestIdT = Aws::String>
172 void SetRequestId(RequestIdT&& value) {
173 m_requestIdHasBeenSet = true;
174 m_requestId = std::forward<RequestIdT>(value);
175 }
176 template <typename RequestIdT = Aws::String>
178 SetRequestId(std::forward<RequestIdT>(value));
179 return *this;
180 }
182 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
183
184 private:
185 Aws::String m_licenseEndpointId;
186
188
189 Aws::String m_statusMessage;
190
191 Aws::String m_vpcId;
192
193 Aws::String m_dnsName;
194
195 Aws::Vector<Aws::String> m_subnetIds;
196
197 Aws::Vector<Aws::String> m_securityGroupIds;
198
199 Aws::String m_requestId;
200 Aws::Http::HttpResponseCode m_HttpResponseCode;
201 bool m_licenseEndpointIdHasBeenSet = false;
202 bool m_statusHasBeenSet = false;
203 bool m_statusMessageHasBeenSet = false;
204 bool m_vpcIdHasBeenSet = false;
205 bool m_dnsNameHasBeenSet = false;
206 bool m_subnetIdsHasBeenSet = false;
207 bool m_securityGroupIdsHasBeenSet = false;
208 bool m_requestIdHasBeenSet = false;
209};
210
211} // namespace Model
212} // namespace deadline
213} // 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