AWS SDK for C++

AWS SDK for C++ Version 1.11.938

Loading...
Searching...
No Matches
GetProxyUpdateResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/crt/cbor/Cbor.h>
11#include <aws/elb-proxy/ELBProxy_EXPORTS.h>
12#include <aws/elb-proxy/model/ProxyUpdateDetails.h>
13#include <aws/elb-proxy/model/ProxyUpdateState.h>
14
15#include <utility>
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Cbor {
22class CborValue;
23} // namespace Cbor
24} // namespace Utils
25namespace ELBProxy {
26namespace Model {
28 public:
29 AWS_ELBPROXY_API GetProxyUpdateResult() = default;
32
34
37 inline const Aws::String& GetProxyArn() const { return m_proxyArn; }
38 template <typename ProxyArnT = Aws::String>
39 void SetProxyArn(ProxyArnT&& value) {
40 m_proxyArnHasBeenSet = true;
41 m_proxyArn = std::forward<ProxyArnT>(value);
42 }
43 template <typename ProxyArnT = Aws::String>
44 GetProxyUpdateResult& WithProxyArn(ProxyArnT&& value) {
45 SetProxyArn(std::forward<ProxyArnT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetUpdateId() const { return m_updateId; }
55 template <typename UpdateIdT = Aws::String>
56 void SetUpdateId(UpdateIdT&& value) {
57 m_updateIdHasBeenSet = true;
58 m_updateId = std::forward<UpdateIdT>(value);
59 }
60 template <typename UpdateIdT = Aws::String>
61 GetProxyUpdateResult& WithUpdateId(UpdateIdT&& value) {
62 SetUpdateId(std::forward<UpdateIdT>(value));
63 return *this;
64 }
66
68
71 inline const ProxyUpdateState& GetState() const { return m_state; }
72 template <typename StateT = ProxyUpdateState>
73 void SetState(StateT&& value) {
74 m_stateHasBeenSet = true;
75 m_state = std::forward<StateT>(value);
76 }
77 template <typename StateT = ProxyUpdateState>
79 SetState(std::forward<StateT>(value));
80 return *this;
81 }
83
85
88 inline const ProxyUpdateDetails& GetDetails() const { return m_details; }
89 template <typename DetailsT = ProxyUpdateDetails>
90 void SetDetails(DetailsT&& value) {
91 m_detailsHasBeenSet = true;
92 m_details = std::forward<DetailsT>(value);
93 }
94 template <typename DetailsT = ProxyUpdateDetails>
95 GetProxyUpdateResult& WithDetails(DetailsT&& value) {
96 SetDetails(std::forward<DetailsT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::Utils::DateTime& GetSubmittedAt() const { return m_submittedAt; }
106 template <typename SubmittedAtT = Aws::Utils::DateTime>
107 void SetSubmittedAt(SubmittedAtT&& value) {
108 m_submittedAtHasBeenSet = true;
109 m_submittedAt = std::forward<SubmittedAtT>(value);
110 }
111 template <typename SubmittedAtT = Aws::Utils::DateTime>
112 GetProxyUpdateResult& WithSubmittedAt(SubmittedAtT&& value) {
113 SetSubmittedAt(std::forward<SubmittedAtT>(value));
114 return *this;
115 }
117
119
123 inline const Aws::Utils::DateTime& GetValidatedAt() const { return m_validatedAt; }
124 template <typename ValidatedAtT = Aws::Utils::DateTime>
125 void SetValidatedAt(ValidatedAtT&& value) {
126 m_validatedAtHasBeenSet = true;
127 m_validatedAt = std::forward<ValidatedAtT>(value);
128 }
129 template <typename ValidatedAtT = Aws::Utils::DateTime>
130 GetProxyUpdateResult& WithValidatedAt(ValidatedAtT&& value) {
131 SetValidatedAt(std::forward<ValidatedAtT>(value));
132 return *this;
133 }
135
137
143 inline const Aws::Utils::DateTime& GetCompletedAt() const { return m_completedAt; }
144 template <typename CompletedAtT = Aws::Utils::DateTime>
145 void SetCompletedAt(CompletedAtT&& value) {
146 m_completedAtHasBeenSet = true;
147 m_completedAt = std::forward<CompletedAtT>(value);
148 }
149 template <typename CompletedAtT = Aws::Utils::DateTime>
150 GetProxyUpdateResult& WithCompletedAt(CompletedAtT&& value) {
151 SetCompletedAt(std::forward<CompletedAtT>(value));
152 return *this;
153 }
155
157
158 inline const Aws::String& GetRequestId() const { return m_requestId; }
159 template <typename RequestIdT = Aws::String>
160 void SetRequestId(RequestIdT&& value) {
161 m_requestIdHasBeenSet = true;
162 m_requestId = std::forward<RequestIdT>(value);
163 }
164 template <typename RequestIdT = Aws::String>
165 GetProxyUpdateResult& WithRequestId(RequestIdT&& value) {
166 SetRequestId(std::forward<RequestIdT>(value));
167 return *this;
168 }
170 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
171
172 private:
173 Aws::String m_proxyArn;
174
175 Aws::String m_updateId;
176
177 ProxyUpdateState m_state;
178
179 ProxyUpdateDetails m_details;
180
181 Aws::Utils::DateTime m_submittedAt{};
182
183 Aws::Utils::DateTime m_validatedAt{};
184
185 Aws::Utils::DateTime m_completedAt{};
186
187 Aws::String m_requestId;
188 Aws::Http::HttpResponseCode m_HttpResponseCode;
189 bool m_proxyArnHasBeenSet = false;
190 bool m_updateIdHasBeenSet = false;
191 bool m_stateHasBeenSet = false;
192 bool m_detailsHasBeenSet = false;
193 bool m_submittedAtHasBeenSet = false;
194 bool m_validatedAtHasBeenSet = false;
195 bool m_completedAtHasBeenSet = false;
196 bool m_requestIdHasBeenSet = false;
197};
198
199} // namespace Model
200} // namespace ELBProxy
201} // namespace Aws
GetProxyUpdateResult & WithValidatedAt(ValidatedAtT &&value)
const Aws::Utils::DateTime & GetCompletedAt() const
AWS_ELBPROXY_API GetProxyUpdateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
GetProxyUpdateResult & WithRequestId(RequestIdT &&value)
AWS_ELBPROXY_API GetProxyUpdateResult()=default
AWS_ELBPROXY_API GetProxyUpdateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
GetProxyUpdateResult & WithCompletedAt(CompletedAtT &&value)
GetProxyUpdateResult & WithProxyArn(ProxyArnT &&value)
const ProxyUpdateDetails & GetDetails() const
GetProxyUpdateResult & WithState(StateT &&value)
GetProxyUpdateResult & WithSubmittedAt(SubmittedAtT &&value)
GetProxyUpdateResult & WithDetails(DetailsT &&value)
GetProxyUpdateResult & WithUpdateId(UpdateIdT &&value)
const Aws::Utils::DateTime & GetValidatedAt() const
const Aws::Utils::DateTime & GetSubmittedAt() const
const ProxyUpdateState & GetState() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String