AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListPoliciesRequest.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/verifiedpermissions/VerifiedPermissionsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/verifiedpermissions/model/PolicyFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace VerifiedPermissions
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_VERIFIEDPERMISSIONS_API ListPoliciesRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListPolicies"; }
32
33 AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override;
34
35 AWS_VERIFIEDPERMISSIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetPolicyStoreId() const{ return m_policyStoreId; }
43 inline bool PolicyStoreIdHasBeenSet() const { return m_policyStoreIdHasBeenSet; }
44 inline void SetPolicyStoreId(const Aws::String& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = value; }
45 inline void SetPolicyStoreId(Aws::String&& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = std::move(value); }
46 inline void SetPolicyStoreId(const char* value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId.assign(value); }
47 inline ListPoliciesRequest& WithPolicyStoreId(const Aws::String& value) { SetPolicyStoreId(value); return *this;}
48 inline ListPoliciesRequest& WithPolicyStoreId(Aws::String&& value) { SetPolicyStoreId(std::move(value)); return *this;}
49 inline ListPoliciesRequest& WithPolicyStoreId(const char* value) { SetPolicyStoreId(value); return *this;}
51
53
60 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
61 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
62 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
63 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
64 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
65 inline ListPoliciesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
66 inline ListPoliciesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
67 inline ListPoliciesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
69
71
83 inline int GetMaxResults() const{ return m_maxResults; }
84 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
85 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
86 inline ListPoliciesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
88
90
95 inline const PolicyFilter& GetFilter() const{ return m_filter; }
96 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
97 inline void SetFilter(const PolicyFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
98 inline void SetFilter(PolicyFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
99 inline ListPoliciesRequest& WithFilter(const PolicyFilter& value) { SetFilter(value); return *this;}
100 inline ListPoliciesRequest& WithFilter(PolicyFilter&& value) { SetFilter(std::move(value)); return *this;}
102 private:
103
104 Aws::String m_policyStoreId;
105 bool m_policyStoreIdHasBeenSet = false;
106
107 Aws::String m_nextToken;
108 bool m_nextTokenHasBeenSet = false;
109
110 int m_maxResults;
111 bool m_maxResultsHasBeenSet = false;
112
113 PolicyFilter m_filter;
114 bool m_filterHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace VerifiedPermissions
119} // namespace Aws
ListPoliciesRequest & WithPolicyStoreId(const Aws::String &value)
ListPoliciesRequest & WithNextToken(Aws::String &&value)
ListPoliciesRequest & WithNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_VERIFIEDPERMISSIONS_API ListPoliciesRequest()
ListPoliciesRequest & WithNextToken(const Aws::String &value)
ListPoliciesRequest & WithFilter(const PolicyFilter &value)
ListPoliciesRequest & WithPolicyStoreId(Aws::String &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override
ListPoliciesRequest & WithFilter(PolicyFilter &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListPoliciesRequest & WithPolicyStoreId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String