7#include <aws/context/Context_EXPORTS.h>
8#include <aws/context/model/CurationPolicyStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/crt/cbor/Cbor.h>
36 AWS_CONTEXT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 template <
typename IdT = Aws::String>
47 m_idHasBeenSet =
true;
48 m_id = std::forward<IdT>(value);
50 template <
typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
63 template <
typename ArnT = Aws::String>
65 m_arnHasBeenSet =
true;
66 m_arn = std::forward<ArnT>(value);
68 template <
typename ArnT = Aws::String>
70 SetArn(std::forward<ArnT>(value));
81 template <
typename NameT = Aws::String>
83 m_nameHasBeenSet =
true;
84 m_name = std::forward<NameT>(value);
86 template <
typename NameT = Aws::String>
88 SetName(std::forward<NameT>(value));
100 template <
typename LastPublishedVersionT = Aws::String>
102 m_lastPublishedVersionHasBeenSet =
true;
103 m_lastPublishedVersion = std::forward<LastPublishedVersionT>(value);
105 template <
typename LastPublishedVersionT = Aws::String>
120 template <
typename RevisionIdT = Aws::String>
122 m_revisionIdHasBeenSet =
true;
123 m_revisionId = std::forward<RevisionIdT>(value);
125 template <
typename RevisionIdT = Aws::String>
138 template <
typename CreatedAtT = Aws::Utils::DateTime>
140 m_createdAtHasBeenSet =
true;
141 m_createdAt = std::forward<CreatedAtT>(value);
143 template <
typename CreatedAtT = Aws::Utils::DateTime>
157 template <
typename UpdatedAtT = Aws::Utils::DateTime>
159 m_updatedAtHasBeenSet =
true;
160 m_updatedAt = std::forward<UpdatedAtT>(value);
162 template <
typename UpdatedAtT = Aws::Utils::DateTime>
180 m_autoRejectAfterSecondsHasBeenSet =
true;
181 m_autoRejectAfterSeconds = value;
201 m_statusHasBeenSet =
true;
224 long long m_autoRejectAfterSeconds{0};
227 bool m_idHasBeenSet =
false;
228 bool m_arnHasBeenSet =
false;
229 bool m_nameHasBeenSet =
false;
230 bool m_lastPublishedVersionHasBeenSet =
false;
231 bool m_revisionIdHasBeenSet =
false;
232 bool m_createdAtHasBeenSet =
false;
233 bool m_updatedAtHasBeenSet =
false;
234 bool m_autoRejectAfterSecondsHasBeenSet =
false;
235 bool m_statusHasBeenSet =
false;
CurationPolicySummary & WithAutoRejectAfterSeconds(long long value)
AWS_CONTEXT_API CurationPolicySummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetName() const
void SetUpdatedAt(UpdatedAtT &&value)
void SetAutoRejectAfterSeconds(long long value)
CurationPolicySummary & WithArn(ArnT &&value)
CurationPolicyStatus GetStatus() const
CurationPolicySummary & WithUpdatedAt(UpdatedAtT &&value)
void SetArn(ArnT &&value)
CurationPolicySummary & WithCreatedAt(CreatedAtT &&value)
bool UpdatedAtHasBeenSet() const
const Aws::String & GetRevisionId() const
bool CreatedAtHasBeenSet() const
bool AutoRejectAfterSecondsHasBeenSet() const
bool NameHasBeenSet() const
bool StatusHasBeenSet() const
long long GetAutoRejectAfterSeconds() const
CurationPolicySummary & WithLastPublishedVersion(LastPublishedVersionT &&value)
void SetStatus(CurationPolicyStatus value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetArn() const
void SetLastPublishedVersion(LastPublishedVersionT &&value)
AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool IdHasBeenSet() const
void SetRevisionId(RevisionIdT &&value)
CurationPolicySummary & WithId(IdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
CurationPolicySummary & WithStatus(CurationPolicyStatus value)
AWS_CONTEXT_API CurationPolicySummary()=default
void SetCreatedAt(CreatedAtT &&value)
CurationPolicySummary & WithRevisionId(RevisionIdT &&value)
const Aws::String & GetId() const
const Aws::String & GetLastPublishedVersion() const
CurationPolicySummary & WithName(NameT &&value)
AWS_CONTEXT_API CurationPolicySummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool RevisionIdHasBeenSet() const
bool ArnHasBeenSet() const
void SetName(NameT &&value)
bool LastPublishedVersionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String