AWS SDK for C++  1.9.158
AWS SDK for C++
ListReleaseLabelsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace EMR
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 "ListReleaseLabels"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
43  inline const ReleaseLabelFilter& GetFilters() const{ return m_filters; }
44 
50  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
51 
57  inline void SetFilters(const ReleaseLabelFilter& value) { m_filtersHasBeenSet = true; m_filters = value; }
58 
64  inline void SetFilters(ReleaseLabelFilter&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
65 
71  inline ListReleaseLabelsRequest& WithFilters(const ReleaseLabelFilter& value) { SetFilters(value); return *this;}
72 
78  inline ListReleaseLabelsRequest& WithFilters(ReleaseLabelFilter&& value) { SetFilters(std::move(value)); return *this;}
79 
80 
90  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
91 
101  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
102 
112  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
113 
123  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
124 
134  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
135 
145  inline ListReleaseLabelsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
146 
156  inline ListReleaseLabelsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
157 
167  inline ListReleaseLabelsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
168 
169 
174  inline int GetMaxResults() const{ return m_maxResults; }
175 
180  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
181 
186  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
187 
192  inline ListReleaseLabelsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
193 
194  private:
195 
196  ReleaseLabelFilter m_filters;
197  bool m_filtersHasBeenSet;
198 
199  Aws::String m_nextToken;
200  bool m_nextTokenHasBeenSet;
201 
202  int m_maxResults;
203  bool m_maxResultsHasBeenSet;
204  };
205 
206 } // namespace Model
207 } // namespace EMR
208 } // namespace Aws
Aws::EMR::Model::ListReleaseLabelsRequest::WithFilters
ListReleaseLabelsRequest & WithFilters(const ReleaseLabelFilter &value)
Definition: ListReleaseLabelsRequest.h:71
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::EMR::Model::ReleaseLabelFilter
Definition: ReleaseLabelFilter.h:33
Aws::EMR::Model::ListReleaseLabelsRequest::ListReleaseLabelsRequest
ListReleaseLabelsRequest()
Aws::EMR::Model::ListReleaseLabelsRequest::SetFilters
void SetFilters(ReleaseLabelFilter &&value)
Definition: ListReleaseLabelsRequest.h:64
EMR_EXPORTS.h
EMRRequest.h
Aws::EMR::Model::ListReleaseLabelsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListReleaseLabelsRequest.h:123
Aws::EMR::Model::ListReleaseLabelsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListReleaseLabelsRequest.h:112
Aws::EMR::Model::ListReleaseLabelsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::EMR::Model::ListReleaseLabelsRequest::WithNextToken
ListReleaseLabelsRequest & WithNextToken(const char *value)
Definition: ListReleaseLabelsRequest.h:167
Aws::EMR::Model::ListReleaseLabelsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListReleaseLabelsRequest.h:174
Aws::EMR::Model::ListReleaseLabelsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListReleaseLabelsRequest.h:180
Aws::EMR::Model::ListReleaseLabelsRequest::SetFilters
void SetFilters(const ReleaseLabelFilter &value)
Definition: ListReleaseLabelsRequest.h:57
Aws::EMR::Model::ListReleaseLabelsRequest
Definition: ListReleaseLabelsRequest.h:23
Aws::EMR::Model::ListReleaseLabelsRequest::GetFilters
const ReleaseLabelFilter & GetFilters() const
Definition: ListReleaseLabelsRequest.h:43
Aws::EMR::Model::ListReleaseLabelsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EMR::Model::ListReleaseLabelsRequest::WithNextToken
ListReleaseLabelsRequest & WithNextToken(Aws::String &&value)
Definition: ListReleaseLabelsRequest.h:156
Aws::EMR::Model::ListReleaseLabelsRequest::WithNextToken
ListReleaseLabelsRequest & WithNextToken(const Aws::String &value)
Definition: ListReleaseLabelsRequest.h:145
Aws::EMR::Model::ListReleaseLabelsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListReleaseLabelsRequest.h:90
Aws::EMR::EMRRequest
Definition: EMRRequest.h:17
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
AWSString.h
Aws::EMR::Model::ListReleaseLabelsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: ListReleaseLabelsRequest.h:50
Aws::EMR::Model::ListReleaseLabelsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListReleaseLabelsRequest.h:134
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ReleaseLabelFilter.h
Aws::EMR::Model::ListReleaseLabelsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListReleaseLabelsRequest.h:186
Aws::EMR::Model::ListReleaseLabelsRequest::WithMaxResults
ListReleaseLabelsRequest & WithMaxResults(int value)
Definition: ListReleaseLabelsRequest.h:192
Aws::EMR::Model::ListReleaseLabelsRequest::WithFilters
ListReleaseLabelsRequest & WithFilters(ReleaseLabelFilter &&value)
Definition: ListReleaseLabelsRequest.h:78
Aws::EMR::Model::ListReleaseLabelsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListReleaseLabelsRequest.h:101
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::ListReleaseLabelsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListReleaseLabelsRequest.h:31