AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListReleaseLabelsRequest.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/EMRRequest.h>
9#include <aws/elasticmapreduce/model/ReleaseLabelFilter.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace EMR
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_EMR_API ListReleaseLabelsRequest() = 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 "ListReleaseLabels"; }
32
33 AWS_EMR_API Aws::String SerializePayload() const override;
34
36
37
39
44 inline const ReleaseLabelFilter& GetFilters() const { return m_filters; }
45 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
46 template<typename FiltersT = ReleaseLabelFilter>
47 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
48 template<typename FiltersT = ReleaseLabelFilter>
49 ListReleaseLabelsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
51
53
62 inline const Aws::String& GetNextToken() const { return m_nextToken; }
63 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
64 template<typename NextTokenT = Aws::String>
65 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
66 template<typename NextTokenT = Aws::String>
67 ListReleaseLabelsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
69
71
75 inline int GetMaxResults() const { return m_maxResults; }
76 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
77 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
78 inline ListReleaseLabelsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
80 private:
81
82 ReleaseLabelFilter m_filters;
83 bool m_filtersHasBeenSet = false;
84
85 Aws::String m_nextToken;
86 bool m_nextTokenHasBeenSet = false;
87
88 int m_maxResults{0};
89 bool m_maxResultsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace EMR
94} // namespace Aws
ListReleaseLabelsRequest & WithNextToken(NextTokenT &&value)
AWS_EMR_API Aws::String SerializePayload() const override
ListReleaseLabelsRequest & WithFilters(FiltersT &&value)
ListReleaseLabelsRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_EMR_API ListReleaseLabelsRequest()=default
const ReleaseLabelFilter & GetFilters() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String