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>
21namespace DataExchange {
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
60 template <
typename SenderPrincipalT = Aws::String>
62 m_senderPrincipalHasBeenSet =
true;
63 m_senderPrincipal = std::forward<SenderPrincipalT>(value);
65 template <
typename SenderPrincipalT = Aws::String>
78 template <
typename ReceiverPrincipalT = Aws::String>
80 m_receiverPrincipalHasBeenSet =
true;
81 m_receiverPrincipal = std::forward<ReceiverPrincipalT>(value);
83 template <
typename ReceiverPrincipalT = Aws::String>
97 m_acceptanceStateHasBeenSet =
true;
98 m_acceptanceState = value;
112 template <
typename AcceptedAtT = Aws::Utils::DateTime>
114 m_acceptedAtHasBeenSet =
true;
115 m_acceptedAt = std::forward<AcceptedAtT>(value);
117 template <
typename AcceptedAtT = Aws::Utils::DateTime>
130 template <
typename EndsAtT = Aws::Utils::DateTime>
132 m_endsAtHasBeenSet =
true;
133 m_endsAt = std::forward<EndsAtT>(value);
135 template <
typename EndsAtT = Aws::Utils::DateTime>
148 template <
typename DataSetIdT = Aws::String>
150 m_dataSetIdHasBeenSet =
true;
151 m_dataSetId = std::forward<DataSetIdT>(value);
153 template <
typename DataSetIdT = Aws::String>
166 template <
typename SourceDataSetIdT = Aws::String>
168 m_sourceDataSetIdHasBeenSet =
true;
169 m_sourceDataSetId = std::forward<SourceDataSetIdT>(value);
171 template <
typename SourceDataSetIdT = Aws::String>
184 template <
typename IdT = Aws::String>
186 m_idHasBeenSet =
true;
187 m_id = std::forward<IdT>(value);
189 template <
typename IdT = Aws::String>
191 SetId(std::forward<IdT>(value));
202 template <
typename ArnT = Aws::String>
204 m_arnHasBeenSet =
true;
205 m_arn = std::forward<ArnT>(value);
207 template <
typename ArnT = Aws::String>
209 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>
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>
273 bool m_nameHasBeenSet =
false;
274 bool m_senderPrincipalHasBeenSet =
false;
275 bool m_receiverPrincipalHasBeenSet =
false;
276 bool m_acceptanceStateHasBeenSet =
false;
277 bool m_acceptedAtHasBeenSet =
false;
278 bool m_endsAtHasBeenSet =
false;
279 bool m_dataSetIdHasBeenSet =
false;
280 bool m_sourceDataSetIdHasBeenSet =
false;
281 bool m_idHasBeenSet =
false;
282 bool m_arnHasBeenSet =
false;
283 bool m_createdAtHasBeenSet =
false;
284 bool m_updatedAtHasBeenSet =
false;
DataGrantSummaryEntry & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetReceiverPrincipal() const
bool SourceDataSetIdHasBeenSet() const
AWS_DATAEXCHANGE_API DataGrantSummaryEntry()=default
void SetName(NameT &&value)
DataGrantSummaryEntry & WithAcceptedAt(AcceptedAtT &&value)
DataGrantSummaryEntry & WithDataSetId(DataSetIdT &&value)
const Aws::String & GetName() const
bool EndsAtHasBeenSet() const
DataGrantSummaryEntry & WithEndsAt(EndsAtT &&value)
void SetReceiverPrincipal(ReceiverPrincipalT &&value)
void SetSenderPrincipal(SenderPrincipalT &&value)
DataGrantSummaryEntry & WithCreatedAt(CreatedAtT &&value)
void SetSourceDataSetId(SourceDataSetIdT &&value)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSourceDataSetId() const
void SetUpdatedAt(UpdatedAtT &&value)
bool SenderPrincipalHasBeenSet() const
const Aws::Utils::DateTime & GetEndsAt() const
bool ReceiverPrincipalHasBeenSet() const
bool ArnHasBeenSet() const
DataGrantSummaryEntry & WithSourceDataSetId(SourceDataSetIdT &&value)
void SetDataSetId(DataSetIdT &&value)
DataGrantSummaryEntry & WithReceiverPrincipal(ReceiverPrincipalT &&value)
void SetCreatedAt(CreatedAtT &&value)
DataGrantSummaryEntry & WithSenderPrincipal(SenderPrincipalT &&value)
void SetEndsAt(EndsAtT &&value)
AWS_DATAEXCHANGE_API DataGrantSummaryEntry(Aws::Utils::Json::JsonView jsonValue)
bool AcceptedAtHasBeenSet() const
bool IdHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
DataGrantSummaryEntry & WithArn(ArnT &&value)
const Aws::String & GetSenderPrincipal() const
bool CreatedAtHasBeenSet() const
DataGrantSummaryEntry & WithName(NameT &&value)
const Aws::String & GetDataSetId() const
bool AcceptanceStateHasBeenSet() const
DataGrantAcceptanceState GetAcceptanceState() const
AWS_DATAEXCHANGE_API DataGrantSummaryEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool UpdatedAtHasBeenSet() const
const Aws::String & GetArn() const
void SetAcceptedAt(AcceptedAtT &&value)
bool DataSetIdHasBeenSet() const
bool NameHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetArn(ArnT &&value)
DataGrantSummaryEntry & WithId(IdT &&value)
DataGrantSummaryEntry & WithAcceptanceState(DataGrantAcceptanceState value)
const Aws::String & GetId() const
void SetAcceptanceState(DataGrantAcceptanceState value)
const Aws::Utils::DateTime & GetAcceptedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue