7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mailmanager/model/ArchiveState.h>
10#include <aws/mailmanager/model/ArchiveRetention.h>
11#include <aws/core/utils/DateTime.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
49 template<
typename ArchiveIdT = Aws::String>
50 void SetArchiveId(ArchiveIdT&& value) { m_archiveIdHasBeenSet =
true; m_archiveId = std::forward<ArchiveIdT>(value); }
51 template<
typename ArchiveIdT = Aws::String>
60 template<
typename ArchiveNameT = Aws::String>
61 void SetArchiveName(ArchiveNameT&& value) { m_archiveNameHasBeenSet =
true; m_archiveName = std::forward<ArchiveNameT>(value); }
62 template<
typename ArchiveNameT = Aws::String>
71 template<
typename ArchiveArnT = Aws::String>
72 void SetArchiveArn(ArchiveArnT&& value) { m_archiveArnHasBeenSet =
true; m_archiveArn = std::forward<ArchiveArnT>(value); }
73 template<
typename ArchiveArnT = Aws::String>
95 template<
typename RetentionT = ArchiveRetention>
96 void SetRetention(RetentionT&& value) { m_retentionHasBeenSet =
true; m_retention = std::forward<RetentionT>(value); }
97 template<
typename RetentionT = ArchiveRetention>
106 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
107 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet =
true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
108 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
117 template<
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
118 void SetLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { m_lastUpdatedTimestampHasBeenSet =
true; m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value); }
119 template<
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
129 template<
typename KmsKeyArnT = Aws::String>
130 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
131 template<
typename KmsKeyArnT = Aws::String>
138 template<
typename RequestIdT = Aws::String>
139 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
140 template<
typename RequestIdT = Aws::String>
146 bool m_archiveIdHasBeenSet =
false;
149 bool m_archiveNameHasBeenSet =
false;
152 bool m_archiveArnHasBeenSet =
false;
155 bool m_archiveStateHasBeenSet =
false;
157 ArchiveRetention m_retention;
158 bool m_retentionHasBeenSet =
false;
161 bool m_createdTimestampHasBeenSet =
false;
164 bool m_lastUpdatedTimestampHasBeenSet =
false;
167 bool m_kmsKeyArnHasBeenSet =
false;
170 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