7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dataexchange/model/DataGrantAcceptanceState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/dataexchange/model/GrantDistributionScope.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename NameT = Aws::String>
44 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
45 template<
typename NameT = Aws::String>
54 template<
typename SenderPrincipalT = Aws::String>
55 void SetSenderPrincipal(SenderPrincipalT&& value) { m_senderPrincipalHasBeenSet =
true; m_senderPrincipal = std::forward<SenderPrincipalT>(value); }
56 template<
typename SenderPrincipalT = Aws::String>
65 template<
typename ReceiverPrincipalT = Aws::String>
66 void SetReceiverPrincipal(ReceiverPrincipalT&& value) { m_receiverPrincipalHasBeenSet =
true; m_receiverPrincipal = std::forward<ReceiverPrincipalT>(value); }
67 template<
typename ReceiverPrincipalT = Aws::String>
76 template<
typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
78 template<
typename DescriptionT = Aws::String>
96 template<
typename AcceptedAtT = Aws::Utils::DateTime>
97 void SetAcceptedAt(AcceptedAtT&& value) { m_acceptedAtHasBeenSet =
true; m_acceptedAt = std::forward<AcceptedAtT>(value); }
98 template<
typename AcceptedAtT = Aws::Utils::DateTime>
107 template<
typename EndsAtT = Aws::Utils::DateTime>
108 void SetEndsAt(EndsAtT&& value) { m_endsAtHasBeenSet =
true; m_endsAt = std::forward<EndsAtT>(value); }
109 template<
typename EndsAtT = Aws::Utils::DateTime>
127 template<
typename DataSetIdT = Aws::String>
128 void SetDataSetId(DataSetIdT&& value) { m_dataSetIdHasBeenSet =
true; m_dataSetId = std::forward<DataSetIdT>(value); }
129 template<
typename DataSetIdT = Aws::String>
138 template<
typename IdT = Aws::String>
139 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
140 template<
typename IdT = Aws::String>
149 template<
typename ArnT = Aws::String>
150 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
151 template<
typename ArnT = Aws::String>
160 template<
typename CreatedAtT = Aws::Utils::DateTime>
161 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
162 template<
typename CreatedAtT = Aws::Utils::DateTime>
171 template<
typename UpdatedAtT = Aws::Utils::DateTime>
172 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
173 template<
typename UpdatedAtT = Aws::Utils::DateTime>
180 template<
typename RequestIdT = Aws::String>
181 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
182 template<
typename RequestIdT = Aws::String>
188 bool m_nameHasBeenSet =
false;
191 bool m_senderPrincipalHasBeenSet =
false;
194 bool m_receiverPrincipalHasBeenSet =
false;
197 bool m_descriptionHasBeenSet =
false;
200 bool m_acceptanceStateHasBeenSet =
false;
203 bool m_acceptedAtHasBeenSet =
false;
206 bool m_endsAtHasBeenSet =
false;
209 bool m_grantDistributionScopeHasBeenSet =
false;
212 bool m_dataSetIdHasBeenSet =
false;
215 bool m_idHasBeenSet =
false;
218 bool m_arnHasBeenSet =
false;
221 bool m_createdAtHasBeenSet =
false;
224 bool m_updatedAtHasBeenSet =
false;
227 bool m_requestIdHasBeenSet =
false;
void SetArn(ArnT &&value)
const Aws::Utils::DateTime & GetEndsAt() const
AcceptDataGrantResult & WithId(IdT &&value)
AcceptDataGrantResult & WithDescription(DescriptionT &&value)
AcceptDataGrantResult & WithAcceptedAt(AcceptedAtT &&value)
AcceptDataGrantResult & WithCreatedAt(CreatedAtT &&value)
void SetAcceptedAt(AcceptedAtT &&value)
AcceptDataGrantResult & WithArn(ArnT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetReceiverPrincipal() const
void SetEndsAt(EndsAtT &&value)
void SetReceiverPrincipal(ReceiverPrincipalT &&value)
void SetName(NameT &&value)
AcceptDataGrantResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetArn() const
void SetRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetAcceptedAt() const
const Aws::String & GetName() const
void SetGrantDistributionScope(GrantDistributionScope value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AcceptDataGrantResult & WithRequestId(RequestIdT &&value)
AWS_DATAEXCHANGE_API AcceptDataGrantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetDataSetId() const
void SetUpdatedAt(UpdatedAtT &&value)
AcceptDataGrantResult & WithReceiverPrincipal(ReceiverPrincipalT &&value)
void SetSenderPrincipal(SenderPrincipalT &&value)
AcceptDataGrantResult & WithSenderPrincipal(SenderPrincipalT &&value)
AWS_DATAEXCHANGE_API AcceptDataGrantResult()=default
AcceptDataGrantResult & WithGrantDistributionScope(GrantDistributionScope value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetId() const
AWS_DATAEXCHANGE_API AcceptDataGrantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetDescription() const
AcceptDataGrantResult & WithAcceptanceState(DataGrantAcceptanceState value)
GrantDistributionScope GetGrantDistributionScope() const
AcceptDataGrantResult & WithName(NameT &&value)
AcceptDataGrantResult & WithEndsAt(EndsAtT &&value)
void SetAcceptanceState(DataGrantAcceptanceState value)
void SetDataSetId(DataSetIdT &&value)
DataGrantAcceptanceState GetAcceptanceState() const
AcceptDataGrantResult & WithDataSetId(DataSetIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetSenderPrincipal() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue