AWS SDK for C++

AWS SDK for C++ Version 1.11.867

Loading...
Searching...
No Matches
SearchFixturesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elementalinference/ElementalInferenceRequest.h>
10#include <aws/elementalinference/ElementalInference_EXPORTS.h>
11#include <aws/elementalinference/model/DataSourceSport.h>
12#include <aws/elementalinference/model/SearchFilter.h>
13
14#include <utility>
15
16namespace Aws {
17namespace ElementalInference {
18namespace Model {
19
23 public:
24 AWS_ELEMENTALINFERENCE_API SearchFixturesRequest() = 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 "SearchFixtures"; }
31
32 AWS_ELEMENTALINFERENCE_API Aws::String SerializePayload() const override;
33
35
40 inline DataSourceSport GetSport() const { return m_sport; }
41 inline bool SportHasBeenSet() const { return m_sportHasBeenSet; }
42 inline void SetSport(DataSourceSport value) {
43 m_sportHasBeenSet = true;
44 m_sport = value;
45 }
47 SetSport(value);
48 return *this;
49 }
51
53
58 inline const Aws::String& GetStartDate() const { return m_startDate; }
59 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
60 template <typename StartDateT = Aws::String>
61 void SetStartDate(StartDateT&& value) {
62 m_startDateHasBeenSet = true;
63 m_startDate = std::forward<StartDateT>(value);
64 }
65 template <typename StartDateT = Aws::String>
66 SearchFixturesRequest& WithStartDate(StartDateT&& value) {
67 SetStartDate(std::forward<StartDateT>(value));
68 return *this;
69 }
71
73
80 inline const Aws::String& GetEndDate() const { return m_endDate; }
81 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
82 template <typename EndDateT = Aws::String>
83 void SetEndDate(EndDateT&& value) {
84 m_endDateHasBeenSet = true;
85 m_endDate = std::forward<EndDateT>(value);
86 }
87 template <typename EndDateT = Aws::String>
89 SetEndDate(std::forward<EndDateT>(value));
90 return *this;
91 }
93
95
102 inline const Aws::Vector<SearchFilter>& GetFilters() const { return m_filters; }
103 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
104 template <typename FiltersT = Aws::Vector<SearchFilter>>
105 void SetFilters(FiltersT&& value) {
106 m_filtersHasBeenSet = true;
107 m_filters = std::forward<FiltersT>(value);
108 }
109 template <typename FiltersT = Aws::Vector<SearchFilter>>
111 SetFilters(std::forward<FiltersT>(value));
112 return *this;
113 }
114 template <typename FiltersT = SearchFilter>
116 m_filtersHasBeenSet = true;
117 m_filters.emplace_back(std::forward<FiltersT>(value));
118 return *this;
119 }
121
123
129 inline int GetMaxResults() const { return m_maxResults; }
130 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
131 inline void SetMaxResults(int value) {
132 m_maxResultsHasBeenSet = true;
133 m_maxResults = value;
134 }
136 SetMaxResults(value);
137 return *this;
138 }
140
142
149 inline const Aws::String& GetNextToken() const { return m_nextToken; }
150 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
151 template <typename NextTokenT = Aws::String>
152 void SetNextToken(NextTokenT&& value) {
153 m_nextTokenHasBeenSet = true;
154 m_nextToken = std::forward<NextTokenT>(value);
155 }
156 template <typename NextTokenT = Aws::String>
158 SetNextToken(std::forward<NextTokenT>(value));
159 return *this;
160 }
162 private:
164
165 Aws::String m_startDate;
166
167 Aws::String m_endDate;
168
170
171 int m_maxResults{0};
172
173 Aws::String m_nextToken;
174 bool m_sportHasBeenSet = false;
175 bool m_startDateHasBeenSet = false;
176 bool m_endDateHasBeenSet = false;
177 bool m_filtersHasBeenSet = false;
178 bool m_maxResultsHasBeenSet = false;
179 bool m_nextTokenHasBeenSet = false;
180};
181
182} // namespace Model
183} // namespace ElementalInference
184} // namespace Aws
SearchFixturesRequest & AddFilters(FiltersT &&value)
SearchFixturesRequest & WithEndDate(EndDateT &&value)
AWS_ELEMENTALINFERENCE_API Aws::String SerializePayload() const override
const Aws::Vector< SearchFilter > & GetFilters() const
SearchFixturesRequest & WithFilters(FiltersT &&value)
SearchFixturesRequest & WithSport(DataSourceSport value)
virtual const char * GetServiceRequestName() const override
SearchFixturesRequest & WithNextToken(NextTokenT &&value)
SearchFixturesRequest & WithStartDate(StartDateT &&value)
AWS_ELEMENTALINFERENCE_API SearchFixturesRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector