AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
StartArchiveSearchResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mailmanager/MailManager_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace MailManager {
22namespace Model {
29 public:
30 AWS_MAILMANAGER_API StartArchiveSearchResult() = default;
33
35
38 inline const Aws::String& GetSearchId() const { return m_searchId; }
39 template <typename SearchIdT = Aws::String>
40 void SetSearchId(SearchIdT&& value) {
41 m_searchIdHasBeenSet = true;
42 m_searchId = std::forward<SearchIdT>(value);
43 }
44 template <typename SearchIdT = Aws::String>
46 SetSearchId(std::forward<SearchIdT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetRequestId() const { return m_requestId; }
54 template <typename RequestIdT = Aws::String>
55 void SetRequestId(RequestIdT&& value) {
56 m_requestIdHasBeenSet = true;
57 m_requestId = std::forward<RequestIdT>(value);
58 }
59 template <typename RequestIdT = Aws::String>
61 SetRequestId(std::forward<RequestIdT>(value));
62 return *this;
63 }
65 private:
66 Aws::String m_searchId;
67
68 Aws::String m_requestId;
69 bool m_searchIdHasBeenSet = false;
70 bool m_requestIdHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace MailManager
75} // namespace Aws
AWS_MAILMANAGER_API StartArchiveSearchResult()=default
StartArchiveSearchResult & WithSearchId(SearchIdT &&value)
AWS_MAILMANAGER_API StartArchiveSearchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MAILMANAGER_API StartArchiveSearchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartArchiveSearchResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue