AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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/ArchiveFilters.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/mailmanager/model/ExportDestinationConfiguration.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() = default;
43
44
46
49 inline const Aws::String& GetArchiveId() const { return m_archiveId; }
50 template<typename ArchiveIdT = Aws::String>
51 void SetArchiveId(ArchiveIdT&& value) { m_archiveIdHasBeenSet = true; m_archiveId = std::forward<ArchiveIdT>(value); }
52 template<typename ArchiveIdT = Aws::String>
53 GetArchiveExportResult& WithArchiveId(ArchiveIdT&& value) { SetArchiveId(std::forward<ArchiveIdT>(value)); return *this;}
55
57
60 inline const ArchiveFilters& GetFilters() const { return m_filters; }
61 template<typename FiltersT = ArchiveFilters>
62 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
63 template<typename FiltersT = ArchiveFilters>
64 GetArchiveExportResult& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetFromTimestamp() const { return m_fromTimestamp; }
72 template<typename FromTimestampT = Aws::Utils::DateTime>
73 void SetFromTimestamp(FromTimestampT&& value) { m_fromTimestampHasBeenSet = true; m_fromTimestamp = std::forward<FromTimestampT>(value); }
74 template<typename FromTimestampT = Aws::Utils::DateTime>
75 GetArchiveExportResult& WithFromTimestamp(FromTimestampT&& value) { SetFromTimestamp(std::forward<FromTimestampT>(value)); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetToTimestamp() const { return m_toTimestamp; }
83 template<typename ToTimestampT = Aws::Utils::DateTime>
84 void SetToTimestamp(ToTimestampT&& value) { m_toTimestampHasBeenSet = true; m_toTimestamp = std::forward<ToTimestampT>(value); }
85 template<typename ToTimestampT = Aws::Utils::DateTime>
86 GetArchiveExportResult& WithToTimestamp(ToTimestampT&& value) { SetToTimestamp(std::forward<ToTimestampT>(value)); return *this;}
88
90
93 inline int GetMaxResults() const { return m_maxResults; }
94 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
95 inline GetArchiveExportResult& WithMaxResults(int value) { SetMaxResults(value); return *this;}
97
99
102 inline const ExportDestinationConfiguration& GetExportDestinationConfiguration() const { return m_exportDestinationConfiguration; }
103 template<typename ExportDestinationConfigurationT = ExportDestinationConfiguration>
104 void SetExportDestinationConfiguration(ExportDestinationConfigurationT&& value) { m_exportDestinationConfigurationHasBeenSet = true; m_exportDestinationConfiguration = std::forward<ExportDestinationConfigurationT>(value); }
105 template<typename ExportDestinationConfigurationT = ExportDestinationConfiguration>
106 GetArchiveExportResult& WithExportDestinationConfiguration(ExportDestinationConfigurationT&& value) { SetExportDestinationConfiguration(std::forward<ExportDestinationConfigurationT>(value)); return *this;}
108
110
113 inline const ExportStatus& GetStatus() const { return m_status; }
114 template<typename StatusT = ExportStatus>
115 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
116 template<typename StatusT = ExportStatus>
117 GetArchiveExportResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
119
121
122 inline const Aws::String& GetRequestId() const { return m_requestId; }
123 template<typename RequestIdT = Aws::String>
124 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
125 template<typename RequestIdT = Aws::String>
126 GetArchiveExportResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
128 private:
129
130 Aws::String m_archiveId;
131 bool m_archiveIdHasBeenSet = false;
132
133 ArchiveFilters m_filters;
134 bool m_filtersHasBeenSet = false;
135
136 Aws::Utils::DateTime m_fromTimestamp{};
137 bool m_fromTimestampHasBeenSet = false;
138
139 Aws::Utils::DateTime m_toTimestamp{};
140 bool m_toTimestampHasBeenSet = false;
141
142 int m_maxResults{0};
143 bool m_maxResultsHasBeenSet = false;
144
145 ExportDestinationConfiguration m_exportDestinationConfiguration;
146 bool m_exportDestinationConfigurationHasBeenSet = false;
147
148 ExportStatus m_status;
149 bool m_statusHasBeenSet = false;
150
151 Aws::String m_requestId;
152 bool m_requestIdHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace MailManager
157} // namespace Aws
const Aws::Utils::DateTime & GetToTimestamp() const
GetArchiveExportResult & WithRequestId(RequestIdT &&value)
GetArchiveExportResult & WithToTimestamp(ToTimestampT &&value)
GetArchiveExportResult & WithFromTimestamp(FromTimestampT &&value)
AWS_MAILMANAGER_API GetArchiveExportResult()=default
GetArchiveExportResult & WithMaxResults(int value)
GetArchiveExportResult & WithArchiveId(ArchiveIdT &&value)
void SetExportDestinationConfiguration(ExportDestinationConfigurationT &&value)
GetArchiveExportResult & WithFilters(FiltersT &&value)
GetArchiveExportResult & WithExportDestinationConfiguration(ExportDestinationConfigurationT &&value)
GetArchiveExportResult & WithStatus(StatusT &&value)
const ExportDestinationConfiguration & GetExportDestinationConfiguration() const
const Aws::Utils::DateTime & GetFromTimestamp() const
AWS_MAILMANAGER_API GetArchiveExportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MAILMANAGER_API GetArchiveExportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue