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>
50 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
64 inline void SetSenderPrincipal(
const char* value) { m_senderPrincipalHasBeenSet =
true; m_senderPrincipal.assign(value); }
78 inline void SetReceiverPrincipal(
const char* value) { m_receiverPrincipalHasBeenSet =
true; m_receiverPrincipal.assign(value); }
128 inline void SetDataSetId(
const char* value) { m_dataSetIdHasBeenSet =
true; m_dataSetId.assign(value); }
142 inline void SetSourceDataSetId(
const char* value) { m_sourceDataSetIdHasBeenSet =
true; m_sourceDataSetId.assign(value); }
156 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
170 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
202 bool m_nameHasBeenSet =
false;
205 bool m_senderPrincipalHasBeenSet =
false;
208 bool m_receiverPrincipalHasBeenSet =
false;
211 bool m_acceptanceStateHasBeenSet =
false;
214 bool m_acceptedAtHasBeenSet =
false;
217 bool m_endsAtHasBeenSet =
false;
220 bool m_dataSetIdHasBeenSet =
false;
223 bool m_sourceDataSetIdHasBeenSet =
false;
226 bool m_idHasBeenSet =
false;
229 bool m_arnHasBeenSet =
false;
232 bool m_createdAtHasBeenSet =
false;
235 bool m_updatedAtHasBeenSet =
false;
DataGrantSummaryEntry & WithName(const Aws::String &value)
DataGrantSummaryEntry & WithAcceptanceState(const DataGrantAcceptanceState &value)
const Aws::String & GetReceiverPrincipal() const
DataGrantSummaryEntry & WithReceiverPrincipal(const char *value)
DataGrantSummaryEntry & WithAcceptedAt(Aws::Utils::DateTime &&value)
void SetArn(const Aws::String &value)
bool SourceDataSetIdHasBeenSet() const
void SetName(const Aws::String &value)
DataGrantSummaryEntry & WithSourceDataSetId(Aws::String &&value)
void SetEndsAt(Aws::Utils::DateTime &&value)
DataGrantSummaryEntry & WithName(const char *value)
DataGrantSummaryEntry & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetDataSetId(const Aws::String &value)
DataGrantSummaryEntry & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetName() const
void SetReceiverPrincipal(const char *value)
void SetSourceDataSetId(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
bool EndsAtHasBeenSet() const
AWS_DATAEXCHANGE_API DataGrantSummaryEntry()
DataGrantSummaryEntry & WithDataSetId(const Aws::String &value)
DataGrantSummaryEntry & WithDataSetId(Aws::String &&value)
void SetSourceDataSetId(const Aws::String &value)
DataGrantSummaryEntry & WithSenderPrincipal(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetAcceptanceState(const DataGrantAcceptanceState &value)
void SetReceiverPrincipal(Aws::String &&value)
void SetDataSetId(Aws::String &&value)
DataGrantSummaryEntry & WithSenderPrincipal(const Aws::String &value)
DataGrantSummaryEntry & WithId(Aws::String &&value)
void SetDataSetId(const char *value)
DataGrantSummaryEntry & WithReceiverPrincipal(const Aws::String &value)
void SetAcceptedAt(const Aws::Utils::DateTime &value)
DataGrantSummaryEntry & WithArn(const Aws::String &value)
void SetId(const Aws::String &value)
DataGrantSummaryEntry & WithId(const Aws::String &value)
DataGrantSummaryEntry & WithUpdatedAt(const Aws::Utils::DateTime &value)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSourceDataSetId() const
DataGrantSummaryEntry & WithId(const char *value)
bool SenderPrincipalHasBeenSet() const
DataGrantSummaryEntry & WithEndsAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEndsAt() const
bool ReceiverPrincipalHasBeenSet() const
bool ArnHasBeenSet() const
void SetReceiverPrincipal(const Aws::String &value)
void SetArn(const char *value)
void SetSenderPrincipal(const Aws::String &value)
AWS_DATAEXCHANGE_API DataGrantSummaryEntry(Aws::Utils::Json::JsonView jsonValue)
void SetEndsAt(const Aws::Utils::DateTime &value)
DataGrantSummaryEntry & WithArn(const char *value)
void SetSenderPrincipal(const char *value)
bool AcceptedAtHasBeenSet() const
bool IdHasBeenSet() const
void SetSenderPrincipal(Aws::String &&value)
void SetName(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
DataGrantSummaryEntry & WithDataSetId(const char *value)
const DataGrantAcceptanceState & GetAcceptanceState() const
DataGrantSummaryEntry & WithSenderPrincipal(const char *value)
const Aws::String & GetSenderPrincipal() const
DataGrantSummaryEntry & WithSourceDataSetId(const Aws::String &value)
bool CreatedAtHasBeenSet() const
const Aws::String & GetDataSetId() const
bool AcceptanceStateHasBeenSet() const
DataGrantSummaryEntry & WithEndsAt(Aws::Utils::DateTime &&value)
DataGrantSummaryEntry & WithUpdatedAt(Aws::Utils::DateTime &&value)
AWS_DATAEXCHANGE_API DataGrantSummaryEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAcceptanceState(DataGrantAcceptanceState &&value)
bool UpdatedAtHasBeenSet() const
DataGrantSummaryEntry & WithSourceDataSetId(const char *value)
const Aws::String & GetArn() const
void SetName(const char *value)
DataGrantSummaryEntry & WithAcceptedAt(const Aws::Utils::DateTime &value)
DataGrantSummaryEntry & WithAcceptanceState(DataGrantAcceptanceState &&value)
bool DataSetIdHasBeenSet() const
DataGrantSummaryEntry & WithReceiverPrincipal(Aws::String &&value)
void SetId(Aws::String &&value)
bool NameHasBeenSet() const
void SetId(const char *value)
void SetAcceptedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
DataGrantSummaryEntry & WithName(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetId() const
DataGrantSummaryEntry & WithArn(Aws::String &&value)
void SetArn(Aws::String &&value)
void SetSourceDataSetId(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetAcceptedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue