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>
11#include <aws/dataexchange/model/GrantDistributionScope.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
45 inline void SetName(
const char* value) { m_name.assign(value); }
84 inline void SetDescription(
const char* value) { m_description.assign(value); }
141 inline void SetDataSetId(
const char* value) { m_dataSetId.assign(value); }
154 inline void SetId(
const char* value) { m_id.assign(value); }
167 inline void SetArn(
const char* value) { m_arn.assign(value); }
200 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
GetReceivedDataGrantResult & WithName(const Aws::String &value)
GetReceivedDataGrantResult & WithRequestId(Aws::String &&value)
void SetGrantDistributionScope(const GrantDistributionScope &value)
void SetEndsAt(Aws::Utils::DateTime &&value)
GetReceivedDataGrantResult & WithReceiverPrincipal(const Aws::String &value)
GetReceivedDataGrantResult & WithRequestId(const char *value)
GetReceivedDataGrantResult & WithDataSetId(Aws::String &&value)
GetReceivedDataGrantResult & WithDescription(Aws::String &&value)
GetReceivedDataGrantResult & WithGrantDistributionScope(const GrantDistributionScope &value)
GetReceivedDataGrantResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetReceivedDataGrantResult & WithName(Aws::String &&value)
GetReceivedDataGrantResult & WithSenderPrincipal(const Aws::String &value)
GetReceivedDataGrantResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetReceivedDataGrantResult & WithEndsAt(const Aws::Utils::DateTime &value)
GetReceivedDataGrantResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetReceivedDataGrantResult & WithId(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEndsAt() const
void SetReceiverPrincipal(Aws::String &&value)
void SetReceiverPrincipal(const Aws::String &value)
void SetRequestId(const char *value)
const Aws::String & GetReceiverPrincipal() const
void SetSenderPrincipal(Aws::String &&value)
void SetAcceptedAt(Aws::Utils::DateTime &&value)
void SetGrantDistributionScope(GrantDistributionScope &&value)
void SetDescription(Aws::String &&value)
GetReceivedDataGrantResult & WithAcceptanceState(const DataGrantAcceptanceState &value)
void SetDescription(const char *value)
void SetSenderPrincipal(const char *value)
GetReceivedDataGrantResult & WithDataSetId(const Aws::String &value)
GetReceivedDataGrantResult & WithId(Aws::String &&value)
void SetRequestId(Aws::String &&value)
void SetReceiverPrincipal(const char *value)
GetReceivedDataGrantResult & WithReceiverPrincipal(const char *value)
const GrantDistributionScope & GetGrantDistributionScope() const
void SetSenderPrincipal(const Aws::String &value)
AWS_DATAEXCHANGE_API GetReceivedDataGrantResult()
GetReceivedDataGrantResult & WithName(const char *value)
const Aws::String & GetId() const
AWS_DATAEXCHANGE_API GetReceivedDataGrantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetReceivedDataGrantResult & WithAcceptedAt(Aws::Utils::DateTime &&value)
GetReceivedDataGrantResult & WithRequestId(const Aws::String &value)
void SetDataSetId(const Aws::String &value)
GetReceivedDataGrantResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetReceivedDataGrantResult & WithAcceptanceState(DataGrantAcceptanceState &&value)
void SetDataSetId(Aws::String &&value)
void SetArn(const char *value)
GetReceivedDataGrantResult & WithArn(Aws::String &&value)
GetReceivedDataGrantResult & WithDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetAcceptedAt() const
GetReceivedDataGrantResult & WithArn(const char *value)
AWS_DATAEXCHANGE_API GetReceivedDataGrantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetReceivedDataGrantResult & WithAcceptedAt(const Aws::Utils::DateTime &value)
GetReceivedDataGrantResult & WithGrantDistributionScope(GrantDistributionScope &&value)
const Aws::String & GetRequestId() const
void SetDescription(const Aws::String &value)
GetReceivedDataGrantResult & WithDataSetId(const char *value)
void SetId(Aws::String &&value)
void SetName(Aws::String &&value)
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetCreatedAt() const
GetReceivedDataGrantResult & WithSenderPrincipal(Aws::String &&value)
const Aws::String & GetDataSetId() const
void SetRequestId(const Aws::String &value)
void SetAcceptanceState(const DataGrantAcceptanceState &value)
const Aws::String & GetDescription() const
GetReceivedDataGrantResult & WithSenderPrincipal(const char *value)
void SetAcceptanceState(DataGrantAcceptanceState &&value)
void SetName(const char *value)
GetReceivedDataGrantResult & WithEndsAt(Aws::Utils::DateTime &&value)
void SetId(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetArn(Aws::String &&value)
GetReceivedDataGrantResult & WithArn(const Aws::String &value)
GetReceivedDataGrantResult & WithDescription(const char *value)
void SetName(const Aws::String &value)
void SetId(const char *value)
const Aws::String & GetSenderPrincipal() const
void SetDataSetId(const char *value)
void SetArn(const Aws::String &value)
const DataGrantAcceptanceState & GetAcceptanceState() const
GetReceivedDataGrantResult & WithReceiverPrincipal(Aws::String &&value)
void SetEndsAt(const Aws::Utils::DateTime &value)
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetAcceptedAt(const Aws::Utils::DateTime &value)
GetReceivedDataGrantResult & WithId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue