AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AcceptSubscriptionRequestResult.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 AcceptSubscriptionRequestResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
50
52
56 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
57 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
58 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
59 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
60 inline AcceptSubscriptionRequestResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
61 inline AcceptSubscriptionRequestResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
62 inline AcceptSubscriptionRequestResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
64
66
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 AcceptSubscriptionRequestResult& WithDecisionComment(Aws::String&& value) { SetDecisionComment(std::move(value)); return *this;}
75 inline AcceptSubscriptionRequestResult& 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 AcceptSubscriptionRequestResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
88 inline AcceptSubscriptionRequestResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
89 inline AcceptSubscriptionRequestResult& 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 AcceptSubscriptionRequestResult& WithId(const Aws::String& value) { SetId(value); return *this;}
101 inline AcceptSubscriptionRequestResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
102 inline AcceptSubscriptionRequestResult& 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 AcceptSubscriptionRequestResult& WithRequestReason(Aws::String&& value) { SetRequestReason(std::move(value)); return *this;}
115 inline AcceptSubscriptionRequestResult& 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 AcceptSubscriptionRequestResult& WithReviewerId(const Aws::String& value) { SetReviewerId(value); return *this;}
128 inline AcceptSubscriptionRequestResult& WithReviewerId(Aws::String&& value) { SetReviewerId(std::move(value)); return *this;}
129 inline AcceptSubscriptionRequestResult& 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 AcceptSubscriptionRequestResult& 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 AcceptSubscriptionRequestResult& AddSubscribedListings(const SubscribedListing& value) { m_subscribedListings.push_back(value); return *this; }
153 inline AcceptSubscriptionRequestResult& AddSubscribedListings(SubscribedListing&& value) { m_subscribedListings.push_back(std::move(value)); return *this; }
155
157
161 inline const Aws::Vector<SubscribedPrincipal>& GetSubscribedPrincipals() const{ return m_subscribedPrincipals; }
162 inline void SetSubscribedPrincipals(const Aws::Vector<SubscribedPrincipal>& value) { m_subscribedPrincipals = value; }
163 inline void SetSubscribedPrincipals(Aws::Vector<SubscribedPrincipal>&& value) { m_subscribedPrincipals = std::move(value); }
166 inline AcceptSubscriptionRequestResult& AddSubscribedPrincipals(const SubscribedPrincipal& value) { m_subscribedPrincipals.push_back(value); return *this; }
167 inline AcceptSubscriptionRequestResult& AddSubscribedPrincipals(SubscribedPrincipal&& value) { m_subscribedPrincipals.push_back(std::move(value)); return *this; }
169
171
174 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
175 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
176 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
178 inline AcceptSubscriptionRequestResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
180
182
185 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
186 inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; }
187 inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); }
188 inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); }
189 inline AcceptSubscriptionRequestResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
190 inline AcceptSubscriptionRequestResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
191 inline AcceptSubscriptionRequestResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
193
195
196 inline const Aws::String& GetRequestId() const{ return m_requestId; }
197 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
198 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
199 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
200 inline AcceptSubscriptionRequestResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
201 inline AcceptSubscriptionRequestResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
202 inline AcceptSubscriptionRequestResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
204 private:
205
206 Aws::Utils::DateTime m_createdAt;
207
208 Aws::String m_createdBy;
209
210 Aws::String m_decisionComment;
211
212 Aws::String m_domainId;
213
214 Aws::String m_id;
215
216 Aws::String m_requestReason;
217
218 Aws::String m_reviewerId;
219
221
222 Aws::Vector<SubscribedListing> m_subscribedListings;
223
224 Aws::Vector<SubscribedPrincipal> m_subscribedPrincipals;
225
226 Aws::Utils::DateTime m_updatedAt;
227
228 Aws::String m_updatedBy;
229
230 Aws::String m_requestId;
231 };
232
233} // namespace Model
234} // namespace DataZone
235} // namespace Aws
void SetSubscribedListings(Aws::Vector< SubscribedListing > &&value)
void SetSubscribedListings(const Aws::Vector< SubscribedListing > &value)
AcceptSubscriptionRequestResult & WithRequestId(const char *value)
AcceptSubscriptionRequestResult & WithId(Aws::String &&value)
AcceptSubscriptionRequestResult & WithDecisionComment(const char *value)
AcceptSubscriptionRequestResult & AddSubscribedPrincipals(SubscribedPrincipal &&value)
AcceptSubscriptionRequestResult & WithCreatedBy(const Aws::String &value)
AcceptSubscriptionRequestResult & WithRequestReason(Aws::String &&value)
AcceptSubscriptionRequestResult & WithDomainId(Aws::String &&value)
AcceptSubscriptionRequestResult & WithId(const Aws::String &value)
AcceptSubscriptionRequestResult & WithRequestId(const Aws::String &value)
AcceptSubscriptionRequestResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Vector< SubscribedListing > & GetSubscribedListings() const
AcceptSubscriptionRequestResult & WithUpdatedBy(const Aws::String &value)
AcceptSubscriptionRequestResult & WithUpdatedBy(const char *value)
AcceptSubscriptionRequestResult & WithDecisionComment(const Aws::String &value)
AcceptSubscriptionRequestResult & WithCreatedBy(const char *value)
AcceptSubscriptionRequestResult & WithReviewerId(const Aws::String &value)
AcceptSubscriptionRequestResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
AcceptSubscriptionRequestResult & WithRequestReason(const Aws::String &value)
AcceptSubscriptionRequestResult & WithCreatedBy(Aws::String &&value)
AcceptSubscriptionRequestResult & WithCreatedAt(Aws::Utils::DateTime &&value)
AcceptSubscriptionRequestResult & WithSubscribedListings(const Aws::Vector< SubscribedListing > &value)
void SetSubscribedPrincipals(const Aws::Vector< SubscribedPrincipal > &value)
AcceptSubscriptionRequestResult & WithDomainId(const Aws::String &value)
const Aws::Vector< SubscribedPrincipal > & GetSubscribedPrincipals() const
AcceptSubscriptionRequestResult & WithReviewerId(Aws::String &&value)
AcceptSubscriptionRequestResult & WithDecisionComment(Aws::String &&value)
AcceptSubscriptionRequestResult & AddSubscribedListings(const SubscribedListing &value)
AcceptSubscriptionRequestResult & WithReviewerId(const char *value)
AWS_DATAZONE_API AcceptSubscriptionRequestResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AcceptSubscriptionRequestResult & AddSubscribedPrincipals(const SubscribedPrincipal &value)
AcceptSubscriptionRequestResult & WithCreatedAt(const Aws::Utils::DateTime &value)
AcceptSubscriptionRequestResult & AddSubscribedListings(SubscribedListing &&value)
AcceptSubscriptionRequestResult & WithDomainId(const char *value)
AWS_DATAZONE_API AcceptSubscriptionRequestResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AcceptSubscriptionRequestResult & WithId(const char *value)
AcceptSubscriptionRequestResult & WithRequestId(Aws::String &&value)
AcceptSubscriptionRequestResult & WithRequestReason(const char *value)
void SetSubscribedPrincipals(Aws::Vector< SubscribedPrincipal > &&value)
AcceptSubscriptionRequestResult & WithStatus(SubscriptionRequestStatus &&value)
AcceptSubscriptionRequestResult & WithSubscribedPrincipals(Aws::Vector< SubscribedPrincipal > &&value)
AcceptSubscriptionRequestResult & WithSubscribedListings(Aws::Vector< SubscribedListing > &&value)
AcceptSubscriptionRequestResult & WithUpdatedBy(Aws::String &&value)
AcceptSubscriptionRequestResult & WithStatus(const SubscriptionRequestStatus &value)
AcceptSubscriptionRequestResult & WithSubscribedPrincipals(const Aws::Vector< SubscribedPrincipal > &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