AWS SDK for C++  1.9.103
AWS SDK for C++
GetDevEndpointsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/glue/GlueRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Glue
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 "GetDevEndpoints"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline int GetMaxResults() const{ return m_maxResults; }
41 
45  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
46 
50  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
51 
55  inline GetDevEndpointsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
56 
57 
61  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
62 
66  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
67 
71  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
72 
76  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
77 
81  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
82 
86  inline GetDevEndpointsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
87 
91  inline GetDevEndpointsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
92 
96  inline GetDevEndpointsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
97 
98  private:
99 
100  int m_maxResults;
101  bool m_maxResultsHasBeenSet;
102 
103  Aws::String m_nextToken;
104  bool m_nextTokenHasBeenSet;
105  };
106 
107 } // namespace Model
108 } // namespace Glue
109 } // namespace Aws
Aws::Glue::Model::GetDevEndpointsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: GetDevEndpointsRequest.h:50
Aws::Glue::Model::GetDevEndpointsRequest::GetMaxResults
int GetMaxResults() const
Definition: GetDevEndpointsRequest.h:40
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Glue_EXPORTS.h
Aws::Glue::Model::GetDevEndpointsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetDevEndpointsRequest.h:71
Aws::Glue::Model::GetDevEndpointsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetDevEndpointsRequest.h:81
Aws::Glue::Model::GetDevEndpointsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: GetDevEndpointsRequest.h:45
AWS_GLUE_API
#define AWS_GLUE_API
Definition: Glue_EXPORTS.h:28
Aws::Glue::Model::GetDevEndpointsRequest::WithNextToken
GetDevEndpointsRequest & WithNextToken(const char *value)
Definition: GetDevEndpointsRequest.h:96
AWSString.h
Aws::Glue::Model::GetDevEndpointsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Glue::Model::GetDevEndpointsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetDevEndpointsRequest.h:76
Aws::Glue::Model::GetDevEndpointsRequest::WithNextToken
GetDevEndpointsRequest & WithNextToken(Aws::String &&value)
Definition: GetDevEndpointsRequest.h:91
Aws::Glue::GlueRequest
Definition: GlueRequest.h:17
Aws::Glue::Model::GetDevEndpointsRequest::WithMaxResults
GetDevEndpointsRequest & WithMaxResults(int value)
Definition: GetDevEndpointsRequest.h:55
Aws::Glue::Model::GetDevEndpointsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetDevEndpointsRequest.h:66
Aws
Definition: AccessManagementClient.h:15
Aws::Glue::Model::GetDevEndpointsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glue::Model::GetDevEndpointsRequest
Definition: GetDevEndpointsRequest.h:22
Aws::Glue::Model::GetDevEndpointsRequest::WithNextToken
GetDevEndpointsRequest & WithNextToken(const Aws::String &value)
Definition: GetDevEndpointsRequest.h:86
Aws::Glue::Model::GetDevEndpointsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetDevEndpointsRequest.h:30
Aws::Glue::Model::GetDevEndpointsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetDevEndpointsRequest.h:61
Aws::Glue::Model::GetDevEndpointsRequest::GetDevEndpointsRequest
GetDevEndpointsRequest()
GlueRequest.h