AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RejectSubscriptionRequestResult.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/SubscriptionRequestStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/datazone/model/SubscribedListing.h>
13#include <aws/datazone/model/SubscribedPrincipal.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace DataZone
29{
30namespace Model
31{
33 {
34 public:
38
39
41
44 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
45 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
46 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
48 inline RejectSubscriptionRequestResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
50
52
55 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
56 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
57 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
58 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
59 inline RejectSubscriptionRequestResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
60 inline RejectSubscriptionRequestResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
61 inline RejectSubscriptionRequestResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
63
65
68 inline const Aws::String& GetDecisionComment() const{ return m_decisionComment; }
69 inline void SetDecisionComment(const Aws::String& value) { m_decisionComment = value; }
70 inline void SetDecisionComment(Aws::String&& value) { m_decisionComment = std::move(value); }
71 inline void SetDecisionComment(const char* value) { m_decisionComment.assign(value); }
73 inline RejectSubscriptionRequestResult& WithDecisionComment(Aws::String&& value) { SetDecisionComment(std::move(value)); return *this;}
74 inline RejectSubscriptionRequestResult& WithDecisionComment(const char* value) { SetDecisionComment(value); return *this;}
76
78
82 inline const Aws::String& GetDomainId() const{ return m_domainId; }
83 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
84 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
85 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
86 inline RejectSubscriptionRequestResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
87 inline RejectSubscriptionRequestResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
88 inline RejectSubscriptionRequestResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
90
92
95 inline const Aws::String& GetId() const{ return m_id; }
96 inline void SetId(const Aws::String& value) { m_id = value; }
97 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
98 inline void SetId(const char* value) { m_id.assign(value); }
99 inline RejectSubscriptionRequestResult& WithId(const Aws::String& value) { SetId(value); return *this;}
100 inline RejectSubscriptionRequestResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
101 inline RejectSubscriptionRequestResult& WithId(const char* value) { SetId(value); return *this;}
103
105
108 inline const Aws::String& GetRequestReason() const{ return m_requestReason; }
109 inline void SetRequestReason(const Aws::String& value) { m_requestReason = value; }
110 inline void SetRequestReason(Aws::String&& value) { m_requestReason = std::move(value); }
111 inline void SetRequestReason(const char* value) { m_requestReason.assign(value); }
113 inline RejectSubscriptionRequestResult& WithRequestReason(Aws::String&& value) { SetRequestReason(std::move(value)); return *this;}
114 inline RejectSubscriptionRequestResult& WithRequestReason(const char* value) { SetRequestReason(value); return *this;}
116
118
121 inline const Aws::String& GetReviewerId() const{ return m_reviewerId; }
122 inline void SetReviewerId(const Aws::String& value) { m_reviewerId = value; }
123 inline void SetReviewerId(Aws::String&& value) { m_reviewerId = std::move(value); }
124 inline void SetReviewerId(const char* value) { m_reviewerId.assign(value); }
125 inline RejectSubscriptionRequestResult& WithReviewerId(const Aws::String& value) { SetReviewerId(value); return *this;}
126 inline RejectSubscriptionRequestResult& WithReviewerId(Aws::String&& value) { SetReviewerId(std::move(value)); return *this;}
127 inline RejectSubscriptionRequestResult& WithReviewerId(const char* value) { SetReviewerId(value); return *this;}
129
131
134 inline const SubscriptionRequestStatus& GetStatus() const{ return m_status; }
135 inline void SetStatus(const SubscriptionRequestStatus& value) { m_status = value; }
136 inline void SetStatus(SubscriptionRequestStatus&& value) { m_status = std::move(value); }
138 inline RejectSubscriptionRequestResult& WithStatus(SubscriptionRequestStatus&& value) { SetStatus(std::move(value)); return *this;}
140
142
145 inline const Aws::Vector<SubscribedListing>& GetSubscribedListings() const{ return m_subscribedListings; }
146 inline void SetSubscribedListings(const Aws::Vector<SubscribedListing>& value) { m_subscribedListings = value; }
147 inline void SetSubscribedListings(Aws::Vector<SubscribedListing>&& value) { m_subscribedListings = std::move(value); }
150 inline RejectSubscriptionRequestResult& AddSubscribedListings(const SubscribedListing& value) { m_subscribedListings.push_back(value); return *this; }
151 inline RejectSubscriptionRequestResult& AddSubscribedListings(SubscribedListing&& value) { m_subscribedListings.push_back(std::move(value)); return *this; }
153
155
158 inline const Aws::Vector<SubscribedPrincipal>& GetSubscribedPrincipals() const{ return m_subscribedPrincipals; }
159 inline void SetSubscribedPrincipals(const Aws::Vector<SubscribedPrincipal>& value) { m_subscribedPrincipals = value; }
160 inline void SetSubscribedPrincipals(Aws::Vector<SubscribedPrincipal>&& value) { m_subscribedPrincipals = std::move(value); }
163 inline RejectSubscriptionRequestResult& AddSubscribedPrincipals(const SubscribedPrincipal& value) { m_subscribedPrincipals.push_back(value); return *this; }
164 inline RejectSubscriptionRequestResult& AddSubscribedPrincipals(SubscribedPrincipal&& value) { m_subscribedPrincipals.push_back(std::move(value)); return *this; }
166
168
171 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
172 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
173 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
175 inline RejectSubscriptionRequestResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
177
179
182 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
183 inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; }
184 inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); }
185 inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); }
186 inline RejectSubscriptionRequestResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
187 inline RejectSubscriptionRequestResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
188 inline RejectSubscriptionRequestResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
190
192
193 inline const Aws::String& GetRequestId() const{ return m_requestId; }
194 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
195 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
196 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
197 inline RejectSubscriptionRequestResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
198 inline RejectSubscriptionRequestResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
199 inline RejectSubscriptionRequestResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
201 private:
202
203 Aws::Utils::DateTime m_createdAt;
204
205 Aws::String m_createdBy;
206
207 Aws::String m_decisionComment;
208
209 Aws::String m_domainId;
210
211 Aws::String m_id;
212
213 Aws::String m_requestReason;
214
215 Aws::String m_reviewerId;
216
218
219 Aws::Vector<SubscribedListing> m_subscribedListings;
220
221 Aws::Vector<SubscribedPrincipal> m_subscribedPrincipals;
222
223 Aws::Utils::DateTime m_updatedAt;
224
225 Aws::String m_updatedBy;
226
227 Aws::String m_requestId;
228 };
229
230} // namespace Model
231} // namespace DataZone
232} // namespace Aws
RejectSubscriptionRequestResult & WithRequestId(const char *value)
RejectSubscriptionRequestResult & WithRequestId(Aws::String &&value)
RejectSubscriptionRequestResult & WithId(const char *value)
RejectSubscriptionRequestResult & WithRequestReason(const Aws::String &value)
RejectSubscriptionRequestResult & WithDomainId(Aws::String &&value)
RejectSubscriptionRequestResult & WithRequestReason(const char *value)
AWS_DATAZONE_API RejectSubscriptionRequestResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API RejectSubscriptionRequestResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RejectSubscriptionRequestResult & WithSubscribedListings(Aws::Vector< SubscribedListing > &&value)
RejectSubscriptionRequestResult & WithSubscribedListings(const Aws::Vector< SubscribedListing > &value)
RejectSubscriptionRequestResult & WithCreatedBy(const char *value)
RejectSubscriptionRequestResult & WithStatus(SubscriptionRequestStatus &&value)
RejectSubscriptionRequestResult & AddSubscribedListings(const SubscribedListing &value)
RejectSubscriptionRequestResult & WithCreatedAt(Aws::Utils::DateTime &&value)
RejectSubscriptionRequestResult & WithRequestReason(Aws::String &&value)
RejectSubscriptionRequestResult & WithUpdatedBy(Aws::String &&value)
RejectSubscriptionRequestResult & WithRequestId(const Aws::String &value)
RejectSubscriptionRequestResult & WithDomainId(const char *value)
RejectSubscriptionRequestResult & WithDecisionComment(const char *value)
RejectSubscriptionRequestResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetSubscribedListings(const Aws::Vector< SubscribedListing > &value)
RejectSubscriptionRequestResult & AddSubscribedPrincipals(SubscribedPrincipal &&value)
RejectSubscriptionRequestResult & WithUpdatedBy(const Aws::String &value)
RejectSubscriptionRequestResult & WithCreatedBy(const Aws::String &value)
RejectSubscriptionRequestResult & WithSubscribedPrincipals(Aws::Vector< SubscribedPrincipal > &&value)
RejectSubscriptionRequestResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
RejectSubscriptionRequestResult & WithStatus(const SubscriptionRequestStatus &value)
RejectSubscriptionRequestResult & WithId(const Aws::String &value)
RejectSubscriptionRequestResult & WithSubscribedPrincipals(const Aws::Vector< SubscribedPrincipal > &value)
RejectSubscriptionRequestResult & WithId(Aws::String &&value)
RejectSubscriptionRequestResult & WithUpdatedBy(const char *value)
RejectSubscriptionRequestResult & WithDecisionComment(const Aws::String &value)
RejectSubscriptionRequestResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
RejectSubscriptionRequestResult & AddSubscribedPrincipals(const SubscribedPrincipal &value)
RejectSubscriptionRequestResult & WithCreatedBy(Aws::String &&value)
RejectSubscriptionRequestResult & WithDomainId(const Aws::String &value)
const Aws::Vector< SubscribedPrincipal > & GetSubscribedPrincipals() const
RejectSubscriptionRequestResult & WithReviewerId(const Aws::String &value)
RejectSubscriptionRequestResult & WithDecisionComment(Aws::String &&value)
RejectSubscriptionRequestResult & WithReviewerId(const char *value)
void SetSubscribedPrincipals(const Aws::Vector< SubscribedPrincipal > &value)
void SetSubscribedPrincipals(Aws::Vector< SubscribedPrincipal > &&value)
const Aws::Vector< SubscribedListing > & GetSubscribedListings() const
void SetSubscribedListings(Aws::Vector< SubscribedListing > &&value)
RejectSubscriptionRequestResult & AddSubscribedListings(SubscribedListing &&value)
RejectSubscriptionRequestResult & WithReviewerId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue