AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSubscriptionRequestResult.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 UpdateSubscriptionRequestResult& 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 UpdateSubscriptionRequestResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
60 inline UpdateSubscriptionRequestResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
61 inline UpdateSubscriptionRequestResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
63
65
69 inline const Aws::String& GetDecisionComment() const{ return m_decisionComment; }
70 inline void SetDecisionComment(const Aws::String& value) { m_decisionComment = value; }
71 inline void SetDecisionComment(Aws::String&& value) { m_decisionComment = std::move(value); }
72 inline void SetDecisionComment(const char* value) { m_decisionComment.assign(value); }
74 inline UpdateSubscriptionRequestResult& WithDecisionComment(Aws::String&& value) { SetDecisionComment(std::move(value)); return *this;}
75 inline UpdateSubscriptionRequestResult& WithDecisionComment(const char* value) { SetDecisionComment(value); return *this;}
77
79
83 inline const Aws::String& GetDomainId() const{ return m_domainId; }
84 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
85 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
86 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
87 inline UpdateSubscriptionRequestResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
88 inline UpdateSubscriptionRequestResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
89 inline UpdateSubscriptionRequestResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
91
93
96 inline const Aws::String& GetId() const{ return m_id; }
97 inline void SetId(const Aws::String& value) { m_id = value; }
98 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
99 inline void SetId(const char* value) { m_id.assign(value); }
100 inline UpdateSubscriptionRequestResult& WithId(const Aws::String& value) { SetId(value); return *this;}
101 inline UpdateSubscriptionRequestResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
102 inline UpdateSubscriptionRequestResult& WithId(const char* value) { SetId(value); return *this;}
104
106
109 inline const Aws::String& GetRequestReason() const{ return m_requestReason; }
110 inline void SetRequestReason(const Aws::String& value) { m_requestReason = value; }
111 inline void SetRequestReason(Aws::String&& value) { m_requestReason = std::move(value); }
112 inline void SetRequestReason(const char* value) { m_requestReason.assign(value); }
114 inline UpdateSubscriptionRequestResult& WithRequestReason(Aws::String&& value) { SetRequestReason(std::move(value)); return *this;}
115 inline UpdateSubscriptionRequestResult& WithRequestReason(const char* value) { SetRequestReason(value); return *this;}
117
119
123 inline const Aws::String& GetReviewerId() const{ return m_reviewerId; }
124 inline void SetReviewerId(const Aws::String& value) { m_reviewerId = value; }
125 inline void SetReviewerId(Aws::String&& value) { m_reviewerId = std::move(value); }
126 inline void SetReviewerId(const char* value) { m_reviewerId.assign(value); }
127 inline UpdateSubscriptionRequestResult& WithReviewerId(const Aws::String& value) { SetReviewerId(value); return *this;}
128 inline UpdateSubscriptionRequestResult& WithReviewerId(Aws::String&& value) { SetReviewerId(std::move(value)); return *this;}
129 inline UpdateSubscriptionRequestResult& WithReviewerId(const char* value) { SetReviewerId(value); return *this;}
131
133
136 inline const SubscriptionRequestStatus& GetStatus() const{ return m_status; }
137 inline void SetStatus(const SubscriptionRequestStatus& value) { m_status = value; }
138 inline void SetStatus(SubscriptionRequestStatus&& value) { m_status = std::move(value); }
140 inline UpdateSubscriptionRequestResult& WithStatus(SubscriptionRequestStatus&& value) { SetStatus(std::move(value)); return *this;}
142
144
147 inline const Aws::Vector<SubscribedListing>& GetSubscribedListings() const{ return m_subscribedListings; }
148 inline void SetSubscribedListings(const Aws::Vector<SubscribedListing>& value) { m_subscribedListings = value; }
149 inline void SetSubscribedListings(Aws::Vector<SubscribedListing>&& value) { m_subscribedListings = std::move(value); }
152 inline UpdateSubscriptionRequestResult& AddSubscribedListings(const SubscribedListing& value) { m_subscribedListings.push_back(value); return *this; }
153 inline UpdateSubscriptionRequestResult& AddSubscribedListings(SubscribedListing&& value) { m_subscribedListings.push_back(std::move(value)); return *this; }
155
157
160 inline const Aws::Vector<SubscribedPrincipal>& GetSubscribedPrincipals() const{ return m_subscribedPrincipals; }
161 inline void SetSubscribedPrincipals(const Aws::Vector<SubscribedPrincipal>& value) { m_subscribedPrincipals = value; }
162 inline void SetSubscribedPrincipals(Aws::Vector<SubscribedPrincipal>&& value) { m_subscribedPrincipals = std::move(value); }
165 inline UpdateSubscriptionRequestResult& AddSubscribedPrincipals(const SubscribedPrincipal& value) { m_subscribedPrincipals.push_back(value); return *this; }
166 inline UpdateSubscriptionRequestResult& AddSubscribedPrincipals(SubscribedPrincipal&& value) { m_subscribedPrincipals.push_back(std::move(value)); return *this; }
168
170
173 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
174 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
175 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
177 inline UpdateSubscriptionRequestResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
179
181
184 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
185 inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; }
186 inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); }
187 inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); }
188 inline UpdateSubscriptionRequestResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
189 inline UpdateSubscriptionRequestResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
190 inline UpdateSubscriptionRequestResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
192
194
195 inline const Aws::String& GetRequestId() const{ return m_requestId; }
196 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
197 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
198 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
199 inline UpdateSubscriptionRequestResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
200 inline UpdateSubscriptionRequestResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
201 inline UpdateSubscriptionRequestResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
203 private:
204
205 Aws::Utils::DateTime m_createdAt;
206
207 Aws::String m_createdBy;
208
209 Aws::String m_decisionComment;
210
211 Aws::String m_domainId;
212
213 Aws::String m_id;
214
215 Aws::String m_requestReason;
216
217 Aws::String m_reviewerId;
218
220
221 Aws::Vector<SubscribedListing> m_subscribedListings;
222
223 Aws::Vector<SubscribedPrincipal> m_subscribedPrincipals;
224
225 Aws::Utils::DateTime m_updatedAt;
226
227 Aws::String m_updatedBy;
228
229 Aws::String m_requestId;
230 };
231
232} // namespace Model
233} // namespace DataZone
234} // namespace Aws
UpdateSubscriptionRequestResult & WithSubscribedPrincipals(Aws::Vector< SubscribedPrincipal > &&value)
UpdateSubscriptionRequestResult & WithCreatedBy(Aws::String &&value)
UpdateSubscriptionRequestResult & WithDomainId(const char *value)
void SetSubscribedListings(const Aws::Vector< SubscribedListing > &value)
AWS_DATAZONE_API UpdateSubscriptionRequestResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSubscriptionRequestResult & AddSubscribedListings(const SubscribedListing &value)
UpdateSubscriptionRequestResult & WithRequestReason(const char *value)
UpdateSubscriptionRequestResult & WithRequestId(Aws::String &&value)
UpdateSubscriptionRequestResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetSubscribedListings(Aws::Vector< SubscribedListing > &&value)
UpdateSubscriptionRequestResult & WithReviewerId(const char *value)
UpdateSubscriptionRequestResult & WithDecisionComment(Aws::String &&value)
const Aws::Vector< SubscribedListing > & GetSubscribedListings() const
UpdateSubscriptionRequestResult & WithCreatedAt(const Aws::Utils::DateTime &value)
UpdateSubscriptionRequestResult & WithReviewerId(const Aws::String &value)
UpdateSubscriptionRequestResult & WithDecisionComment(const char *value)
const Aws::Vector< SubscribedPrincipal > & GetSubscribedPrincipals() const
UpdateSubscriptionRequestResult & WithDomainId(const Aws::String &value)
UpdateSubscriptionRequestResult & WithUpdatedBy(Aws::String &&value)
UpdateSubscriptionRequestResult & WithDecisionComment(const Aws::String &value)
UpdateSubscriptionRequestResult & WithRequestId(const char *value)
UpdateSubscriptionRequestResult & WithSubscribedPrincipals(const Aws::Vector< SubscribedPrincipal > &value)
UpdateSubscriptionRequestResult & WithId(const char *value)
UpdateSubscriptionRequestResult & WithDomainId(Aws::String &&value)
UpdateSubscriptionRequestResult & WithSubscribedListings(const Aws::Vector< SubscribedListing > &value)
UpdateSubscriptionRequestResult & WithUpdatedBy(const char *value)
UpdateSubscriptionRequestResult & WithId(Aws::String &&value)
UpdateSubscriptionRequestResult & WithCreatedBy(const char *value)
UpdateSubscriptionRequestResult & AddSubscribedPrincipals(SubscribedPrincipal &&value)
UpdateSubscriptionRequestResult & AddSubscribedListings(SubscribedListing &&value)
UpdateSubscriptionRequestResult & WithReviewerId(Aws::String &&value)
void SetSubscribedPrincipals(const Aws::Vector< SubscribedPrincipal > &value)
UpdateSubscriptionRequestResult & WithRequestId(const Aws::String &value)
UpdateSubscriptionRequestResult & AddSubscribedPrincipals(const SubscribedPrincipal &value)
AWS_DATAZONE_API UpdateSubscriptionRequestResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSubscriptionRequestResult & WithId(const Aws::String &value)
UpdateSubscriptionRequestResult & WithStatus(SubscriptionRequestStatus &&value)
UpdateSubscriptionRequestResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
UpdateSubscriptionRequestResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetSubscribedPrincipals(Aws::Vector< SubscribedPrincipal > &&value)
UpdateSubscriptionRequestResult & WithUpdatedBy(const Aws::String &value)
UpdateSubscriptionRequestResult & WithRequestReason(const Aws::String &value)
UpdateSubscriptionRequestResult & WithStatus(const SubscriptionRequestStatus &value)
UpdateSubscriptionRequestResult & WithRequestReason(Aws::String &&value)
UpdateSubscriptionRequestResult & WithSubscribedListings(Aws::Vector< SubscribedListing > &&value)
UpdateSubscriptionRequestResult & WithCreatedBy(const 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