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/ArchiveState.h>
21namespace MailManager {
43 template <
typename ArchiveIdT = Aws::String>
45 m_archiveIdHasBeenSet =
true;
46 m_archiveId = std::forward<ArchiveIdT>(value);
48 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>
84 m_archiveStateHasBeenSet =
true;
85 m_archiveState = value;
99 template <
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
101 m_lastUpdatedTimestampHasBeenSet =
true;
102 m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value);
104 template <
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
118 bool m_archiveIdHasBeenSet =
false;
119 bool m_archiveNameHasBeenSet =
false;
120 bool m_archiveStateHasBeenSet =
false;
121 bool m_lastUpdatedTimestampHasBeenSet =
false;
Archive & WithLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
ArchiveState GetArchiveState() const
void SetArchiveName(ArchiveNameT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
AWS_MAILMANAGER_API Archive(Aws::Utils::Json::JsonView jsonValue)
bool ArchiveNameHasBeenSet() const
AWS_MAILMANAGER_API Archive & operator=(Aws::Utils::Json::JsonView jsonValue)
Archive & WithArchiveState(ArchiveState value)
const Aws::String & GetArchiveName() const
AWS_MAILMANAGER_API Archive()=default
void SetLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
void SetArchiveId(ArchiveIdT &&value)
void SetArchiveState(ArchiveState value)
bool LastUpdatedTimestampHasBeenSet() const
const Aws::String & GetArchiveId() const
Archive & WithArchiveName(ArchiveNameT &&value)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ArchiveStateHasBeenSet() const
Archive & WithArchiveId(ArchiveIdT &&value)
bool ArchiveIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue