AWS SDK for C++  1.9.40
AWS SDK for C++
DescribeResourcePoliciesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CloudWatchLogs
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 "DescribeResourcePolicies"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
37 
38  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
39 
40 
41  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
42 
43 
44  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
45 
46 
47  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
48 
49 
50  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
51 
52 
53  inline DescribeResourcePoliciesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
54 
55 
56  inline DescribeResourcePoliciesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
57 
58 
59  inline DescribeResourcePoliciesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
60 
61 
66  inline int GetLimit() const{ return m_limit; }
67 
72  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
73 
78  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
79 
84  inline DescribeResourcePoliciesRequest& WithLimit(int value) { SetLimit(value); return *this;}
85 
86  private:
87 
88  Aws::String m_nextToken;
89  bool m_nextTokenHasBeenSet;
90 
91  int m_limit;
92  bool m_limitHasBeenSet;
93  };
94 
95 } // namespace Model
96 } // namespace CloudWatchLogs
97 } // namespace Aws
Aws::CloudWatchLogs::Model::DescribeResourcePoliciesRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: DescribeResourcePoliciesRequest.h:72
Aws::CloudWatchLogs::Model::DescribeResourcePoliciesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
AWS_CLOUDWATCHLOGS_API
#define AWS_CLOUDWATCHLOGS_API
Definition: CloudWatchLogs_EXPORTS.h:28
Aws::CloudWatchLogs::Model::DescribeResourcePoliciesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeResourcePoliciesRequest.h:41
Aws::CloudWatchLogs::Model::DescribeResourcePoliciesRequest::GetLimit
int GetLimit() const
Definition: DescribeResourcePoliciesRequest.h:66
CloudWatchLogs_EXPORTS.h
Aws::CloudWatchLogs::Model::DescribeResourcePoliciesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeResourcePoliciesRequest.h:38
Aws::CloudWatchLogs::Model::DescribeResourcePoliciesRequest::WithNextToken
DescribeResourcePoliciesRequest & WithNextToken(const Aws::String &value)
Definition: DescribeResourcePoliciesRequest.h:53
Aws::CloudWatchLogs::Model::DescribeResourcePoliciesRequest::WithNextToken
DescribeResourcePoliciesRequest & WithNextToken(Aws::String &&value)
Definition: DescribeResourcePoliciesRequest.h:56
Aws::CloudWatchLogs::CloudWatchLogsRequest
Definition: CloudWatchLogsRequest.h:17
AWSString.h
Aws::CloudWatchLogs::Model::DescribeResourcePoliciesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeResourcePoliciesRequest.h:44
Aws::CloudWatchLogs::Model::DescribeResourcePoliciesRequest
Definition: DescribeResourcePoliciesRequest.h:22
Aws::CloudWatchLogs::Model::DescribeResourcePoliciesRequest::DescribeResourcePoliciesRequest
DescribeResourcePoliciesRequest()
Aws::CloudWatchLogs::Model::DescribeResourcePoliciesRequest::WithLimit
DescribeResourcePoliciesRequest & WithLimit(int value)
Definition: DescribeResourcePoliciesRequest.h:84
Aws::CloudWatchLogs::Model::DescribeResourcePoliciesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeResourcePoliciesRequest.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::CloudWatchLogs::Model::DescribeResourcePoliciesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeResourcePoliciesRequest.h:30
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudWatchLogs::Model::DescribeResourcePoliciesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeResourcePoliciesRequest.h:47
CloudWatchLogsRequest.h
Aws::CloudWatchLogs::Model::DescribeResourcePoliciesRequest::WithNextToken
DescribeResourcePoliciesRequest & WithNextToken(const char *value)
Definition: DescribeResourcePoliciesRequest.h:59
Aws::CloudWatchLogs::Model::DescribeResourcePoliciesRequest::SetLimit
void SetLimit(int value)
Definition: DescribeResourcePoliciesRequest.h:78
Aws::CloudWatchLogs::Model::DescribeResourcePoliciesRequest::SerializePayload
Aws::String SerializePayload() const override