AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename DomainIdentifierT = Aws::String>
50 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
51 template<typename DomainIdentifierT = Aws::String>
52 ListPolicyGrantsRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
54
56
59 inline const Aws::String& GetEntityIdentifier() const { return m_entityIdentifier; }
60 inline bool EntityIdentifierHasBeenSet() const { return m_entityIdentifierHasBeenSet; }
61 template<typename EntityIdentifierT = Aws::String>
62 void SetEntityIdentifier(EntityIdentifierT&& value) { m_entityIdentifierHasBeenSet = true; m_entityIdentifier = std::forward<EntityIdentifierT>(value); }
63 template<typename EntityIdentifierT = Aws::String>
64 ListPolicyGrantsRequest& WithEntityIdentifier(EntityIdentifierT&& value) { SetEntityIdentifier(std::forward<EntityIdentifierT>(value)); return *this;}
66
68
71 inline TargetEntityType GetEntityType() const { return m_entityType; }
72 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
73 inline void SetEntityType(TargetEntityType value) { m_entityTypeHasBeenSet = true; m_entityType = value; }
76
78
85 inline int GetMaxResults() const { return m_maxResults; }
86 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
87 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
88 inline ListPolicyGrantsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
90
92
100 inline const Aws::String& GetNextToken() const { return m_nextToken; }
101 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
102 template<typename NextTokenT = Aws::String>
103 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
104 template<typename NextTokenT = Aws::String>
105 ListPolicyGrantsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
107
109
112 inline ManagedPolicyType GetPolicyType() const { return m_policyType; }
113 inline bool PolicyTypeHasBeenSet() const { return m_policyTypeHasBeenSet; }
114 inline void SetPolicyType(ManagedPolicyType value) { m_policyTypeHasBeenSet = true; m_policyType = value; }
117 private:
118
119 Aws::String m_domainIdentifier;
120 bool m_domainIdentifierHasBeenSet = false;
121
122 Aws::String m_entityIdentifier;
123 bool m_entityIdentifierHasBeenSet = false;
124
126 bool m_entityTypeHasBeenSet = false;
127
128 int m_maxResults{0};
129 bool m_maxResultsHasBeenSet = false;
130
131 Aws::String m_nextToken;
132 bool m_nextTokenHasBeenSet = false;
133
135 bool m_policyTypeHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace DataZone
140} // namespace Aws
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 & WithNextToken(NextTokenT &&value)
ListPolicyGrantsRequest & WithMaxResults(int value)
ListPolicyGrantsRequest & WithEntityType(TargetEntityType value)
ListPolicyGrantsRequest & WithEntityIdentifier(EntityIdentifierT &&value)
ListPolicyGrantsRequest & WithDomainIdentifier(DomainIdentifierT &&value)
ListPolicyGrantsRequest & WithPolicyType(ManagedPolicyType value)
AWS_DATAZONE_API ListPolicyGrantsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String