AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetFilters(const ReleaseLabelFilter& value) { m_filtersHasBeenSet = true; m_filters = value; }
47 inline void SetFilters(ReleaseLabelFilter&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
48 inline ListReleaseLabelsRequest& WithFilters(const ReleaseLabelFilter& value) { SetFilters(value); return *this;}
49 inline ListReleaseLabelsRequest& WithFilters(ReleaseLabelFilter&& value) { SetFilters(std::move(value)); return *this;}
51
53
62 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
63 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
64 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
65 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
66 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
67 inline ListReleaseLabelsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
68 inline ListReleaseLabelsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
69 inline ListReleaseLabelsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
71
73
77 inline int GetMaxResults() const{ return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
80 inline ListReleaseLabelsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
82 private:
83
84 ReleaseLabelFilter m_filters;
85 bool m_filtersHasBeenSet = false;
86
87 Aws::String m_nextToken;
88 bool m_nextTokenHasBeenSet = false;
89
90 int m_maxResults;
91 bool m_maxResultsHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace EMR
96} // namespace Aws
void SetFilters(const ReleaseLabelFilter &value)
AWS_EMR_API Aws::String SerializePayload() const override
ListReleaseLabelsRequest & WithNextToken(const Aws::String &value)
ListReleaseLabelsRequest & WithNextToken(const char *value)
ListReleaseLabelsRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListReleaseLabelsRequest & WithFilters(const ReleaseLabelFilter &value)
ListReleaseLabelsRequest & WithFilters(ReleaseLabelFilter &&value)
ListReleaseLabelsRequest & WithNextToken(Aws::String &&value)
const ReleaseLabelFilter & GetFilters() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String