7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mailmanager/MailManager_EXPORTS.h>
10#include <aws/mailmanager/model/ArchiveRetention.h>
11#include <aws/mailmanager/model/ArchiveState.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace MailManager {
43 template <
typename ArchiveIdT = Aws::String>
45 m_archiveIdHasBeenSet =
true;
46 m_archiveId = std::forward<ArchiveIdT>(value);
48 template <
typename ArchiveIdT = Aws::String>
60 template <
typename ArchiveNameT = Aws::String>
62 m_archiveNameHasBeenSet =
true;
63 m_archiveName = std::forward<ArchiveNameT>(value);
65 template <
typename ArchiveNameT = Aws::String>
77 template <
typename ArchiveArnT = Aws::String>
79 m_archiveArnHasBeenSet =
true;
80 m_archiveArn = std::forward<ArchiveArnT>(value);
82 template <
typename ArchiveArnT = Aws::String>
99 m_archiveStateHasBeenSet =
true;
100 m_archiveState = value;
113 template <
typename RetentionT = ArchiveRetention>
115 m_retentionHasBeenSet =
true;
116 m_retention = std::forward<RetentionT>(value);
118 template <
typename RetentionT = ArchiveRetention>
130 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
132 m_createdTimestampHasBeenSet =
true;
133 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
135 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
147 template <
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
149 m_lastUpdatedTimestampHasBeenSet =
true;
150 m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value);
152 template <
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
165 template <
typename KmsKeyArnT = Aws::String>
167 m_kmsKeyArnHasBeenSet =
true;
168 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
170 template <
typename KmsKeyArnT = Aws::String>
180 template <
typename RequestIdT = Aws::String>
182 m_requestIdHasBeenSet =
true;
183 m_requestId = std::forward<RequestIdT>(value);
185 template <
typename RequestIdT = Aws::String>
200 ArchiveRetention m_retention;
209 bool m_archiveIdHasBeenSet =
false;
210 bool m_archiveNameHasBeenSet =
false;
211 bool m_archiveArnHasBeenSet =
false;
212 bool m_archiveStateHasBeenSet =
false;
213 bool m_retentionHasBeenSet =
false;
214 bool m_createdTimestampHasBeenSet =
false;
215 bool m_lastUpdatedTimestampHasBeenSet =
false;
216 bool m_kmsKeyArnHasBeenSet =
false;
217 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)
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