AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
SearchRelatedItemsRequest.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/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ConnectCases {
17namespace Model {
18
22 public:
23 AWS_CONNECTCASES_API SearchRelatedItemsRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "SearchRelatedItems"; }
30
31 AWS_CONNECTCASES_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetDomainId() const { return m_domainId; }
38 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
39 template <typename DomainIdT = Aws::String>
40 void SetDomainId(DomainIdT&& value) {
41 m_domainIdHasBeenSet = true;
42 m_domainId = std::forward<DomainIdT>(value);
43 }
44 template <typename DomainIdT = Aws::String>
46 SetDomainId(std::forward<DomainIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetCaseId() const { return m_caseId; }
56 inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; }
57 template <typename CaseIdT = Aws::String>
58 void SetCaseId(CaseIdT&& value) {
59 m_caseIdHasBeenSet = true;
60 m_caseId = std::forward<CaseIdT>(value);
61 }
62 template <typename CaseIdT = Aws::String>
64 SetCaseId(std::forward<CaseIdT>(value));
65 return *this;
66 }
68
70
73 inline int GetMaxResults() const { return m_maxResults; }
74 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
75 inline void SetMaxResults(int value) {
76 m_maxResultsHasBeenSet = true;
77 m_maxResults = value;
78 }
80 SetMaxResults(value);
81 return *this;
82 }
84
86
90 inline const Aws::String& GetNextToken() const { return m_nextToken; }
91 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
92 template <typename NextTokenT = Aws::String>
93 void SetNextToken(NextTokenT&& value) {
94 m_nextTokenHasBeenSet = true;
95 m_nextToken = std::forward<NextTokenT>(value);
96 }
97 template <typename NextTokenT = Aws::String>
99 SetNextToken(std::forward<NextTokenT>(value));
100 return *this;
101 }
103
105
109 inline const Aws::Vector<RelatedItemTypeFilter>& GetFilters() const { return m_filters; }
110 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
111 template <typename FiltersT = Aws::Vector<RelatedItemTypeFilter>>
112 void SetFilters(FiltersT&& value) {
113 m_filtersHasBeenSet = true;
114 m_filters = std::forward<FiltersT>(value);
115 }
116 template <typename FiltersT = Aws::Vector<RelatedItemTypeFilter>>
118 SetFilters(std::forward<FiltersT>(value));
119 return *this;
120 }
121 template <typename FiltersT = RelatedItemTypeFilter>
123 m_filtersHasBeenSet = true;
124 m_filters.emplace_back(std::forward<FiltersT>(value));
125 return *this;
126 }
128 private:
129 Aws::String m_domainId;
130
131 Aws::String m_caseId;
132
133 int m_maxResults{0};
134
135 Aws::String m_nextToken;
136
138 bool m_domainIdHasBeenSet = false;
139 bool m_caseIdHasBeenSet = false;
140 bool m_maxResultsHasBeenSet = false;
141 bool m_nextTokenHasBeenSet = false;
142 bool m_filtersHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace ConnectCases
147} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector