AWS SDK for C++

AWS SDK for C++ Version 1.11.938

Loading...
Searching...
No Matches
ProxyUpdateSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/elb-proxy/ELBProxy_EXPORTS.h>
11#include <aws/elb-proxy/model/ProxyUpdatePropagationStatus.h>
12#include <aws/elb-proxy/model/ProxyUpdateType.h>
13#include <aws/elb-proxy/model/ProxyUpdateValidationStatus.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Cbor {
20class CborValue;
21} // namespace Cbor
22} // namespace Utils
23namespace ELBProxy {
24namespace Model {
25
32 public:
33 AWS_ELBPROXY_API ProxyUpdateSummary() = default;
34 AWS_ELBPROXY_API ProxyUpdateSummary(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_ELBPROXY_API ProxyUpdateSummary& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
36 AWS_ELBPROXY_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
37
39
42 inline const Aws::String& GetUpdateId() const { return m_updateId; }
43 inline bool UpdateIdHasBeenSet() const { return m_updateIdHasBeenSet; }
44 template <typename UpdateIdT = Aws::String>
45 void SetUpdateId(UpdateIdT&& value) {
46 m_updateIdHasBeenSet = true;
47 m_updateId = std::forward<UpdateIdT>(value);
48 }
49 template <typename UpdateIdT = Aws::String>
50 ProxyUpdateSummary& WithUpdateId(UpdateIdT&& value) {
51 SetUpdateId(std::forward<UpdateIdT>(value));
52 return *this;
53 }
55
57
60 inline ProxyUpdateType GetType() const { return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(ProxyUpdateType value) {
63 m_typeHasBeenSet = true;
64 m_type = value;
65 }
67 SetType(value);
68 return *this;
69 }
71
73
76 inline ProxyUpdateValidationStatus GetValidationStatus() const { return m_validationStatus; }
77 inline bool ValidationStatusHasBeenSet() const { return m_validationStatusHasBeenSet; }
79 m_validationStatusHasBeenSet = true;
80 m_validationStatus = value;
81 }
87
89
93 inline ProxyUpdatePropagationStatus GetPropagationStatus() const { return m_propagationStatus; }
94 inline bool PropagationStatusHasBeenSet() const { return m_propagationStatusHasBeenSet; }
96 m_propagationStatusHasBeenSet = true;
97 m_propagationStatus = value;
98 }
104
106
109 inline const Aws::Utils::DateTime& GetSubmittedAt() const { return m_submittedAt; }
110 inline bool SubmittedAtHasBeenSet() const { return m_submittedAtHasBeenSet; }
111 template <typename SubmittedAtT = Aws::Utils::DateTime>
112 void SetSubmittedAt(SubmittedAtT&& value) {
113 m_submittedAtHasBeenSet = true;
114 m_submittedAt = std::forward<SubmittedAtT>(value);
115 }
116 template <typename SubmittedAtT = Aws::Utils::DateTime>
117 ProxyUpdateSummary& WithSubmittedAt(SubmittedAtT&& value) {
118 SetSubmittedAt(std::forward<SubmittedAtT>(value));
119 return *this;
120 }
122
124
128 inline const Aws::Utils::DateTime& GetValidatedAt() const { return m_validatedAt; }
129 inline bool ValidatedAtHasBeenSet() const { return m_validatedAtHasBeenSet; }
130 template <typename ValidatedAtT = Aws::Utils::DateTime>
131 void SetValidatedAt(ValidatedAtT&& value) {
132 m_validatedAtHasBeenSet = true;
133 m_validatedAt = std::forward<ValidatedAtT>(value);
134 }
135 template <typename ValidatedAtT = Aws::Utils::DateTime>
136 ProxyUpdateSummary& WithValidatedAt(ValidatedAtT&& value) {
137 SetValidatedAt(std::forward<ValidatedAtT>(value));
138 return *this;
139 }
141
143
149 inline const Aws::Utils::DateTime& GetCompletedAt() const { return m_completedAt; }
150 inline bool CompletedAtHasBeenSet() const { return m_completedAtHasBeenSet; }
151 template <typename CompletedAtT = Aws::Utils::DateTime>
152 void SetCompletedAt(CompletedAtT&& value) {
153 m_completedAtHasBeenSet = true;
154 m_completedAt = std::forward<CompletedAtT>(value);
155 }
156 template <typename CompletedAtT = Aws::Utils::DateTime>
157 ProxyUpdateSummary& WithCompletedAt(CompletedAtT&& value) {
158 SetCompletedAt(std::forward<CompletedAtT>(value));
159 return *this;
160 }
162 private:
163 Aws::String m_updateId;
164
166
168
170
171 Aws::Utils::DateTime m_submittedAt{};
172
173 Aws::Utils::DateTime m_validatedAt{};
174
175 Aws::Utils::DateTime m_completedAt{};
176 bool m_updateIdHasBeenSet = false;
177 bool m_typeHasBeenSet = false;
178 bool m_validationStatusHasBeenSet = false;
179 bool m_propagationStatusHasBeenSet = false;
180 bool m_submittedAtHasBeenSet = false;
181 bool m_validatedAtHasBeenSet = false;
182 bool m_completedAtHasBeenSet = false;
183};
184
185} // namespace Model
186} // namespace ELBProxy
187} // namespace Aws
AWS_ELBPROXY_API ProxyUpdateSummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::Utils::DateTime & GetValidatedAt() const
ProxyUpdateSummary & WithCompletedAt(CompletedAtT &&value)
ProxyUpdateSummary & WithType(ProxyUpdateType value)
ProxyUpdatePropagationStatus GetPropagationStatus() const
ProxyUpdateValidationStatus GetValidationStatus() const
const Aws::Utils::DateTime & GetCompletedAt() const
ProxyUpdateSummary & WithSubmittedAt(SubmittedAtT &&value)
ProxyUpdateSummary & WithValidationStatus(ProxyUpdateValidationStatus value)
ProxyUpdateSummary & WithValidatedAt(ValidatedAtT &&value)
const Aws::Utils::DateTime & GetSubmittedAt() const
void SetValidationStatus(ProxyUpdateValidationStatus value)
AWS_ELBPROXY_API ProxyUpdateSummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetPropagationStatus(ProxyUpdatePropagationStatus value)
AWS_ELBPROXY_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ProxyUpdateSummary & WithUpdateId(UpdateIdT &&value)
ProxyUpdateSummary & WithPropagationStatus(ProxyUpdatePropagationStatus value)
AWS_ELBPROXY_API ProxyUpdateSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String