AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetReceivedDataGrantResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dataexchange/DataExchange_EXPORTS.h>
10#include <aws/dataexchange/model/DataGrantAcceptanceState.h>
11#include <aws/dataexchange/model/GrantDistributionScope.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DataExchange {
25namespace Model {
27 public:
28 AWS_DATAEXCHANGE_API GetReceivedDataGrantResult() = default;
31
33
36 inline const Aws::String& GetName() const { return m_name; }
37 template <typename NameT = Aws::String>
38 void SetName(NameT&& value) {
39 m_nameHasBeenSet = true;
40 m_name = std::forward<NameT>(value);
41 }
42 template <typename NameT = Aws::String>
44 SetName(std::forward<NameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetSenderPrincipal() const { return m_senderPrincipal; }
54 template <typename SenderPrincipalT = Aws::String>
55 void SetSenderPrincipal(SenderPrincipalT&& value) {
56 m_senderPrincipalHasBeenSet = true;
57 m_senderPrincipal = std::forward<SenderPrincipalT>(value);
58 }
59 template <typename SenderPrincipalT = Aws::String>
61 SetSenderPrincipal(std::forward<SenderPrincipalT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetReceiverPrincipal() const { return m_receiverPrincipal; }
71 template <typename ReceiverPrincipalT = Aws::String>
72 void SetReceiverPrincipal(ReceiverPrincipalT&& value) {
73 m_receiverPrincipalHasBeenSet = true;
74 m_receiverPrincipal = std::forward<ReceiverPrincipalT>(value);
75 }
76 template <typename ReceiverPrincipalT = Aws::String>
78 SetReceiverPrincipal(std::forward<ReceiverPrincipalT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetDescription() const { return m_description; }
88 template <typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) {
90 m_descriptionHasBeenSet = true;
91 m_description = std::forward<DescriptionT>(value);
92 }
93 template <typename DescriptionT = Aws::String>
95 SetDescription(std::forward<DescriptionT>(value));
96 return *this;
97 }
99
101
104 inline DataGrantAcceptanceState GetAcceptanceState() const { return m_acceptanceState; }
106 m_acceptanceStateHasBeenSet = true;
107 m_acceptanceState = value;
108 }
110 SetAcceptanceState(value);
111 return *this;
112 }
114
116
119 inline const Aws::Utils::DateTime& GetAcceptedAt() const { return m_acceptedAt; }
120 template <typename AcceptedAtT = Aws::Utils::DateTime>
121 void SetAcceptedAt(AcceptedAtT&& value) {
122 m_acceptedAtHasBeenSet = true;
123 m_acceptedAt = std::forward<AcceptedAtT>(value);
124 }
125 template <typename AcceptedAtT = Aws::Utils::DateTime>
127 SetAcceptedAt(std::forward<AcceptedAtT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::Utils::DateTime& GetEndsAt() const { return m_endsAt; }
137 template <typename EndsAtT = Aws::Utils::DateTime>
138 void SetEndsAt(EndsAtT&& value) {
139 m_endsAtHasBeenSet = true;
140 m_endsAt = std::forward<EndsAtT>(value);
141 }
142 template <typename EndsAtT = Aws::Utils::DateTime>
144 SetEndsAt(std::forward<EndsAtT>(value));
145 return *this;
146 }
148
150
153 inline GrantDistributionScope GetGrantDistributionScope() const { return m_grantDistributionScope; }
155 m_grantDistributionScopeHasBeenSet = true;
156 m_grantDistributionScope = value;
157 }
160 return *this;
161 }
163
165
168 inline const Aws::String& GetDataSetId() const { return m_dataSetId; }
169 template <typename DataSetIdT = Aws::String>
170 void SetDataSetId(DataSetIdT&& value) {
171 m_dataSetIdHasBeenSet = true;
172 m_dataSetId = std::forward<DataSetIdT>(value);
173 }
174 template <typename DataSetIdT = Aws::String>
176 SetDataSetId(std::forward<DataSetIdT>(value));
177 return *this;
178 }
180
182
185 inline const Aws::String& GetId() const { return m_id; }
186 template <typename IdT = Aws::String>
187 void SetId(IdT&& value) {
188 m_idHasBeenSet = true;
189 m_id = std::forward<IdT>(value);
190 }
191 template <typename IdT = Aws::String>
193 SetId(std::forward<IdT>(value));
194 return *this;
195 }
197
199
202 inline const Aws::String& GetArn() const { return m_arn; }
203 template <typename ArnT = Aws::String>
204 void SetArn(ArnT&& value) {
205 m_arnHasBeenSet = true;
206 m_arn = std::forward<ArnT>(value);
207 }
208 template <typename ArnT = Aws::String>
210 SetArn(std::forward<ArnT>(value));
211 return *this;
212 }
214
216
219 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
220 template <typename CreatedAtT = Aws::Utils::DateTime>
221 void SetCreatedAt(CreatedAtT&& value) {
222 m_createdAtHasBeenSet = true;
223 m_createdAt = std::forward<CreatedAtT>(value);
224 }
225 template <typename CreatedAtT = Aws::Utils::DateTime>
227 SetCreatedAt(std::forward<CreatedAtT>(value));
228 return *this;
229 }
231
233
236 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
237 template <typename UpdatedAtT = Aws::Utils::DateTime>
238 void SetUpdatedAt(UpdatedAtT&& value) {
239 m_updatedAtHasBeenSet = true;
240 m_updatedAt = std::forward<UpdatedAtT>(value);
241 }
242 template <typename UpdatedAtT = Aws::Utils::DateTime>
244 SetUpdatedAt(std::forward<UpdatedAtT>(value));
245 return *this;
246 }
248
250
251 inline const Aws::String& GetRequestId() const { return m_requestId; }
252 template <typename RequestIdT = Aws::String>
253 void SetRequestId(RequestIdT&& value) {
254 m_requestIdHasBeenSet = true;
255 m_requestId = std::forward<RequestIdT>(value);
256 }
257 template <typename RequestIdT = Aws::String>
259 SetRequestId(std::forward<RequestIdT>(value));
260 return *this;
261 }
263 private:
264 Aws::String m_name;
265
266 Aws::String m_senderPrincipal;
267
268 Aws::String m_receiverPrincipal;
269
270 Aws::String m_description;
271
273
274 Aws::Utils::DateTime m_acceptedAt{};
275
276 Aws::Utils::DateTime m_endsAt{};
277
279
280 Aws::String m_dataSetId;
281
282 Aws::String m_id;
283
284 Aws::String m_arn;
285
286 Aws::Utils::DateTime m_createdAt{};
287
288 Aws::Utils::DateTime m_updatedAt{};
289
290 Aws::String m_requestId;
291 bool m_nameHasBeenSet = false;
292 bool m_senderPrincipalHasBeenSet = false;
293 bool m_receiverPrincipalHasBeenSet = false;
294 bool m_descriptionHasBeenSet = false;
295 bool m_acceptanceStateHasBeenSet = false;
296 bool m_acceptedAtHasBeenSet = false;
297 bool m_endsAtHasBeenSet = false;
298 bool m_grantDistributionScopeHasBeenSet = false;
299 bool m_dataSetIdHasBeenSet = false;
300 bool m_idHasBeenSet = false;
301 bool m_arnHasBeenSet = false;
302 bool m_createdAtHasBeenSet = false;
303 bool m_updatedAtHasBeenSet = false;
304 bool m_requestIdHasBeenSet = false;
305};
306
307} // namespace Model
308} // namespace DataExchange
309} // namespace Aws
GetReceivedDataGrantResult & WithDataSetId(DataSetIdT &&value)
GetReceivedDataGrantResult & WithDescription(DescriptionT &&value)
GetReceivedDataGrantResult & WithName(NameT &&value)
GetReceivedDataGrantResult & WithGrantDistributionScope(GrantDistributionScope value)
GetReceivedDataGrantResult & WithEndsAt(EndsAtT &&value)
AWS_DATAEXCHANGE_API GetReceivedDataGrantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAEXCHANGE_API GetReceivedDataGrantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetReceivedDataGrantResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_DATAEXCHANGE_API GetReceivedDataGrantResult()=default
GetReceivedDataGrantResult & WithCreatedAt(CreatedAtT &&value)
GetReceivedDataGrantResult & WithAcceptedAt(AcceptedAtT &&value)
GetReceivedDataGrantResult & WithSenderPrincipal(SenderPrincipalT &&value)
GetReceivedDataGrantResult & WithReceiverPrincipal(ReceiverPrincipalT &&value)
GetReceivedDataGrantResult & WithAcceptanceState(DataGrantAcceptanceState value)
GetReceivedDataGrantResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue