AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
SearchAllRelatedItemsRequest.h
1
6#pragma once
7#include <aws/connectcases/ConnectCasesRequest.h>
8#include <aws/connectcases/ConnectCases_EXPORTS.h>
9#include <aws/connectcases/model/RelatedItemTypeFilter.h>
10#include <aws/connectcases/model/SearchAllRelatedItemsSort.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17namespace ConnectCases {
18namespace Model {
19
23 public:
24 AWS_CONNECTCASES_API SearchAllRelatedItemsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "SearchAllRelatedItems"; }
31
32 AWS_CONNECTCASES_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetDomainId() const { return m_domainId; }
39 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
40 template <typename DomainIdT = Aws::String>
41 void SetDomainId(DomainIdT&& value) {
42 m_domainIdHasBeenSet = true;
43 m_domainId = std::forward<DomainIdT>(value);
44 }
45 template <typename DomainIdT = Aws::String>
47 SetDomainId(std::forward<DomainIdT>(value));
48 return *this;
49 }
51
53
56 inline int GetMaxResults() const { return m_maxResults; }
57 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
58 inline void SetMaxResults(int value) {
59 m_maxResultsHasBeenSet = true;
60 m_maxResults = value;
61 }
63 SetMaxResults(value);
64 return *this;
65 }
67
69
73 inline const Aws::String& GetNextToken() const { return m_nextToken; }
74 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
75 template <typename NextTokenT = Aws::String>
76 void SetNextToken(NextTokenT&& value) {
77 m_nextTokenHasBeenSet = true;
78 m_nextToken = std::forward<NextTokenT>(value);
79 }
80 template <typename NextTokenT = Aws::String>
82 SetNextToken(std::forward<NextTokenT>(value));
83 return *this;
84 }
86
88
93 inline const Aws::Vector<RelatedItemTypeFilter>& GetFilters() const { return m_filters; }
94 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
95 template <typename FiltersT = Aws::Vector<RelatedItemTypeFilter>>
96 void SetFilters(FiltersT&& value) {
97 m_filtersHasBeenSet = true;
98 m_filters = std::forward<FiltersT>(value);
99 }
100 template <typename FiltersT = Aws::Vector<RelatedItemTypeFilter>>
102 SetFilters(std::forward<FiltersT>(value));
103 return *this;
104 }
105 template <typename FiltersT = RelatedItemTypeFilter>
107 m_filtersHasBeenSet = true;
108 m_filters.emplace_back(std::forward<FiltersT>(value));
109 return *this;
110 }
112
114
120 inline const Aws::Vector<SearchAllRelatedItemsSort>& GetSorts() const { return m_sorts; }
121 inline bool SortsHasBeenSet() const { return m_sortsHasBeenSet; }
122 template <typename SortsT = Aws::Vector<SearchAllRelatedItemsSort>>
123 void SetSorts(SortsT&& value) {
124 m_sortsHasBeenSet = true;
125 m_sorts = std::forward<SortsT>(value);
126 }
127 template <typename SortsT = Aws::Vector<SearchAllRelatedItemsSort>>
129 SetSorts(std::forward<SortsT>(value));
130 return *this;
131 }
132 template <typename SortsT = SearchAllRelatedItemsSort>
134 m_sortsHasBeenSet = true;
135 m_sorts.emplace_back(std::forward<SortsT>(value));
136 return *this;
137 }
139 private:
140 Aws::String m_domainId;
141
142 int m_maxResults{0};
143
144 Aws::String m_nextToken;
145
147
149 bool m_domainIdHasBeenSet = false;
150 bool m_maxResultsHasBeenSet = false;
151 bool m_nextTokenHasBeenSet = false;
152 bool m_filtersHasBeenSet = false;
153 bool m_sortsHasBeenSet = false;
154};
155
156} // namespace Model
157} // namespace ConnectCases
158} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector