AWS SDK for C++  1.9.158
AWS SDK for C++
DescribeEndpointsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace MediaConvert
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeEndpoints"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
43  inline int GetMaxResults() const{ return m_maxResults; }
44 
49  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
50 
55  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
56 
61  inline DescribeEndpointsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
62 
63 
70  inline const DescribeEndpointsMode& GetMode() const{ return m_mode; }
71 
78  inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
79 
86  inline void SetMode(const DescribeEndpointsMode& value) { m_modeHasBeenSet = true; m_mode = value; }
87 
94  inline void SetMode(DescribeEndpointsMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
95 
102  inline DescribeEndpointsRequest& WithMode(const DescribeEndpointsMode& value) { SetMode(value); return *this;}
103 
110  inline DescribeEndpointsRequest& WithMode(DescribeEndpointsMode&& value) { SetMode(std::move(value)); return *this;}
111 
112 
117  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
118 
123  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
124 
129  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
130 
135  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
136 
141  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
142 
147  inline DescribeEndpointsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
148 
153  inline DescribeEndpointsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
154 
159  inline DescribeEndpointsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
160 
161  private:
162 
163  int m_maxResults;
164  bool m_maxResultsHasBeenSet;
165 
166  DescribeEndpointsMode m_mode;
167  bool m_modeHasBeenSet;
168 
169  Aws::String m_nextToken;
170  bool m_nextTokenHasBeenSet;
171  };
172 
173 } // namespace Model
174 } // namespace MediaConvert
175 } // namespace Aws
Aws::MediaConvert::Model::DescribeEndpointsRequest::WithNextToken
DescribeEndpointsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeEndpointsRequest.h:147
Aws::MediaConvert::Model::DescribeEndpointsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeEndpointsRequest.h:49
Aws::MediaConvert::Model::DescribeEndpointsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeEndpointsRequest.h:141
Aws::MediaConvert::Model::DescribeEndpointsRequest::GetMode
const DescribeEndpointsMode & GetMode() const
Definition: DescribeEndpointsRequest.h:70
Aws::MediaConvert::Model::DescribeEndpointsRequest
Definition: DescribeEndpointsRequest.h:26
Aws::MediaConvert::Model::DescribeEndpointsMode
DescribeEndpointsMode
Definition: DescribeEndpointsMode.h:17
MediaConvertRequest.h
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::DescribeEndpointsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeEndpointsRequest.h:129
Aws::MediaConvert::Model::DescribeEndpointsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeEndpointsRequest.h:117
Aws::MediaConvert::Model::DescribeEndpointsRequest::ModeHasBeenSet
bool ModeHasBeenSet() const
Definition: DescribeEndpointsRequest.h:78
Aws::MediaConvert::MediaConvertRequest
Definition: MediaConvertRequest.h:17
Aws::MediaConvert::Model::DescribeEndpointsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaConvert::Model::DescribeEndpointsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeEndpointsRequest.h:123
DescribeEndpointsMode.h
Aws::MediaConvert::Model::DescribeEndpointsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeEndpointsRequest.h:34
Aws::MediaConvert::Model::DescribeEndpointsRequest::SetMode
void SetMode(DescribeEndpointsMode &&value)
Definition: DescribeEndpointsRequest.h:94
AWSString.h
Aws::MediaConvert::Model::DescribeEndpointsRequest::WithNextToken
DescribeEndpointsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeEndpointsRequest.h:153
Aws::MediaConvert::Model::DescribeEndpointsRequest::WithNextToken
DescribeEndpointsRequest & WithNextToken(const char *value)
Definition: DescribeEndpointsRequest.h:159
Aws::MediaConvert::Model::DescribeEndpointsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeEndpointsRequest.h:135
Aws::MediaConvert::Model::DescribeEndpointsRequest::DescribeEndpointsRequest
DescribeEndpointsRequest()
Aws::MediaConvert::Model::DescribeEndpointsRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeEndpointsRequest.h:43
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::DescribeEndpointsRequest::WithMaxResults
DescribeEndpointsRequest & WithMaxResults(int value)
Definition: DescribeEndpointsRequest.h:61
Aws::MediaConvert::Model::DescribeEndpointsRequest::WithMode
DescribeEndpointsRequest & WithMode(const DescribeEndpointsMode &value)
Definition: DescribeEndpointsRequest.h:102
Aws::MediaConvert::Model::DescribeEndpointsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeEndpointsRequest.h:55
Aws::MediaConvert::Model::DescribeEndpointsRequest::SetMode
void SetMode(const DescribeEndpointsMode &value)
Definition: DescribeEndpointsRequest.h:86
Aws::MediaConvert::Model::DescribeEndpointsRequest::WithMode
DescribeEndpointsRequest & WithMode(DescribeEndpointsMode &&value)
Definition: DescribeEndpointsRequest.h:110