AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
ListGroupsRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/QBusinessRequest.h>
10#include <aws/qbusiness/QBusiness_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace QBusiness {
19namespace Model {
20
24 public:
25 AWS_QBUSINESS_API ListGroupsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListGroups"; }
32
33 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
34
35 AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
42 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
43 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
44 template <typename ApplicationIdT = Aws::String>
46 m_applicationIdHasBeenSet = true;
47 m_applicationId = std::forward<ApplicationIdT>(value);
48 }
49 template <typename ApplicationIdT = Aws::String>
51 SetApplicationId(std::forward<ApplicationIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetIndexId() const { return m_indexId; }
61 inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
62 template <typename IndexIdT = Aws::String>
63 void SetIndexId(IndexIdT&& value) {
64 m_indexIdHasBeenSet = true;
65 m_indexId = std::forward<IndexIdT>(value);
66 }
67 template <typename IndexIdT = Aws::String>
69 SetIndexId(std::forward<IndexIdT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::Utils::DateTime& GetUpdatedEarlierThan() const { return m_updatedEarlierThan; }
80 inline bool UpdatedEarlierThanHasBeenSet() const { return m_updatedEarlierThanHasBeenSet; }
81 template <typename UpdatedEarlierThanT = Aws::Utils::DateTime>
83 m_updatedEarlierThanHasBeenSet = true;
84 m_updatedEarlierThan = std::forward<UpdatedEarlierThanT>(value);
85 }
86 template <typename UpdatedEarlierThanT = Aws::Utils::DateTime>
88 SetUpdatedEarlierThan(std::forward<UpdatedEarlierThanT>(value));
89 return *this;
90 }
92
94
98 inline const Aws::String& GetDataSourceId() const { return m_dataSourceId; }
99 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
100 template <typename DataSourceIdT = Aws::String>
102 m_dataSourceIdHasBeenSet = true;
103 m_dataSourceId = std::forward<DataSourceIdT>(value);
104 }
105 template <typename DataSourceIdT = Aws::String>
107 SetDataSourceId(std::forward<DataSourceIdT>(value));
108 return *this;
109 }
111
113
119 inline const Aws::String& GetNextToken() const { return m_nextToken; }
120 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
121 template <typename NextTokenT = Aws::String>
122 void SetNextToken(NextTokenT&& value) {
123 m_nextTokenHasBeenSet = true;
124 m_nextToken = std::forward<NextTokenT>(value);
125 }
126 template <typename NextTokenT = Aws::String>
128 SetNextToken(std::forward<NextTokenT>(value));
129 return *this;
130 }
132
134
137 inline int GetMaxResults() const { return m_maxResults; }
138 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
139 inline void SetMaxResults(int value) {
140 m_maxResultsHasBeenSet = true;
141 m_maxResults = value;
142 }
144 SetMaxResults(value);
145 return *this;
146 }
148 private:
149 Aws::String m_applicationId;
150 bool m_applicationIdHasBeenSet = false;
151
152 Aws::String m_indexId;
153 bool m_indexIdHasBeenSet = false;
154
155 Aws::Utils::DateTime m_updatedEarlierThan{};
156 bool m_updatedEarlierThanHasBeenSet = false;
157
158 Aws::String m_dataSourceId;
159 bool m_dataSourceIdHasBeenSet = false;
160
161 Aws::String m_nextToken;
162 bool m_nextTokenHasBeenSet = false;
163
164 int m_maxResults{0};
165 bool m_maxResultsHasBeenSet = false;
166};
167
168} // namespace Model
169} // namespace QBusiness
170} // namespace Aws
ListGroupsRequest & WithIndexId(IndexIdT &&value)
void SetDataSourceId(DataSourceIdT &&value)
const Aws::String & GetDataSourceId() const
AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListGroupsRequest & WithNextToken(NextTokenT &&value)
ListGroupsRequest & WithApplicationId(ApplicationIdT &&value)
virtual const char * GetServiceRequestName() const override
void SetUpdatedEarlierThan(UpdatedEarlierThanT &&value)
void SetApplicationId(ApplicationIdT &&value)
AWS_QBUSINESS_API Aws::String SerializePayload() const override
ListGroupsRequest & WithDataSourceId(DataSourceIdT &&value)
ListGroupsRequest & WithMaxResults(int value)
AWS_QBUSINESS_API ListGroupsRequest()=default
ListGroupsRequest & WithUpdatedEarlierThan(UpdatedEarlierThanT &&value)
const Aws::Utils::DateTime & GetUpdatedEarlierThan() const
const Aws::String & GetApplicationId() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String