AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListSubscriptionsRequest.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 <aws/datazone/model/SubscriptionStatus.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Http
18{
19 class URI;
20} //namespace Http
21namespace DataZone
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_DATAZONE_API ListSubscriptionsRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "ListSubscriptions"; }
38
39 AWS_DATAZONE_API Aws::String SerializePayload() const override;
40
41 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
48 inline const Aws::String& GetApproverProjectId() const{ return m_approverProjectId; }
49 inline bool ApproverProjectIdHasBeenSet() const { return m_approverProjectIdHasBeenSet; }
50 inline void SetApproverProjectId(const Aws::String& value) { m_approverProjectIdHasBeenSet = true; m_approverProjectId = value; }
51 inline void SetApproverProjectId(Aws::String&& value) { m_approverProjectIdHasBeenSet = true; m_approverProjectId = std::move(value); }
52 inline void SetApproverProjectId(const char* value) { m_approverProjectIdHasBeenSet = true; m_approverProjectId.assign(value); }
54 inline ListSubscriptionsRequest& WithApproverProjectId(Aws::String&& value) { SetApproverProjectId(std::move(value)); return *this;}
55 inline ListSubscriptionsRequest& WithApproverProjectId(const char* value) { SetApproverProjectId(value); return *this;}
57
59
62 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
63 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
64 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
65 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
66 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
68 inline ListSubscriptionsRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
69 inline ListSubscriptionsRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
71
73
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 ListSubscriptionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
85
87
95 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
96 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
97 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
98 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
99 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
100 inline ListSubscriptionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
101 inline ListSubscriptionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 inline ListSubscriptionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
104
106
109 inline const Aws::String& GetOwningProjectId() const{ return m_owningProjectId; }
110 inline bool OwningProjectIdHasBeenSet() const { return m_owningProjectIdHasBeenSet; }
111 inline void SetOwningProjectId(const Aws::String& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = value; }
112 inline void SetOwningProjectId(Aws::String&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::move(value); }
113 inline void SetOwningProjectId(const char* value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId.assign(value); }
114 inline ListSubscriptionsRequest& WithOwningProjectId(const Aws::String& value) { SetOwningProjectId(value); return *this;}
115 inline ListSubscriptionsRequest& WithOwningProjectId(Aws::String&& value) { SetOwningProjectId(std::move(value)); return *this;}
116 inline ListSubscriptionsRequest& WithOwningProjectId(const char* value) { SetOwningProjectId(value); return *this;}
118
120
123 inline const SortKey& GetSortBy() const{ return m_sortBy; }
124 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
125 inline void SetSortBy(const SortKey& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
126 inline void SetSortBy(SortKey&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
127 inline ListSubscriptionsRequest& WithSortBy(const SortKey& value) { SetSortBy(value); return *this;}
128 inline ListSubscriptionsRequest& WithSortBy(SortKey&& value) { SetSortBy(std::move(value)); return *this;}
130
132
135 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
136 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
137 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
138 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
139 inline ListSubscriptionsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
140 inline ListSubscriptionsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
142
144
149 inline const SubscriptionStatus& GetStatus() const{ return m_status; }
150 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
151 inline void SetStatus(const SubscriptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
152 inline void SetStatus(SubscriptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
153 inline ListSubscriptionsRequest& WithStatus(const SubscriptionStatus& value) { SetStatus(value); return *this;}
154 inline ListSubscriptionsRequest& WithStatus(SubscriptionStatus&& value) { SetStatus(std::move(value)); return *this;}
156
158
162 inline const Aws::String& GetSubscribedListingId() const{ return m_subscribedListingId; }
163 inline bool SubscribedListingIdHasBeenSet() const { return m_subscribedListingIdHasBeenSet; }
164 inline void SetSubscribedListingId(const Aws::String& value) { m_subscribedListingIdHasBeenSet = true; m_subscribedListingId = value; }
165 inline void SetSubscribedListingId(Aws::String&& value) { m_subscribedListingIdHasBeenSet = true; m_subscribedListingId = std::move(value); }
166 inline void SetSubscribedListingId(const char* value) { m_subscribedListingIdHasBeenSet = true; m_subscribedListingId.assign(value); }
168 inline ListSubscriptionsRequest& WithSubscribedListingId(Aws::String&& value) { SetSubscribedListingId(std::move(value)); return *this;}
169 inline ListSubscriptionsRequest& WithSubscribedListingId(const char* value) { SetSubscribedListingId(value); return *this;}
171
173
177 inline const Aws::String& GetSubscriptionRequestIdentifier() const{ return m_subscriptionRequestIdentifier; }
178 inline bool SubscriptionRequestIdentifierHasBeenSet() const { return m_subscriptionRequestIdentifierHasBeenSet; }
179 inline void SetSubscriptionRequestIdentifier(const Aws::String& value) { m_subscriptionRequestIdentifierHasBeenSet = true; m_subscriptionRequestIdentifier = value; }
180 inline void SetSubscriptionRequestIdentifier(Aws::String&& value) { m_subscriptionRequestIdentifierHasBeenSet = true; m_subscriptionRequestIdentifier = std::move(value); }
181 inline void SetSubscriptionRequestIdentifier(const char* value) { m_subscriptionRequestIdentifierHasBeenSet = true; m_subscriptionRequestIdentifier.assign(value); }
186 private:
187
188 Aws::String m_approverProjectId;
189 bool m_approverProjectIdHasBeenSet = false;
190
191 Aws::String m_domainIdentifier;
192 bool m_domainIdentifierHasBeenSet = false;
193
194 int m_maxResults;
195 bool m_maxResultsHasBeenSet = false;
196
197 Aws::String m_nextToken;
198 bool m_nextTokenHasBeenSet = false;
199
200 Aws::String m_owningProjectId;
201 bool m_owningProjectIdHasBeenSet = false;
202
203 SortKey m_sortBy;
204 bool m_sortByHasBeenSet = false;
205
206 SortOrder m_sortOrder;
207 bool m_sortOrderHasBeenSet = false;
208
209 SubscriptionStatus m_status;
210 bool m_statusHasBeenSet = false;
211
212 Aws::String m_subscribedListingId;
213 bool m_subscribedListingIdHasBeenSet = false;
214
215 Aws::String m_subscriptionRequestIdentifier;
216 bool m_subscriptionRequestIdentifierHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace DataZone
221} // namespace Aws
ListSubscriptionsRequest & WithSortOrder(SortOrder &&value)
ListSubscriptionsRequest & WithDomainIdentifier(const Aws::String &value)
ListSubscriptionsRequest & WithStatus(const SubscriptionStatus &value)
void SetSubscriptionRequestIdentifier(const Aws::String &value)
ListSubscriptionsRequest & WithSubscriptionRequestIdentifier(Aws::String &&value)
void SetStatus(const SubscriptionStatus &value)
ListSubscriptionsRequest & WithStatus(SubscriptionStatus &&value)
ListSubscriptionsRequest & WithMaxResults(int value)
ListSubscriptionsRequest & WithSubscriptionRequestIdentifier(const char *value)
ListSubscriptionsRequest & WithNextToken(const char *value)
ListSubscriptionsRequest & WithDomainIdentifier(const char *value)
ListSubscriptionsRequest & WithOwningProjectId(Aws::String &&value)
ListSubscriptionsRequest & WithApproverProjectId(const char *value)
ListSubscriptionsRequest & WithSubscribedListingId(const char *value)
ListSubscriptionsRequest & WithApproverProjectId(const Aws::String &value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListSubscriptionsRequest & WithSubscribedListingId(Aws::String &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
ListSubscriptionsRequest & WithSortBy(const SortKey &value)
ListSubscriptionsRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListSubscriptionsRequest & WithDomainIdentifier(Aws::String &&value)
ListSubscriptionsRequest & WithNextToken(const Aws::String &value)
ListSubscriptionsRequest & WithSortBy(SortKey &&value)
ListSubscriptionsRequest & WithOwningProjectId(const char *value)
ListSubscriptionsRequest & WithSubscribedListingId(const Aws::String &value)
ListSubscriptionsRequest & WithSortOrder(const SortOrder &value)
ListSubscriptionsRequest & WithOwningProjectId(const Aws::String &value)
ListSubscriptionsRequest & WithApproverProjectId(Aws::String &&value)
ListSubscriptionsRequest & WithSubscriptionRequestIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String