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/mailmanager/MailManager_EXPORTS.h>
11#include <aws/mailmanager/model/ArchiveRetention.h>
12#include <aws/mailmanager/model/ArchiveState.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace MailManager {
44 template <
typename ArchiveIdT = Aws::String>
46 m_archiveIdHasBeenSet =
true;
47 m_archiveId = std::forward<ArchiveIdT>(value);
49 template <
typename ArchiveIdT = Aws::String>
61 template <
typename ArchiveNameT = Aws::String>
63 m_archiveNameHasBeenSet =
true;
64 m_archiveName = std::forward<ArchiveNameT>(value);
66 template <
typename ArchiveNameT = Aws::String>
78 template <
typename ArchiveArnT = Aws::String>
80 m_archiveArnHasBeenSet =
true;
81 m_archiveArn = std::forward<ArchiveArnT>(value);
83 template <
typename ArchiveArnT = Aws::String>
100 m_archiveStateHasBeenSet =
true;
101 m_archiveState = value;
114 template <
typename RetentionT = ArchiveRetention>
116 m_retentionHasBeenSet =
true;
117 m_retention = std::forward<RetentionT>(value);
119 template <
typename RetentionT = ArchiveRetention>
131 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
133 m_createdTimestampHasBeenSet =
true;
134 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
136 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
148 template <
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
150 m_lastUpdatedTimestampHasBeenSet =
true;
151 m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value);
153 template <
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
166 template <
typename KmsKeyArnT = Aws::String>
168 m_kmsKeyArnHasBeenSet =
true;
169 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
171 template <
typename KmsKeyArnT = Aws::String>
181 template <
typename RequestIdT = Aws::String>
183 m_requestIdHasBeenSet =
true;
184 m_requestId = std::forward<RequestIdT>(value);
186 template <
typename RequestIdT = Aws::String>
203 ArchiveRetention m_retention;
213 bool m_archiveIdHasBeenSet =
false;
214 bool m_archiveNameHasBeenSet =
false;
215 bool m_archiveArnHasBeenSet =
false;
216 bool m_archiveStateHasBeenSet =
false;
217 bool m_retentionHasBeenSet =
false;
218 bool m_createdTimestampHasBeenSet =
false;
219 bool m_lastUpdatedTimestampHasBeenSet =
false;
220 bool m_kmsKeyArnHasBeenSet =
false;
221 bool m_requestIdHasBeenSet =
false;
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
AWS_MAILMANAGER_API GetArchiveResult()=default
GetArchiveResult & WithKmsKeyArn(KmsKeyArnT &&value)
void SetArchiveState(ArchiveState value)
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
void SetArchiveId(ArchiveIdT &&value)
const ArchiveRetention & GetRetention() const
GetArchiveResult & WithArchiveArn(ArchiveArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ArchiveState GetArchiveState() const
void SetKmsKeyArn(KmsKeyArnT &&value)
const Aws::String & GetArchiveId() const
const Aws::Utils::DateTime & GetCreatedTimestamp() const
const Aws::String & GetArchiveArn() const
void SetLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
const Aws::String & GetArchiveName() const
GetArchiveResult & WithRetention(RetentionT &&value)
GetArchiveResult & WithLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
void SetCreatedTimestamp(CreatedTimestampT &&value)
void SetArchiveName(ArchiveNameT &&value)
GetArchiveResult & WithRequestId(RequestIdT &&value)
void SetRetention(RetentionT &&value)
AWS_MAILMANAGER_API GetArchiveResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetArchiveResult & WithArchiveState(ArchiveState value)
AWS_MAILMANAGER_API GetArchiveResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetArchiveResult & WithCreatedTimestamp(CreatedTimestampT &&value)
GetArchiveResult & WithArchiveId(ArchiveIdT &&value)
const Aws::String & GetKmsKeyArn() const
GetArchiveResult & WithArchiveName(ArchiveNameT &&value)
void SetArchiveArn(ArchiveArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue