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>
12#include <aws/core/utils/memory/stl/AWSMap.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
46 inline void SetName(
const char* value) { m_name.assign(value); }
85 inline void SetDescription(
const char* value) { m_description.assign(value); }
142 inline void SetDataSetId(
const char* value) { m_dataSetId.assign(value); }
168 inline void SetId(
const char* value) { m_id.assign(value); }
181 inline void SetArn(
const char* value) { m_arn.assign(value); }
232 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
const Aws::String & GetArn() const
GetDataGrantResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetGrantDistributionScope(const GrantDistributionScope &value)
void SetRequestId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDescription(const char *value)
const GrantDistributionScope & GetGrantDistributionScope() const
void SetAcceptanceState(DataGrantAcceptanceState &&value)
void SetSenderPrincipal(Aws::String &&value)
GetDataGrantResult & WithDataSetId(const char *value)
GetDataGrantResult & WithGrantDistributionScope(const GrantDistributionScope &value)
const Aws::Utils::DateTime & GetAcceptedAt() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetDataSetId() const
GetDataGrantResult & WithDescription(Aws::String &&value)
void SetId(Aws::String &&value)
GetDataGrantResult & WithEndsAt(const Aws::Utils::DateTime &value)
void SetReceiverPrincipal(Aws::String &&value)
GetDataGrantResult & WithRequestId(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
GetDataGrantResult & WithDataSetId(Aws::String &&value)
GetDataGrantResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetDataSetId(const Aws::String &value)
const Aws::String & GetDescription() const
void SetDataSetId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetSenderPrincipal(const char *value)
const DataGrantAcceptanceState & GetAcceptanceState() const
GetDataGrantResult & AddTags(const char *key, const char *value)
void SetArn(Aws::String &&value)
GetDataGrantResult & WithSenderPrincipal(Aws::String &&value)
GetDataGrantResult & WithSenderPrincipal(const Aws::String &value)
const Aws::String & GetRequestId() const
GetDataGrantResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetSenderPrincipal(const Aws::String &value)
void SetRequestId(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetRequestId(const Aws::String &value)
void SetId(const char *value)
const Aws::String & GetName() const
GetDataGrantResult & WithArn(Aws::String &&value)
GetDataGrantResult & AddTags(Aws::String &&key, const char *value)
GetDataGrantResult & WithArn(const Aws::String &value)
GetDataGrantResult & WithAcceptedAt(const Aws::Utils::DateTime &value)
void SetAcceptanceState(const DataGrantAcceptanceState &value)
GetDataGrantResult & WithAcceptanceState(const DataGrantAcceptanceState &value)
GetDataGrantResult & AddTags(const Aws::String &key, Aws::String &&value)
GetDataGrantResult & AddTags(const char *key, Aws::String &&value)
void SetEndsAt(const Aws::Utils::DateTime &value)
void SetSourceDataSetId(Aws::String &&value)
GetDataGrantResult & WithDataSetId(const Aws::String &value)
GetDataGrantResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_DATAEXCHANGE_API GetDataGrantResult()
void SetCreatedAt(Aws::Utils::DateTime &&value)
AWS_DATAEXCHANGE_API GetDataGrantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAcceptedAt(Aws::Utils::DateTime &&value)
void SetReceiverPrincipal(const Aws::String &value)
GetDataGrantResult & WithReceiverPrincipal(const Aws::String &value)
const Aws::String & GetSourceDataSetId() const
void SetName(const Aws::String &value)
void SetSourceDataSetId(const Aws::String &value)
void SetDescription(const Aws::String &value)
AWS_DATAEXCHANGE_API GetDataGrantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataGrantResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetDataGrantResult & WithId(const Aws::String &value)
GetDataGrantResult & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetDataGrantResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetDescription(Aws::String &&value)
GetDataGrantResult & WithName(Aws::String &&value)
GetDataGrantResult & WithName(const char *value)
void SetId(const Aws::String &value)
void SetDataSetId(const char *value)
void SetEndsAt(Aws::Utils::DateTime &&value)
GetDataGrantResult & WithDescription(const Aws::String &value)
GetDataGrantResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetDataGrantResult & WithArn(const char *value)
GetDataGrantResult & WithEndsAt(Aws::Utils::DateTime &&value)
GetDataGrantResult & WithReceiverPrincipal(Aws::String &&value)
GetDataGrantResult & WithId(const char *value)
const Aws::Utils::DateTime & GetEndsAt() const
GetDataGrantResult & WithSourceDataSetId(Aws::String &&value)
void SetArn(const Aws::String &value)
void SetReceiverPrincipal(const char *value)
GetDataGrantResult & WithReceiverPrincipal(const char *value)
GetDataGrantResult & WithRequestId(const Aws::String &value)
const Aws::String & GetSenderPrincipal() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetAcceptedAt(const Aws::Utils::DateTime &value)
GetDataGrantResult & WithAcceptedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetId() const
GetDataGrantResult & WithGrantDistributionScope(GrantDistributionScope &&value)
void SetArn(const char *value)
const Aws::String & GetReceiverPrincipal() const
GetDataGrantResult & WithDescription(const char *value)
GetDataGrantResult & WithSenderPrincipal(const char *value)
void SetName(const char *value)
GetDataGrantResult & WithSourceDataSetId(const char *value)
GetDataGrantResult & WithId(Aws::String &&value)
GetDataGrantResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetGrantDistributionScope(GrantDistributionScope &&value)
GetDataGrantResult & WithName(const Aws::String &value)
void SetSourceDataSetId(const char *value)
GetDataGrantResult & WithAcceptanceState(DataGrantAcceptanceState &&value)
GetDataGrantResult & WithSourceDataSetId(const Aws::String &value)
GetDataGrantResult & WithRequestId(const char *value)
void SetName(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue