AWS SDK for C++  1.9.158
AWS SDK for C++
DescribeReleaseLabelRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace EMR
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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 "DescribeReleaseLabel"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetReleaseLabel() const{ return m_releaseLabel; }
41 
45  inline bool ReleaseLabelHasBeenSet() const { return m_releaseLabelHasBeenSet; }
46 
50  inline void SetReleaseLabel(const Aws::String& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = value; }
51 
55  inline void SetReleaseLabel(Aws::String&& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = std::move(value); }
56 
60  inline void SetReleaseLabel(const char* value) { m_releaseLabelHasBeenSet = true; m_releaseLabel.assign(value); }
61 
65  inline DescribeReleaseLabelRequest& WithReleaseLabel(const Aws::String& value) { SetReleaseLabel(value); return *this;}
66 
70  inline DescribeReleaseLabelRequest& WithReleaseLabel(Aws::String&& value) { SetReleaseLabel(std::move(value)); return *this;}
71 
75  inline DescribeReleaseLabelRequest& WithReleaseLabel(const char* value) { SetReleaseLabel(value); return *this;}
76 
77 
81  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
82 
86  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
87 
91  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
92 
96  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
97 
101  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
102 
106  inline DescribeReleaseLabelRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
107 
111  inline DescribeReleaseLabelRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
112 
116  inline DescribeReleaseLabelRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
117 
118 
122  inline int GetMaxResults() const{ return m_maxResults; }
123 
127  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
128 
132  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
133 
137  inline DescribeReleaseLabelRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
138 
139  private:
140 
141  Aws::String m_releaseLabel;
142  bool m_releaseLabelHasBeenSet;
143 
144  Aws::String m_nextToken;
145  bool m_nextTokenHasBeenSet;
146 
147  int m_maxResults;
148  bool m_maxResultsHasBeenSet;
149  };
150 
151 } // namespace Model
152 } // namespace EMR
153 } // namespace Aws
Aws::EMR::Model::DescribeReleaseLabelRequest::ReleaseLabelHasBeenSet
bool ReleaseLabelHasBeenSet() const
Definition: DescribeReleaseLabelRequest.h:45
Aws::EMR::Model::DescribeReleaseLabelRequest::WithNextToken
DescribeReleaseLabelRequest & WithNextToken(Aws::String &&value)
Definition: DescribeReleaseLabelRequest.h:111
Aws::EMR::Model::DescribeReleaseLabelRequest::SetReleaseLabel
void SetReleaseLabel(const char *value)
Definition: DescribeReleaseLabelRequest.h:60
Aws::EMR::Model::DescribeReleaseLabelRequest::WithReleaseLabel
DescribeReleaseLabelRequest & WithReleaseLabel(Aws::String &&value)
Definition: DescribeReleaseLabelRequest.h:70
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::EMR::Model::DescribeReleaseLabelRequest::WithNextToken
DescribeReleaseLabelRequest & WithNextToken(const Aws::String &value)
Definition: DescribeReleaseLabelRequest.h:106
EMR_EXPORTS.h
Aws::EMR::Model::DescribeReleaseLabelRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeReleaseLabelRequest.h:81
EMRRequest.h
Aws::EMR::Model::DescribeReleaseLabelRequest::WithNextToken
DescribeReleaseLabelRequest & WithNextToken(const char *value)
Definition: DescribeReleaseLabelRequest.h:116
Aws::EMR::Model::DescribeReleaseLabelRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeReleaseLabelRequest.h:91
Aws::EMR::Model::DescribeReleaseLabelRequest::SetReleaseLabel
void SetReleaseLabel(const Aws::String &value)
Definition: DescribeReleaseLabelRequest.h:50
Aws::EMR::EMRRequest
Definition: EMRRequest.h:17
Aws::EMR::Model::DescribeReleaseLabelRequest::GetReleaseLabel
const Aws::String & GetReleaseLabel() const
Definition: DescribeReleaseLabelRequest.h:40
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
AWSString.h
Aws::EMR::Model::DescribeReleaseLabelRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EMR::Model::DescribeReleaseLabelRequest::DescribeReleaseLabelRequest
DescribeReleaseLabelRequest()
Aws::EMR::Model::DescribeReleaseLabelRequest::WithReleaseLabel
DescribeReleaseLabelRequest & WithReleaseLabel(const Aws::String &value)
Definition: DescribeReleaseLabelRequest.h:65
Aws::EMR::Model::DescribeReleaseLabelRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeReleaseLabelRequest.h:122
Aws::EMR::Model::DescribeReleaseLabelRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeReleaseLabelRequest.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::DescribeReleaseLabelRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeReleaseLabelRequest.h:86
Aws::EMR::Model::DescribeReleaseLabelRequest::WithMaxResults
DescribeReleaseLabelRequest & WithMaxResults(int value)
Definition: DescribeReleaseLabelRequest.h:137
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::DescribeReleaseLabelRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::EMR::Model::DescribeReleaseLabelRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeReleaseLabelRequest.h:101
Aws::EMR::Model::DescribeReleaseLabelRequest::SetReleaseLabel
void SetReleaseLabel(Aws::String &&value)
Definition: DescribeReleaseLabelRequest.h:55
Aws::EMR::Model::DescribeReleaseLabelRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeReleaseLabelRequest.h:127
Aws::EMR::Model::DescribeReleaseLabelRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeReleaseLabelRequest.h:96
Aws::EMR::Model::DescribeReleaseLabelRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeReleaseLabelRequest.h:132
Aws::EMR::Model::DescribeReleaseLabelRequest::WithReleaseLabel
DescribeReleaseLabelRequest & WithReleaseLabel(const char *value)
Definition: DescribeReleaseLabelRequest.h:75
Aws::EMR::Model::DescribeReleaseLabelRequest
Definition: DescribeReleaseLabelRequest.h:22
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28