AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetArchiveSearchResultsResult.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mailmanager/model/Row.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace MailManager
26{
27namespace Model
28{
36 {
37 public:
38 AWS_MAILMANAGER_API GetArchiveSearchResultsResult() = default;
41
42
44
47 inline const Aws::Vector<Row>& GetRows() const { return m_rows; }
48 template<typename RowsT = Aws::Vector<Row>>
49 void SetRows(RowsT&& value) { m_rowsHasBeenSet = true; m_rows = std::forward<RowsT>(value); }
50 template<typename RowsT = Aws::Vector<Row>>
51 GetArchiveSearchResultsResult& WithRows(RowsT&& value) { SetRows(std::forward<RowsT>(value)); return *this;}
52 template<typename RowsT = Row>
53 GetArchiveSearchResultsResult& AddRows(RowsT&& value) { m_rowsHasBeenSet = true; m_rows.emplace_back(std::forward<RowsT>(value)); return *this; }
55
57
58 inline const Aws::String& GetRequestId() const { return m_requestId; }
59 template<typename RequestIdT = Aws::String>
60 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
61 template<typename RequestIdT = Aws::String>
62 GetArchiveSearchResultsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
64 private:
65
66 Aws::Vector<Row> m_rows;
67 bool m_rowsHasBeenSet = false;
68
69 Aws::String m_requestId;
70 bool m_requestIdHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace MailManager
75} // namespace Aws
AWS_MAILMANAGER_API GetArchiveSearchResultsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MAILMANAGER_API GetArchiveSearchResultsResult()=default
GetArchiveSearchResultsResult & WithRows(RowsT &&value)
GetArchiveSearchResultsResult & WithRequestId(RequestIdT &&value)
AWS_MAILMANAGER_API GetArchiveSearchResultsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetArchiveSearchResultsResult & AddRows(RowsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue