AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListSubscriptionGrantsRequest.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/SortKey.h>
11#include <aws/datazone/model/SortOrder.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:
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 "ListSubscriptionGrants"; }
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); }
53 inline ListSubscriptionGrantsRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
54 inline ListSubscriptionGrantsRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
56
58
61 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
62 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
63 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
64 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
65 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
66 inline ListSubscriptionGrantsRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
67 inline ListSubscriptionGrantsRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
68 inline ListSubscriptionGrantsRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
70
72
80 inline int GetMaxResults() const{ return m_maxResults; }
81 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
82 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
83 inline ListSubscriptionGrantsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
85
87
96 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
97 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
98 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
99 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
100 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
101 inline ListSubscriptionGrantsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 inline ListSubscriptionGrantsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
103 inline ListSubscriptionGrantsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
105
107
110 inline const Aws::String& GetOwningProjectId() const{ return m_owningProjectId; }
111 inline bool OwningProjectIdHasBeenSet() const { return m_owningProjectIdHasBeenSet; }
112 inline void SetOwningProjectId(const Aws::String& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = value; }
113 inline void SetOwningProjectId(Aws::String&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::move(value); }
114 inline void SetOwningProjectId(const char* value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId.assign(value); }
116 inline ListSubscriptionGrantsRequest& WithOwningProjectId(Aws::String&& value) { SetOwningProjectId(std::move(value)); return *this;}
117 inline ListSubscriptionGrantsRequest& WithOwningProjectId(const char* value) { SetOwningProjectId(value); return *this;}
119
121
124 inline const SortKey& GetSortBy() const{ return m_sortBy; }
125 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
126 inline void SetSortBy(const SortKey& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
127 inline void SetSortBy(SortKey&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
128 inline ListSubscriptionGrantsRequest& WithSortBy(const SortKey& value) { SetSortBy(value); return *this;}
129 inline ListSubscriptionGrantsRequest& WithSortBy(SortKey&& value) { SetSortBy(std::move(value)); return *this;}
131
133
136 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
137 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
138 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
139 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
140 inline ListSubscriptionGrantsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
141 inline ListSubscriptionGrantsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
143
145
148 inline const Aws::String& GetSubscribedListingId() const{ return m_subscribedListingId; }
149 inline bool SubscribedListingIdHasBeenSet() const { return m_subscribedListingIdHasBeenSet; }
150 inline void SetSubscribedListingId(const Aws::String& value) { m_subscribedListingIdHasBeenSet = true; m_subscribedListingId = value; }
151 inline void SetSubscribedListingId(Aws::String&& value) { m_subscribedListingIdHasBeenSet = true; m_subscribedListingId = std::move(value); }
152 inline void SetSubscribedListingId(const char* value) { m_subscribedListingIdHasBeenSet = true; m_subscribedListingId.assign(value); }
155 inline ListSubscriptionGrantsRequest& WithSubscribedListingId(const char* value) { SetSubscribedListingId(value); return *this;}
157
159
162 inline const Aws::String& GetSubscriptionId() const{ return m_subscriptionId; }
163 inline bool SubscriptionIdHasBeenSet() const { return m_subscriptionIdHasBeenSet; }
164 inline void SetSubscriptionId(const Aws::String& value) { m_subscriptionIdHasBeenSet = true; m_subscriptionId = value; }
165 inline void SetSubscriptionId(Aws::String&& value) { m_subscriptionIdHasBeenSet = true; m_subscriptionId = std::move(value); }
166 inline void SetSubscriptionId(const char* value) { m_subscriptionIdHasBeenSet = true; m_subscriptionId.assign(value); }
168 inline ListSubscriptionGrantsRequest& WithSubscriptionId(Aws::String&& value) { SetSubscriptionId(std::move(value)); return *this;}
169 inline ListSubscriptionGrantsRequest& WithSubscriptionId(const char* value) { SetSubscriptionId(value); return *this;}
171
173
176 inline const Aws::String& GetSubscriptionTargetId() const{ return m_subscriptionTargetId; }
177 inline bool SubscriptionTargetIdHasBeenSet() const { return m_subscriptionTargetIdHasBeenSet; }
178 inline void SetSubscriptionTargetId(const Aws::String& value) { m_subscriptionTargetIdHasBeenSet = true; m_subscriptionTargetId = value; }
179 inline void SetSubscriptionTargetId(Aws::String&& value) { m_subscriptionTargetIdHasBeenSet = true; m_subscriptionTargetId = std::move(value); }
180 inline void SetSubscriptionTargetId(const char* value) { m_subscriptionTargetIdHasBeenSet = true; m_subscriptionTargetId.assign(value); }
183 inline ListSubscriptionGrantsRequest& WithSubscriptionTargetId(const char* value) { SetSubscriptionTargetId(value); return *this;}
185 private:
186
187 Aws::String m_domainIdentifier;
188 bool m_domainIdentifierHasBeenSet = false;
189
190 Aws::String m_environmentId;
191 bool m_environmentIdHasBeenSet = false;
192
193 int m_maxResults;
194 bool m_maxResultsHasBeenSet = false;
195
196 Aws::String m_nextToken;
197 bool m_nextTokenHasBeenSet = false;
198
199 Aws::String m_owningProjectId;
200 bool m_owningProjectIdHasBeenSet = false;
201
202 SortKey m_sortBy;
203 bool m_sortByHasBeenSet = false;
204
205 SortOrder m_sortOrder;
206 bool m_sortOrderHasBeenSet = false;
207
208 Aws::String m_subscribedListingId;
209 bool m_subscribedListingIdHasBeenSet = false;
210
211 Aws::String m_subscriptionId;
212 bool m_subscriptionIdHasBeenSet = false;
213
214 Aws::String m_subscriptionTargetId;
215 bool m_subscriptionTargetIdHasBeenSet = false;
216 };
217
218} // namespace Model
219} // namespace DataZone
220} // namespace Aws
ListSubscriptionGrantsRequest & WithSubscribedListingId(const Aws::String &value)
ListSubscriptionGrantsRequest & WithNextToken(const Aws::String &value)
ListSubscriptionGrantsRequest & WithSubscriptionTargetId(const Aws::String &value)
ListSubscriptionGrantsRequest & WithDomainIdentifier(const char *value)
ListSubscriptionGrantsRequest & WithSortBy(SortKey &&value)
ListSubscriptionGrantsRequest & WithMaxResults(int value)
ListSubscriptionGrantsRequest & WithNextToken(Aws::String &&value)
ListSubscriptionGrantsRequest & WithDomainIdentifier(Aws::String &&value)
ListSubscriptionGrantsRequest & WithSubscriptionId(const Aws::String &value)
ListSubscriptionGrantsRequest & WithSortBy(const SortKey &value)
ListSubscriptionGrantsRequest & WithEnvironmentId(const char *value)
ListSubscriptionGrantsRequest & WithOwningProjectId(Aws::String &&value)
ListSubscriptionGrantsRequest & WithDomainIdentifier(const Aws::String &value)
ListSubscriptionGrantsRequest & WithSortOrder(const SortOrder &value)
ListSubscriptionGrantsRequest & WithSubscriptionTargetId(const char *value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListSubscriptionGrantsRequest & WithSubscribedListingId(Aws::String &&value)
ListSubscriptionGrantsRequest & WithSortOrder(SortOrder &&value)
ListSubscriptionGrantsRequest & WithNextToken(const char *value)
ListSubscriptionGrantsRequest & WithEnvironmentId(Aws::String &&value)
ListSubscriptionGrantsRequest & WithOwningProjectId(const Aws::String &value)
ListSubscriptionGrantsRequest & WithSubscriptionId(Aws::String &&value)
ListSubscriptionGrantsRequest & WithEnvironmentId(const Aws::String &value)
ListSubscriptionGrantsRequest & WithOwningProjectId(const char *value)
ListSubscriptionGrantsRequest & WithSubscriptionId(const char *value)
ListSubscriptionGrantsRequest & WithSubscribedListingId(const char *value)
ListSubscriptionGrantsRequest & WithSubscriptionTargetId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String