AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetArchiveExportResult.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mailmanager/model/ExportDestinationConfiguration.h>
10#include <aws/mailmanager/model/ArchiveFilters.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/mailmanager/model/ExportStatus.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace MailManager
28{
29namespace Model
30{
38 {
39 public:
40 AWS_MAILMANAGER_API GetArchiveExportResult();
43
44
46
49 inline const Aws::String& GetArchiveId() const{ return m_archiveId; }
50 inline void SetArchiveId(const Aws::String& value) { m_archiveId = value; }
51 inline void SetArchiveId(Aws::String&& value) { m_archiveId = std::move(value); }
52 inline void SetArchiveId(const char* value) { m_archiveId.assign(value); }
53 inline GetArchiveExportResult& WithArchiveId(const Aws::String& value) { SetArchiveId(value); return *this;}
54 inline GetArchiveExportResult& WithArchiveId(Aws::String&& value) { SetArchiveId(std::move(value)); return *this;}
55 inline GetArchiveExportResult& WithArchiveId(const char* value) { SetArchiveId(value); return *this;}
57
59
62 inline const ExportDestinationConfiguration& GetExportDestinationConfiguration() const{ return m_exportDestinationConfiguration; }
63 inline void SetExportDestinationConfiguration(const ExportDestinationConfiguration& value) { m_exportDestinationConfiguration = value; }
64 inline void SetExportDestinationConfiguration(ExportDestinationConfiguration&& value) { m_exportDestinationConfiguration = std::move(value); }
68
70
73 inline const ArchiveFilters& GetFilters() const{ return m_filters; }
74 inline void SetFilters(const ArchiveFilters& value) { m_filters = value; }
75 inline void SetFilters(ArchiveFilters&& value) { m_filters = std::move(value); }
76 inline GetArchiveExportResult& WithFilters(const ArchiveFilters& value) { SetFilters(value); return *this;}
77 inline GetArchiveExportResult& WithFilters(ArchiveFilters&& value) { SetFilters(std::move(value)); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetFromTimestamp() const{ return m_fromTimestamp; }
85 inline void SetFromTimestamp(const Aws::Utils::DateTime& value) { m_fromTimestamp = value; }
86 inline void SetFromTimestamp(Aws::Utils::DateTime&& value) { m_fromTimestamp = std::move(value); }
88 inline GetArchiveExportResult& WithFromTimestamp(Aws::Utils::DateTime&& value) { SetFromTimestamp(std::move(value)); return *this;}
90
92
95 inline int GetMaxResults() const{ return m_maxResults; }
96 inline void SetMaxResults(int value) { m_maxResults = value; }
97 inline GetArchiveExportResult& WithMaxResults(int value) { SetMaxResults(value); return *this;}
99
101
104 inline const ExportStatus& GetStatus() const{ return m_status; }
105 inline void SetStatus(const ExportStatus& value) { m_status = value; }
106 inline void SetStatus(ExportStatus&& value) { m_status = std::move(value); }
107 inline GetArchiveExportResult& WithStatus(const ExportStatus& value) { SetStatus(value); return *this;}
108 inline GetArchiveExportResult& WithStatus(ExportStatus&& value) { SetStatus(std::move(value)); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetToTimestamp() const{ return m_toTimestamp; }
116 inline void SetToTimestamp(const Aws::Utils::DateTime& value) { m_toTimestamp = value; }
117 inline void SetToTimestamp(Aws::Utils::DateTime&& value) { m_toTimestamp = std::move(value); }
118 inline GetArchiveExportResult& WithToTimestamp(const Aws::Utils::DateTime& value) { SetToTimestamp(value); return *this;}
119 inline GetArchiveExportResult& WithToTimestamp(Aws::Utils::DateTime&& value) { SetToTimestamp(std::move(value)); return *this;}
121
123
124 inline const Aws::String& GetRequestId() const{ return m_requestId; }
125 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
126 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
127 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
128 inline GetArchiveExportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
129 inline GetArchiveExportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
130 inline GetArchiveExportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
132 private:
133
134 Aws::String m_archiveId;
135
136 ExportDestinationConfiguration m_exportDestinationConfiguration;
137
138 ArchiveFilters m_filters;
139
140 Aws::Utils::DateTime m_fromTimestamp;
141
142 int m_maxResults;
143
144 ExportStatus m_status;
145
146 Aws::Utils::DateTime m_toTimestamp;
147
148 Aws::String m_requestId;
149 };
150
151} // namespace Model
152} // namespace MailManager
153} // namespace Aws
const Aws::Utils::DateTime & GetToTimestamp() const
GetArchiveExportResult & WithStatus(const ExportStatus &value)
GetArchiveExportResult & WithToTimestamp(const Aws::Utils::DateTime &value)
GetArchiveExportResult & WithFromTimestamp(const Aws::Utils::DateTime &value)
GetArchiveExportResult & WithRequestId(const Aws::String &value)
GetArchiveExportResult & WithRequestId(Aws::String &&value)
void SetToTimestamp(const Aws::Utils::DateTime &value)
GetArchiveExportResult & WithMaxResults(int value)
GetArchiveExportResult & WithFilters(ArchiveFilters &&value)
GetArchiveExportResult & WithArchiveId(const Aws::String &value)
GetArchiveExportResult & WithStatus(ExportStatus &&value)
void SetFromTimestamp(Aws::Utils::DateTime &&value)
GetArchiveExportResult & WithFilters(const ArchiveFilters &value)
GetArchiveExportResult & WithExportDestinationConfiguration(ExportDestinationConfiguration &&value)
void SetFromTimestamp(const Aws::Utils::DateTime &value)
GetArchiveExportResult & WithFromTimestamp(Aws::Utils::DateTime &&value)
const ExportDestinationConfiguration & GetExportDestinationConfiguration() const
const Aws::Utils::DateTime & GetFromTimestamp() const
AWS_MAILMANAGER_API GetArchiveExportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetExportDestinationConfiguration(ExportDestinationConfiguration &&value)
GetArchiveExportResult & WithRequestId(const char *value)
GetArchiveExportResult & WithToTimestamp(Aws::Utils::DateTime &&value)
GetArchiveExportResult & WithExportDestinationConfiguration(const ExportDestinationConfiguration &value)
void SetExportDestinationConfiguration(const ExportDestinationConfiguration &value)
AWS_MAILMANAGER_API GetArchiveExportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetArchiveExportResult & WithArchiveId(Aws::String &&value)
GetArchiveExportResult & WithArchiveId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue