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/core/utils/DateTime.h>
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>
61 template<
typename ArchiveNameT = Aws::String>
62 void SetArchiveName(ArchiveNameT&& value) { m_archiveNameHasBeenSet =
true; m_archiveName = std::forward<ArchiveNameT>(value); }
63 template<
typename ArchiveNameT = Aws::String>
87 template<
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
88 void SetLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { m_lastUpdatedTimestampHasBeenSet =
true; m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value); }
89 template<
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
95 bool m_archiveIdHasBeenSet =
false;
98 bool m_archiveNameHasBeenSet =
false;
101 bool m_archiveStateHasBeenSet =
false;
104 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