AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetArchiveSearchResult.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/SearchStatus.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace MailManager
27{
28namespace Model
29{
37 {
38 public:
39 AWS_MAILMANAGER_API GetArchiveSearchResult();
42
43
45
48 inline const Aws::String& GetArchiveId() const{ return m_archiveId; }
49 inline void SetArchiveId(const Aws::String& value) { m_archiveId = value; }
50 inline void SetArchiveId(Aws::String&& value) { m_archiveId = std::move(value); }
51 inline void SetArchiveId(const char* value) { m_archiveId.assign(value); }
52 inline GetArchiveSearchResult& WithArchiveId(const Aws::String& value) { SetArchiveId(value); return *this;}
53 inline GetArchiveSearchResult& WithArchiveId(Aws::String&& value) { SetArchiveId(std::move(value)); return *this;}
54 inline GetArchiveSearchResult& WithArchiveId(const char* value) { SetArchiveId(value); return *this;}
56
58
61 inline const ArchiveFilters& GetFilters() const{ return m_filters; }
62 inline void SetFilters(const ArchiveFilters& value) { m_filters = value; }
63 inline void SetFilters(ArchiveFilters&& value) { m_filters = std::move(value); }
64 inline GetArchiveSearchResult& WithFilters(const ArchiveFilters& value) { SetFilters(value); return *this;}
65 inline GetArchiveSearchResult& WithFilters(ArchiveFilters&& value) { SetFilters(std::move(value)); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetFromTimestamp() const{ return m_fromTimestamp; }
73 inline void SetFromTimestamp(const Aws::Utils::DateTime& value) { m_fromTimestamp = value; }
74 inline void SetFromTimestamp(Aws::Utils::DateTime&& value) { m_fromTimestamp = std::move(value); }
76 inline GetArchiveSearchResult& WithFromTimestamp(Aws::Utils::DateTime&& value) { SetFromTimestamp(std::move(value)); return *this;}
78
80
83 inline int GetMaxResults() const{ return m_maxResults; }
84 inline void SetMaxResults(int value) { m_maxResults = value; }
85 inline GetArchiveSearchResult& WithMaxResults(int value) { SetMaxResults(value); return *this;}
87
89
92 inline const SearchStatus& GetStatus() const{ return m_status; }
93 inline void SetStatus(const SearchStatus& value) { m_status = value; }
94 inline void SetStatus(SearchStatus&& value) { m_status = std::move(value); }
95 inline GetArchiveSearchResult& WithStatus(const SearchStatus& value) { SetStatus(value); return *this;}
96 inline GetArchiveSearchResult& WithStatus(SearchStatus&& value) { SetStatus(std::move(value)); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetToTimestamp() const{ return m_toTimestamp; }
104 inline void SetToTimestamp(const Aws::Utils::DateTime& value) { m_toTimestamp = value; }
105 inline void SetToTimestamp(Aws::Utils::DateTime&& value) { m_toTimestamp = std::move(value); }
106 inline GetArchiveSearchResult& WithToTimestamp(const Aws::Utils::DateTime& value) { SetToTimestamp(value); return *this;}
107 inline GetArchiveSearchResult& WithToTimestamp(Aws::Utils::DateTime&& value) { SetToTimestamp(std::move(value)); return *this;}
109
111
112 inline const Aws::String& GetRequestId() const{ return m_requestId; }
113 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
114 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
115 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
116 inline GetArchiveSearchResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
117 inline GetArchiveSearchResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
118 inline GetArchiveSearchResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
120 private:
121
122 Aws::String m_archiveId;
123
124 ArchiveFilters m_filters;
125
126 Aws::Utils::DateTime m_fromTimestamp;
127
128 int m_maxResults;
129
130 SearchStatus m_status;
131
132 Aws::Utils::DateTime m_toTimestamp;
133
134 Aws::String m_requestId;
135 };
136
137} // namespace Model
138} // namespace MailManager
139} // namespace Aws
AWS_MAILMANAGER_API GetArchiveSearchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetToTimestamp(const Aws::Utils::DateTime &value)
GetArchiveSearchResult & WithFilters(const ArchiveFilters &value)
const Aws::Utils::DateTime & GetFromTimestamp() const
GetArchiveSearchResult & WithStatus(SearchStatus &&value)
GetArchiveSearchResult & WithRequestId(const char *value)
GetArchiveSearchResult & WithArchiveId(const Aws::String &value)
GetArchiveSearchResult & WithFromTimestamp(Aws::Utils::DateTime &&value)
GetArchiveSearchResult & WithMaxResults(int value)
GetArchiveSearchResult & WithArchiveId(const char *value)
GetArchiveSearchResult & WithFilters(ArchiveFilters &&value)
GetArchiveSearchResult & WithToTimestamp(const Aws::Utils::DateTime &value)
GetArchiveSearchResult & WithFromTimestamp(const Aws::Utils::DateTime &value)
AWS_MAILMANAGER_API GetArchiveSearchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetToTimestamp() const
void SetFromTimestamp(Aws::Utils::DateTime &&value)
GetArchiveSearchResult & WithArchiveId(Aws::String &&value)
GetArchiveSearchResult & WithRequestId(Aws::String &&value)
GetArchiveSearchResult & WithToTimestamp(Aws::Utils::DateTime &&value)
GetArchiveSearchResult & WithRequestId(const Aws::String &value)
GetArchiveSearchResult & WithStatus(const SearchStatus &value)
void SetFromTimestamp(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue