7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dataexchange/DataExchange_EXPORTS.h>
11#include <aws/dataexchange/model/DataGrantAcceptanceState.h>
12#include <aws/dataexchange/model/GrantDistributionScope.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace DataExchange {
38 template <
typename NameT = Aws::String>
40 m_nameHasBeenSet =
true;
41 m_name = std::forward<NameT>(value);
43 template <
typename NameT = Aws::String>
45 SetName(std::forward<NameT>(value));
55 template <
typename SenderPrincipalT = Aws::String>
57 m_senderPrincipalHasBeenSet =
true;
58 m_senderPrincipal = std::forward<SenderPrincipalT>(value);
60 template <
typename SenderPrincipalT = Aws::String>
72 template <
typename ReceiverPrincipalT = Aws::String>
74 m_receiverPrincipalHasBeenSet =
true;
75 m_receiverPrincipal = std::forward<ReceiverPrincipalT>(value);
77 template <
typename ReceiverPrincipalT = Aws::String>
89 template <
typename DescriptionT = Aws::String>
91 m_descriptionHasBeenSet =
true;
92 m_description = std::forward<DescriptionT>(value);
94 template <
typename DescriptionT = Aws::String>
107 m_acceptanceStateHasBeenSet =
true;
108 m_acceptanceState = value;
121 template <
typename AcceptedAtT = Aws::Utils::DateTime>
123 m_acceptedAtHasBeenSet =
true;
124 m_acceptedAt = std::forward<AcceptedAtT>(value);
126 template <
typename AcceptedAtT = Aws::Utils::DateTime>
138 template <
typename EndsAtT = Aws::Utils::DateTime>
140 m_endsAtHasBeenSet =
true;
141 m_endsAt = std::forward<EndsAtT>(value);
143 template <
typename EndsAtT = Aws::Utils::DateTime>
156 m_grantDistributionScopeHasBeenSet =
true;
157 m_grantDistributionScope = value;
170 template <
typename DataSetIdT = Aws::String>
172 m_dataSetIdHasBeenSet =
true;
173 m_dataSetId = std::forward<DataSetIdT>(value);
175 template <
typename DataSetIdT = Aws::String>
187 template <
typename IdT = Aws::String>
189 m_idHasBeenSet =
true;
190 m_id = std::forward<IdT>(value);
192 template <
typename IdT = Aws::String>
194 SetId(std::forward<IdT>(value));
204 template <
typename ArnT = Aws::String>
206 m_arnHasBeenSet =
true;
207 m_arn = std::forward<ArnT>(value);
209 template <
typename ArnT = Aws::String>
211 SetArn(std::forward<ArnT>(value));
221 template <
typename CreatedAtT = Aws::Utils::DateTime>
223 m_createdAtHasBeenSet =
true;
224 m_createdAt = std::forward<CreatedAtT>(value);
226 template <
typename CreatedAtT = Aws::Utils::DateTime>
238 template <
typename UpdatedAtT = Aws::Utils::DateTime>
240 m_updatedAtHasBeenSet =
true;
241 m_updatedAt = std::forward<UpdatedAtT>(value);
243 template <
typename UpdatedAtT = Aws::Utils::DateTime>
253 template <
typename RequestIdT = Aws::String>
255 m_requestIdHasBeenSet =
true;
256 m_requestId = std::forward<RequestIdT>(value);
258 template <
typename RequestIdT = Aws::String>
295 bool m_nameHasBeenSet =
false;
296 bool m_senderPrincipalHasBeenSet =
false;
297 bool m_receiverPrincipalHasBeenSet =
false;
298 bool m_descriptionHasBeenSet =
false;
299 bool m_acceptanceStateHasBeenSet =
false;
300 bool m_acceptedAtHasBeenSet =
false;
301 bool m_endsAtHasBeenSet =
false;
302 bool m_grantDistributionScopeHasBeenSet =
false;
303 bool m_dataSetIdHasBeenSet =
false;
304 bool m_idHasBeenSet =
false;
305 bool m_arnHasBeenSet =
false;
306 bool m_createdAtHasBeenSet =
false;
307 bool m_updatedAtHasBeenSet =
false;
308 bool m_requestIdHasBeenSet =
false;
void SetAcceptedAt(AcceptedAtT &&value)
GetReceivedDataGrantResult & WithDataSetId(DataSetIdT &&value)
void SetRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetCreatedAt(CreatedAtT &&value)
GetReceivedDataGrantResult & WithDescription(DescriptionT &&value)
GetReceivedDataGrantResult & WithName(NameT &&value)
GetReceivedDataGrantResult & WithGrantDistributionScope(GrantDistributionScope value)
DataGrantAcceptanceState GetAcceptanceState() const
const Aws::Utils::DateTime & GetEndsAt() const
GrantDistributionScope GetGrantDistributionScope() const
void SetDataSetId(DataSetIdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetReceiverPrincipal() const
void SetAcceptanceState(DataGrantAcceptanceState value)
void SetSenderPrincipal(SenderPrincipalT &&value)
GetReceivedDataGrantResult & WithEndsAt(EndsAtT &&value)
const Aws::String & GetId() const
AWS_DATAEXCHANGE_API GetReceivedDataGrantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetName(NameT &&value)
GetReceivedDataGrantResult & WithArn(ArnT &&value)
GetReceivedDataGrantResult & WithId(IdT &&value)
const Aws::Utils::DateTime & GetAcceptedAt() const
AWS_DATAEXCHANGE_API GetReceivedDataGrantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetReceivedDataGrantResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetDataSetId() const
void SetReceiverPrincipal(ReceiverPrincipalT &&value)
AWS_DATAEXCHANGE_API GetReceivedDataGrantResult()=default
void SetArn(ArnT &&value)
const Aws::String & GetDescription() const
GetReceivedDataGrantResult & WithCreatedAt(CreatedAtT &&value)
void SetGrantDistributionScope(GrantDistributionScope value)
GetReceivedDataGrantResult & WithAcceptedAt(AcceptedAtT &&value)
GetReceivedDataGrantResult & WithSenderPrincipal(SenderPrincipalT &&value)
const Aws::String & GetSenderPrincipal() const
GetReceivedDataGrantResult & WithReceiverPrincipal(ReceiverPrincipalT &&value)
const Aws::String & GetArn() const
GetReceivedDataGrantResult & WithAcceptanceState(DataGrantAcceptanceState value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetReceivedDataGrantResult & WithRequestId(RequestIdT &&value)
void SetEndsAt(EndsAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue