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>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace DataExchange {
37 template <
typename NameT = Aws::String>
39 m_nameHasBeenSet =
true;
40 m_name = std::forward<NameT>(value);
42 template <
typename NameT = Aws::String>
44 SetName(std::forward<NameT>(value));
54 template <
typename SenderPrincipalT = Aws::String>
56 m_senderPrincipalHasBeenSet =
true;
57 m_senderPrincipal = std::forward<SenderPrincipalT>(value);
59 template <
typename SenderPrincipalT = Aws::String>
71 template <
typename ReceiverPrincipalT = Aws::String>
73 m_receiverPrincipalHasBeenSet =
true;
74 m_receiverPrincipal = std::forward<ReceiverPrincipalT>(value);
76 template <
typename ReceiverPrincipalT = Aws::String>
88 template <
typename DescriptionT = Aws::String>
90 m_descriptionHasBeenSet =
true;
91 m_description = std::forward<DescriptionT>(value);
93 template <
typename DescriptionT = Aws::String>
106 m_acceptanceStateHasBeenSet =
true;
107 m_acceptanceState = value;
120 template <
typename AcceptedAtT = Aws::Utils::DateTime>
122 m_acceptedAtHasBeenSet =
true;
123 m_acceptedAt = std::forward<AcceptedAtT>(value);
125 template <
typename AcceptedAtT = Aws::Utils::DateTime>
137 template <
typename EndsAtT = Aws::Utils::DateTime>
139 m_endsAtHasBeenSet =
true;
140 m_endsAt = std::forward<EndsAtT>(value);
142 template <
typename EndsAtT = Aws::Utils::DateTime>
155 m_grantDistributionScopeHasBeenSet =
true;
156 m_grantDistributionScope = value;
169 template <
typename DataSetIdT = Aws::String>
171 m_dataSetIdHasBeenSet =
true;
172 m_dataSetId = std::forward<DataSetIdT>(value);
174 template <
typename DataSetIdT = Aws::String>
186 template <
typename IdT = Aws::String>
188 m_idHasBeenSet =
true;
189 m_id = std::forward<IdT>(value);
191 template <
typename IdT = Aws::String>
193 SetId(std::forward<IdT>(value));
203 template <
typename ArnT = Aws::String>
205 m_arnHasBeenSet =
true;
206 m_arn = std::forward<ArnT>(value);
208 template <
typename ArnT = Aws::String>
210 SetArn(std::forward<ArnT>(value));
220 template <
typename CreatedAtT = Aws::Utils::DateTime>
222 m_createdAtHasBeenSet =
true;
223 m_createdAt = std::forward<CreatedAtT>(value);
225 template <
typename CreatedAtT = Aws::Utils::DateTime>
237 template <
typename UpdatedAtT = Aws::Utils::DateTime>
239 m_updatedAtHasBeenSet =
true;
240 m_updatedAt = std::forward<UpdatedAtT>(value);
242 template <
typename UpdatedAtT = Aws::Utils::DateTime>
252 template <
typename RequestIdT = Aws::String>
254 m_requestIdHasBeenSet =
true;
255 m_requestId = std::forward<RequestIdT>(value);
257 template <
typename RequestIdT = Aws::String>
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;
void SetAcceptedAt(AcceptedAtT &&value)
GetReceivedDataGrantResult & WithDataSetId(DataSetIdT &&value)
void SetRequestId(RequestIdT &&value)
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