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>
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
60 template<
typename SenderPrincipalT = Aws::String>
61 void SetSenderPrincipal(SenderPrincipalT&& value) { m_senderPrincipalHasBeenSet =
true; m_senderPrincipal = std::forward<SenderPrincipalT>(value); }
62 template<
typename SenderPrincipalT = Aws::String>
72 template<
typename ReceiverPrincipalT = Aws::String>
73 void SetReceiverPrincipal(ReceiverPrincipalT&& value) { m_receiverPrincipalHasBeenSet =
true; m_receiverPrincipal = std::forward<ReceiverPrincipalT>(value); }
74 template<
typename ReceiverPrincipalT = Aws::String>
94 template<
typename AcceptedAtT = Aws::Utils::DateTime>
95 void SetAcceptedAt(AcceptedAtT&& value) { m_acceptedAtHasBeenSet =
true; m_acceptedAt = std::forward<AcceptedAtT>(value); }
96 template<
typename AcceptedAtT = Aws::Utils::DateTime>
106 template<
typename EndsAtT = Aws::Utils::DateTime>
107 void SetEndsAt(EndsAtT&& value) { m_endsAtHasBeenSet =
true; m_endsAt = std::forward<EndsAtT>(value); }
108 template<
typename EndsAtT = Aws::Utils::DateTime>
118 template<
typename DataSetIdT = Aws::String>
119 void SetDataSetId(DataSetIdT&& value) { m_dataSetIdHasBeenSet =
true; m_dataSetId = std::forward<DataSetIdT>(value); }
120 template<
typename DataSetIdT = Aws::String>
130 template<
typename IdT = Aws::String>
131 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
132 template<
typename IdT = Aws::String>
142 template<
typename ArnT = Aws::String>
143 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
144 template<
typename ArnT = Aws::String>
154 template<
typename CreatedAtT = Aws::Utils::DateTime>
155 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
156 template<
typename CreatedAtT = Aws::Utils::DateTime>
166 template<
typename UpdatedAtT = Aws::Utils::DateTime>
167 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
168 template<
typename UpdatedAtT = Aws::Utils::DateTime>
174 bool m_nameHasBeenSet =
false;
177 bool m_senderPrincipalHasBeenSet =
false;
180 bool m_receiverPrincipalHasBeenSet =
false;
183 bool m_acceptanceStateHasBeenSet =
false;
186 bool m_acceptedAtHasBeenSet =
false;
189 bool m_endsAtHasBeenSet =
false;
192 bool m_dataSetIdHasBeenSet =
false;
195 bool m_idHasBeenSet =
false;
198 bool m_arnHasBeenSet =
false;
201 bool m_createdAtHasBeenSet =
false;
204 bool m_updatedAtHasBeenSet =
false;
void SetArn(ArnT &&value)
ReceivedDataGrantSummariesEntry & WithName(NameT &&value)
const Aws::String & GetReceiverPrincipal() const
AWS_DATAEXCHANGE_API ReceivedDataGrantSummariesEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
ReceivedDataGrantSummariesEntry & WithAcceptanceState(DataGrantAcceptanceState value)
ReceivedDataGrantSummariesEntry & WithUpdatedAt(UpdatedAtT &&value)
void SetSenderPrincipal(SenderPrincipalT &&value)
bool SenderPrincipalHasBeenSet() const
bool ArnHasBeenSet() const
void SetAcceptedAt(AcceptedAtT &&value)
void SetReceiverPrincipal(ReceiverPrincipalT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool CreatedAtHasBeenSet() const
const Aws::String & GetSenderPrincipal() const
bool AcceptanceStateHasBeenSet() const
bool AcceptedAtHasBeenSet() const
void SetDataSetId(DataSetIdT &&value)
AWS_DATAEXCHANGE_API ReceivedDataGrantSummariesEntry()=default
const Aws::String & GetArn() const
void SetUpdatedAt(UpdatedAtT &&value)
ReceivedDataGrantSummariesEntry & WithCreatedAt(CreatedAtT &&value)
ReceivedDataGrantSummariesEntry & WithId(IdT &&value)
void SetAcceptanceState(DataGrantAcceptanceState value)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ReceiverPrincipalHasBeenSet() const
ReceivedDataGrantSummariesEntry & WithArn(ArnT &&value)
void SetEndsAt(EndsAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
bool NameHasBeenSet() const
const Aws::String & GetDataSetId() const
void SetName(NameT &&value)
AWS_DATAEXCHANGE_API ReceivedDataGrantSummariesEntry(Aws::Utils::Json::JsonView jsonValue)
ReceivedDataGrantSummariesEntry & WithReceiverPrincipal(ReceiverPrincipalT &&value)
ReceivedDataGrantSummariesEntry & WithSenderPrincipal(SenderPrincipalT &&value)
const Aws::Utils::DateTime & GetEndsAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
ReceivedDataGrantSummariesEntry & WithDataSetId(DataSetIdT &&value)
const Aws::Utils::DateTime & GetAcceptedAt() const
bool DataSetIdHasBeenSet() const
const Aws::String & GetId() const
DataGrantAcceptanceState GetAcceptanceState() const
bool IdHasBeenSet() const
bool EndsAtHasBeenSet() const
bool UpdatedAtHasBeenSet() const
ReceivedDataGrantSummariesEntry & WithEndsAt(EndsAtT &&value)
ReceivedDataGrantSummariesEntry & WithAcceptedAt(AcceptedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue