AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListPolicyGrantsRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/TargetEntityType.h>
11#include <aws/datazone/model/ManagedPolicyType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace DataZone
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_DATAZONE_API ListPolicyGrantsRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListPolicyGrants"; }
37
38 AWS_DATAZONE_API Aws::String SerializePayload() const override;
39
40 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
47 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
48 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
49 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
50 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
51 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
52 inline ListPolicyGrantsRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;}
53 inline ListPolicyGrantsRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
54 inline ListPolicyGrantsRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
56
58
61 inline const Aws::String& GetEntityIdentifier() const{ return m_entityIdentifier; }
62 inline bool EntityIdentifierHasBeenSet() const { return m_entityIdentifierHasBeenSet; }
63 inline void SetEntityIdentifier(const Aws::String& value) { m_entityIdentifierHasBeenSet = true; m_entityIdentifier = value; }
64 inline void SetEntityIdentifier(Aws::String&& value) { m_entityIdentifierHasBeenSet = true; m_entityIdentifier = std::move(value); }
65 inline void SetEntityIdentifier(const char* value) { m_entityIdentifierHasBeenSet = true; m_entityIdentifier.assign(value); }
66 inline ListPolicyGrantsRequest& WithEntityIdentifier(const Aws::String& value) { SetEntityIdentifier(value); return *this;}
67 inline ListPolicyGrantsRequest& WithEntityIdentifier(Aws::String&& value) { SetEntityIdentifier(std::move(value)); return *this;}
68 inline ListPolicyGrantsRequest& WithEntityIdentifier(const char* value) { SetEntityIdentifier(value); return *this;}
70
72
75 inline const TargetEntityType& GetEntityType() const{ return m_entityType; }
76 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
77 inline void SetEntityType(const TargetEntityType& value) { m_entityTypeHasBeenSet = true; m_entityType = value; }
78 inline void SetEntityType(TargetEntityType&& value) { m_entityTypeHasBeenSet = true; m_entityType = std::move(value); }
79 inline ListPolicyGrantsRequest& WithEntityType(const TargetEntityType& value) { SetEntityType(value); return *this;}
80 inline ListPolicyGrantsRequest& WithEntityType(TargetEntityType&& value) { SetEntityType(std::move(value)); return *this;}
82
84
91 inline int GetMaxResults() const{ return m_maxResults; }
92 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
93 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
94 inline ListPolicyGrantsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
96
98
106 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
107 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
108 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
109 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
110 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
111 inline ListPolicyGrantsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
112 inline ListPolicyGrantsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
113 inline ListPolicyGrantsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
115
117
120 inline const ManagedPolicyType& GetPolicyType() const{ return m_policyType; }
121 inline bool PolicyTypeHasBeenSet() const { return m_policyTypeHasBeenSet; }
122 inline void SetPolicyType(const ManagedPolicyType& value) { m_policyTypeHasBeenSet = true; m_policyType = value; }
123 inline void SetPolicyType(ManagedPolicyType&& value) { m_policyTypeHasBeenSet = true; m_policyType = std::move(value); }
124 inline ListPolicyGrantsRequest& WithPolicyType(const ManagedPolicyType& value) { SetPolicyType(value); return *this;}
125 inline ListPolicyGrantsRequest& WithPolicyType(ManagedPolicyType&& value) { SetPolicyType(std::move(value)); return *this;}
127 private:
128
129 Aws::String m_domainIdentifier;
130 bool m_domainIdentifierHasBeenSet = false;
131
132 Aws::String m_entityIdentifier;
133 bool m_entityIdentifierHasBeenSet = false;
134
135 TargetEntityType m_entityType;
136 bool m_entityTypeHasBeenSet = false;
137
138 int m_maxResults;
139 bool m_maxResultsHasBeenSet = false;
140
141 Aws::String m_nextToken;
142 bool m_nextTokenHasBeenSet = false;
143
144 ManagedPolicyType m_policyType;
145 bool m_policyTypeHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace DataZone
150} // namespace Aws
ListPolicyGrantsRequest & WithNextToken(const char *value)
ListPolicyGrantsRequest & WithPolicyType(ManagedPolicyType &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
ListPolicyGrantsRequest & WithEntityIdentifier(Aws::String &&value)
void SetPolicyType(const ManagedPolicyType &value)
ListPolicyGrantsRequest & WithEntityType(TargetEntityType &&value)
ListPolicyGrantsRequest & WithEntityIdentifier(const char *value)
ListPolicyGrantsRequest & WithDomainIdentifier(Aws::String &&value)
ListPolicyGrantsRequest & WithNextToken(const Aws::String &value)
ListPolicyGrantsRequest & WithMaxResults(int value)
ListPolicyGrantsRequest & WithNextToken(Aws::String &&value)
ListPolicyGrantsRequest & WithEntityType(const TargetEntityType &value)
ListPolicyGrantsRequest & WithPolicyType(const ManagedPolicyType &value)
void SetEntityType(const TargetEntityType &value)
ListPolicyGrantsRequest & WithDomainIdentifier(const char *value)
ListPolicyGrantsRequest & WithDomainIdentifier(const Aws::String &value)
ListPolicyGrantsRequest & WithEntityIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String