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 SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
156 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
188 bool m_nameHasBeenSet =
false;
191 bool m_senderPrincipalHasBeenSet =
false;
194 bool m_receiverPrincipalHasBeenSet =
false;
197 bool m_acceptanceStateHasBeenSet =
false;
200 bool m_acceptedAtHasBeenSet =
false;
203 bool m_endsAtHasBeenSet =
false;
206 bool m_dataSetIdHasBeenSet =
false;
209 bool m_idHasBeenSet =
false;
212 bool m_arnHasBeenSet =
false;
215 bool m_createdAtHasBeenSet =
false;
218 bool m_updatedAtHasBeenSet =
false;
void SetReceiverPrincipal(Aws::String &&value)
ReceivedDataGrantSummariesEntry & WithSenderPrincipal(const Aws::String &value)
void SetName(const Aws::String &value)
ReceivedDataGrantSummariesEntry & WithId(const char *value)
void SetSenderPrincipal(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetReceiverPrincipal() const
void SetId(const Aws::String &value)
AWS_DATAEXCHANGE_API ReceivedDataGrantSummariesEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetArn(const Aws::String &value)
void SetDataSetId(Aws::String &&value)
ReceivedDataGrantSummariesEntry & WithReceiverPrincipal(const Aws::String &value)
ReceivedDataGrantSummariesEntry & WithDataSetId(const Aws::String &value)
void SetEndsAt(Aws::Utils::DateTime &&value)
ReceivedDataGrantSummariesEntry & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetReceiverPrincipal(const char *value)
bool SenderPrincipalHasBeenSet() const
ReceivedDataGrantSummariesEntry & WithName(const char *value)
ReceivedDataGrantSummariesEntry & WithSenderPrincipal(Aws::String &&value)
void SetId(const char *value)
bool ArnHasBeenSet() const
ReceivedDataGrantSummariesEntry & WithReceiverPrincipal(Aws::String &&value)
ReceivedDataGrantSummariesEntry & WithCreatedAt(Aws::Utils::DateTime &&value)
ReceivedDataGrantSummariesEntry & WithEndsAt(Aws::Utils::DateTime &&value)
void SetAcceptanceState(DataGrantAcceptanceState &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool CreatedAtHasBeenSet() const
const Aws::String & GetSenderPrincipal() const
ReceivedDataGrantSummariesEntry & WithId(const Aws::String &value)
void SetEndsAt(const Aws::Utils::DateTime &value)
bool AcceptanceStateHasBeenSet() const
void SetArn(Aws::String &&value)
bool AcceptedAtHasBeenSet() const
void SetName(const char *value)
void SetName(Aws::String &&value)
ReceivedDataGrantSummariesEntry & WithAcceptanceState(const DataGrantAcceptanceState &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetDataSetId(const char *value)
void SetSenderPrincipal(const char *value)
ReceivedDataGrantSummariesEntry & WithDataSetId(Aws::String &&value)
AWS_DATAEXCHANGE_API ReceivedDataGrantSummariesEntry()
ReceivedDataGrantSummariesEntry & WithId(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetAcceptedAt(const Aws::Utils::DateTime &value)
ReceivedDataGrantSummariesEntry & WithAcceptedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetArn() const
void SetId(Aws::String &&value)
ReceivedDataGrantSummariesEntry & WithReceiverPrincipal(const char *value)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
ReceivedDataGrantSummariesEntry & WithAcceptanceState(DataGrantAcceptanceState &&value)
bool ReceiverPrincipalHasBeenSet() const
ReceivedDataGrantSummariesEntry & WithEndsAt(const Aws::Utils::DateTime &value)
ReceivedDataGrantSummariesEntry & WithName(Aws::String &&value)
void SetDataSetId(const Aws::String &value)
void SetArn(const char *value)
bool NameHasBeenSet() const
const Aws::String & GetDataSetId() const
void SetAcceptanceState(const DataGrantAcceptanceState &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
ReceivedDataGrantSummariesEntry & WithDataSetId(const char *value)
AWS_DATAEXCHANGE_API ReceivedDataGrantSummariesEntry(Aws::Utils::Json::JsonView jsonValue)
void SetAcceptedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEndsAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetSenderPrincipal(Aws::String &&value)
ReceivedDataGrantSummariesEntry & WithCreatedAt(const Aws::Utils::DateTime &value)
ReceivedDataGrantSummariesEntry & WithAcceptedAt(const Aws::Utils::DateTime &value)
ReceivedDataGrantSummariesEntry & WithArn(Aws::String &&value)
const Aws::Utils::DateTime & GetAcceptedAt() const
ReceivedDataGrantSummariesEntry & WithUpdatedAt(Aws::Utils::DateTime &&value)
bool DataSetIdHasBeenSet() const
const Aws::String & GetId() const
ReceivedDataGrantSummariesEntry & WithArn(const char *value)
bool IdHasBeenSet() const
const DataGrantAcceptanceState & GetAcceptanceState() const
ReceivedDataGrantSummariesEntry & WithArn(const Aws::String &value)
bool EndsAtHasBeenSet() const
bool UpdatedAtHasBeenSet() const
ReceivedDataGrantSummariesEntry & WithSenderPrincipal(const char *value)
void SetReceiverPrincipal(const Aws::String &value)
ReceivedDataGrantSummariesEntry & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue