AWS SDK for C++  1.9.44
AWS SDK for C++
GetResourcePoliciesRequest.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 "GetResourcePolicies"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
41 
45  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
46 
50  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
51 
55  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
56 
60  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
61 
65  inline GetResourcePoliciesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
66 
70  inline GetResourcePoliciesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 
75  inline GetResourcePoliciesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
76 
77 
81  inline int GetMaxResults() const{ return m_maxResults; }
82 
86  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
87 
91  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
92 
96  inline GetResourcePoliciesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
97 
98  private:
99 
100  Aws::String m_nextToken;
101  bool m_nextTokenHasBeenSet;
102 
103  int m_maxResults;
104  bool m_maxResultsHasBeenSet;
105  };
106 
107 } // namespace Model
108 } // namespace Glue
109 } // namespace Aws
Aws::Glue::Model::GetResourcePoliciesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetResourcePoliciesRequest.h:40
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Glue::Model::GetResourcePoliciesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetResourcePoliciesRequest.h:60
Glue_EXPORTS.h
Aws::Glue::Model::GetResourcePoliciesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glue::Model::GetResourcePoliciesRequest::WithNextToken
GetResourcePoliciesRequest & WithNextToken(const Aws::String &value)
Definition: GetResourcePoliciesRequest.h:65
Aws::Glue::Model::GetResourcePoliciesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: GetResourcePoliciesRequest.h:86
Aws::Glue::Model::GetResourcePoliciesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetResourcePoliciesRequest.h:50
Aws::Glue::Model::GetResourcePoliciesRequest::WithNextToken
GetResourcePoliciesRequest & WithNextToken(const char *value)
Definition: GetResourcePoliciesRequest.h:75
Aws::Glue::Model::GetResourcePoliciesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetResourcePoliciesRequest.h:55
Aws::Glue::Model::GetResourcePoliciesRequest::GetMaxResults
int GetMaxResults() const
Definition: GetResourcePoliciesRequest.h:81
AWS_GLUE_API
#define AWS_GLUE_API
Definition: Glue_EXPORTS.h:28
Aws::Glue::Model::GetResourcePoliciesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Glue::Model::GetResourcePoliciesRequest::WithMaxResults
GetResourcePoliciesRequest & WithMaxResults(int value)
Definition: GetResourcePoliciesRequest.h:96
Aws::Glue::Model::GetResourcePoliciesRequest::GetResourcePoliciesRequest
GetResourcePoliciesRequest()
AWSString.h
Aws::Glue::Model::GetResourcePoliciesRequest
Definition: GetResourcePoliciesRequest.h:22
Aws::Glue::Model::GetResourcePoliciesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetResourcePoliciesRequest.h:30
Aws::Glue::GlueRequest
Definition: GlueRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glue::Model::GetResourcePoliciesRequest::WithNextToken
GetResourcePoliciesRequest & WithNextToken(Aws::String &&value)
Definition: GetResourcePoliciesRequest.h:70
Aws::Glue::Model::GetResourcePoliciesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: GetResourcePoliciesRequest.h:91
Aws::Glue::Model::GetResourcePoliciesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetResourcePoliciesRequest.h:45
GlueRequest.h