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 IdT = Aws::String>
168 m_idHasBeenSet =
true;
169 m_id = std::forward<IdT>(value);
171 template <
typename IdT = Aws::String>
173 SetId(std::forward<IdT>(value));
184 template <
typename ArnT = Aws::String>
186 m_arnHasBeenSet =
true;
187 m_arn = std::forward<ArnT>(value);
189 template <
typename ArnT = Aws::String>
191 SetArn(std::forward<ArnT>(value));
202 template <
typename CreatedAtT = Aws::Utils::DateTime>
204 m_createdAtHasBeenSet =
true;
205 m_createdAt = std::forward<CreatedAtT>(value);
207 template <
typename CreatedAtT = Aws::Utils::DateTime>
220 template <
typename UpdatedAtT = Aws::Utils::DateTime>
222 m_updatedAtHasBeenSet =
true;
223 m_updatedAt = std::forward<UpdatedAtT>(value);
225 template <
typename UpdatedAtT = Aws::Utils::DateTime>
253 bool m_nameHasBeenSet =
false;
254 bool m_senderPrincipalHasBeenSet =
false;
255 bool m_receiverPrincipalHasBeenSet =
false;
256 bool m_acceptanceStateHasBeenSet =
false;
257 bool m_acceptedAtHasBeenSet =
false;
258 bool m_endsAtHasBeenSet =
false;
259 bool m_dataSetIdHasBeenSet =
false;
260 bool m_idHasBeenSet =
false;
261 bool m_arnHasBeenSet =
false;
262 bool m_createdAtHasBeenSet =
false;
263 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