7#include <aws/context/Context_EXPORTS.h>
8#include <aws/context/model/CurationPolicyStatus.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/crt/cbor/Cbor.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
38 template <
typename IdT = Aws::String>
40 m_idHasBeenSet =
true;
41 m_id = std::forward<IdT>(value);
43 template <
typename IdT = Aws::String>
45 SetId(std::forward<IdT>(value));
55 template <
typename ArnT = Aws::String>
57 m_arnHasBeenSet =
true;
58 m_arn = std::forward<ArnT>(value);
60 template <
typename ArnT = Aws::String>
62 SetArn(std::forward<ArnT>(value));
72 template <
typename NameT = Aws::String>
74 m_nameHasBeenSet =
true;
75 m_name = std::forward<NameT>(value);
77 template <
typename NameT = Aws::String>
79 SetName(std::forward<NameT>(value));
90 template <
typename LastPublishedVersionT = Aws::String>
92 m_lastPublishedVersionHasBeenSet =
true;
93 m_lastPublishedVersion = std::forward<LastPublishedVersionT>(value);
95 template <
typename LastPublishedVersionT = Aws::String>
109 template <
typename RevisionIdT = Aws::String>
111 m_revisionIdHasBeenSet =
true;
112 m_revisionId = std::forward<RevisionIdT>(value);
114 template <
typename RevisionIdT = Aws::String>
126 template <
typename CreatedAtT = Aws::Utils::DateTime>
128 m_createdAtHasBeenSet =
true;
129 m_createdAt = std::forward<CreatedAtT>(value);
131 template <
typename CreatedAtT = Aws::Utils::DateTime>
144 template <
typename UpdatedAtT = Aws::Utils::DateTime>
146 m_updatedAtHasBeenSet =
true;
147 m_updatedAt = std::forward<UpdatedAtT>(value);
149 template <
typename UpdatedAtT = Aws::Utils::DateTime>
166 m_autoRejectAfterSecondsHasBeenSet =
true;
167 m_autoRejectAfterSeconds = value;
180 template <
typename DescriptionT = Aws::String>
182 m_descriptionHasBeenSet =
true;
183 m_description = std::forward<DescriptionT>(value);
185 template <
typename DescriptionT = Aws::String>
198 template <
typename PolicyDocumentT = Aws::String>
200 m_policyDocumentHasBeenSet =
true;
201 m_policyDocument = std::forward<PolicyDocumentT>(value);
203 template <
typename PolicyDocumentT = Aws::String>
221 m_statusHasBeenSet =
true;
233 template <
typename RequestIdT = Aws::String>
235 m_requestIdHasBeenSet =
true;
236 m_requestId = std::forward<RequestIdT>(value);
238 template <
typename RequestIdT = Aws::String>
261 long long m_autoRejectAfterSeconds{0};
271 bool m_idHasBeenSet =
false;
272 bool m_arnHasBeenSet =
false;
273 bool m_nameHasBeenSet =
false;
274 bool m_lastPublishedVersionHasBeenSet =
false;
275 bool m_revisionIdHasBeenSet =
false;
276 bool m_createdAtHasBeenSet =
false;
277 bool m_updatedAtHasBeenSet =
false;
278 bool m_autoRejectAfterSecondsHasBeenSet =
false;
279 bool m_descriptionHasBeenSet =
false;
280 bool m_policyDocumentHasBeenSet =
false;
281 bool m_statusHasBeenSet =
false;
282 bool m_requestIdHasBeenSet =
false;
void SetPolicyDocument(PolicyDocumentT &&value)
const Aws::String & GetRevisionId() const
GetCurationPolicyResult & WithAutoRejectAfterSeconds(long long value)
AWS_CONTEXT_API GetCurationPolicyResult()=default
GetCurationPolicyResult & WithArn(ArnT &&value)
const Aws::String & GetId() const
void SetDescription(DescriptionT &&value)
void SetName(NameT &&value)
const Aws::String & GetArn() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetStatus(CurationPolicyStatus value)
GetCurationPolicyResult & WithLastPublishedVersion(LastPublishedVersionT &&value)
AWS_CONTEXT_API GetCurationPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
void SetRequestId(RequestIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
GetCurationPolicyResult & WithPolicyDocument(PolicyDocumentT &&value)
GetCurationPolicyResult & WithRevisionId(RevisionIdT &&value)
const Aws::String & GetPolicyDocument() const
AWS_CONTEXT_API GetCurationPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
void SetRevisionId(RevisionIdT &&value)
const Aws::String & GetDescription() const
CurationPolicyStatus GetStatus() const
GetCurationPolicyResult & WithDescription(DescriptionT &&value)
GetCurationPolicyResult & WithId(IdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
GetCurationPolicyResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetLastPublishedVersion() const
void SetArn(ArnT &&value)
GetCurationPolicyResult & WithName(NameT &&value)
GetCurationPolicyResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetRequestId() const
GetCurationPolicyResult & WithCreatedAt(CreatedAtT &&value)
void SetLastPublishedVersion(LastPublishedVersionT &&value)
long long GetAutoRejectAfterSeconds() const
void SetAutoRejectAfterSeconds(long long value)
GetCurationPolicyResult & WithStatus(CurationPolicyStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String