AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListSubscriptionRequestsRequest.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/SubscriptionRequestStatus.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:
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 "ListSubscriptionRequests"; }
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); }
55 inline ListSubscriptionRequestsRequest& 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 ListSubscriptionRequestsRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
69 inline ListSubscriptionRequestsRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
71
73
81 inline int GetMaxResults() const{ return m_maxResults; }
82 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
83 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
84 inline ListSubscriptionRequestsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
86
88
97 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
98 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
99 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
100 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
101 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
102 inline ListSubscriptionRequestsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
103 inline ListSubscriptionRequestsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
104 inline ListSubscriptionRequestsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
106
108
111 inline const Aws::String& GetOwningProjectId() const{ return m_owningProjectId; }
112 inline bool OwningProjectIdHasBeenSet() const { return m_owningProjectIdHasBeenSet; }
113 inline void SetOwningProjectId(const Aws::String& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = value; }
114 inline void SetOwningProjectId(Aws::String&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::move(value); }
115 inline void SetOwningProjectId(const char* value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId.assign(value); }
117 inline ListSubscriptionRequestsRequest& WithOwningProjectId(Aws::String&& value) { SetOwningProjectId(std::move(value)); return *this;}
118 inline ListSubscriptionRequestsRequest& WithOwningProjectId(const char* value) { SetOwningProjectId(value); return *this;}
120
122
125 inline const SortKey& GetSortBy() const{ return m_sortBy; }
126 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
127 inline void SetSortBy(const SortKey& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
128 inline void SetSortBy(SortKey&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
129 inline ListSubscriptionRequestsRequest& WithSortBy(const SortKey& value) { SetSortBy(value); return *this;}
130 inline ListSubscriptionRequestsRequest& WithSortBy(SortKey&& value) { SetSortBy(std::move(value)); return *this;}
132
134
137 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
138 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
139 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
140 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
141 inline ListSubscriptionRequestsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
142 inline ListSubscriptionRequestsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
144
146
151 inline const SubscriptionRequestStatus& GetStatus() const{ return m_status; }
152 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
153 inline void SetStatus(const SubscriptionRequestStatus& value) { m_statusHasBeenSet = true; m_status = value; }
154 inline void SetStatus(SubscriptionRequestStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
156 inline ListSubscriptionRequestsRequest& WithStatus(SubscriptionRequestStatus&& value) { SetStatus(std::move(value)); return *this;}
158
160
163 inline const Aws::String& GetSubscribedListingId() const{ return m_subscribedListingId; }
164 inline bool SubscribedListingIdHasBeenSet() const { return m_subscribedListingIdHasBeenSet; }
165 inline void SetSubscribedListingId(const Aws::String& value) { m_subscribedListingIdHasBeenSet = true; m_subscribedListingId = value; }
166 inline void SetSubscribedListingId(Aws::String&& value) { m_subscribedListingIdHasBeenSet = true; m_subscribedListingId = std::move(value); }
167 inline void SetSubscribedListingId(const char* value) { m_subscribedListingIdHasBeenSet = true; m_subscribedListingId.assign(value); }
170 inline ListSubscriptionRequestsRequest& WithSubscribedListingId(const char* value) { SetSubscribedListingId(value); return *this;}
172 private:
173
174 Aws::String m_approverProjectId;
175 bool m_approverProjectIdHasBeenSet = false;
176
177 Aws::String m_domainIdentifier;
178 bool m_domainIdentifierHasBeenSet = false;
179
180 int m_maxResults;
181 bool m_maxResultsHasBeenSet = false;
182
183 Aws::String m_nextToken;
184 bool m_nextTokenHasBeenSet = false;
185
186 Aws::String m_owningProjectId;
187 bool m_owningProjectIdHasBeenSet = false;
188
189 SortKey m_sortBy;
190 bool m_sortByHasBeenSet = false;
191
192 SortOrder m_sortOrder;
193 bool m_sortOrderHasBeenSet = false;
194
196 bool m_statusHasBeenSet = false;
197
198 Aws::String m_subscribedListingId;
199 bool m_subscribedListingIdHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace DataZone
204} // namespace Aws
ListSubscriptionRequestsRequest & WithOwningProjectId(const char *value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
ListSubscriptionRequestsRequest & WithNextToken(Aws::String &&value)
ListSubscriptionRequestsRequest & WithSubscribedListingId(const Aws::String &value)
ListSubscriptionRequestsRequest & WithDomainIdentifier(const Aws::String &value)
ListSubscriptionRequestsRequest & WithApproverProjectId(Aws::String &&value)
ListSubscriptionRequestsRequest & WithApproverProjectId(const Aws::String &value)
ListSubscriptionRequestsRequest & WithMaxResults(int value)
ListSubscriptionRequestsRequest & WithSortOrder(SortOrder &&value)
ListSubscriptionRequestsRequest & WithApproverProjectId(const char *value)
ListSubscriptionRequestsRequest & WithNextToken(const Aws::String &value)
ListSubscriptionRequestsRequest & WithDomainIdentifier(const char *value)
ListSubscriptionRequestsRequest & WithOwningProjectId(Aws::String &&value)
ListSubscriptionRequestsRequest & WithSubscribedListingId(Aws::String &&value)
ListSubscriptionRequestsRequest & WithSortOrder(const SortOrder &value)
ListSubscriptionRequestsRequest & WithDomainIdentifier(Aws::String &&value)
ListSubscriptionRequestsRequest & WithSortBy(const SortKey &value)
ListSubscriptionRequestsRequest & WithSortBy(SortKey &&value)
ListSubscriptionRequestsRequest & WithOwningProjectId(const Aws::String &value)
ListSubscriptionRequestsRequest & WithNextToken(const char *value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListSubscriptionRequestsRequest & WithStatus(SubscriptionRequestStatus &&value)
ListSubscriptionRequestsRequest & WithStatus(const SubscriptionRequestStatus &value)
ListSubscriptionRequestsRequest & WithSubscribedListingId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String