7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/dataexchange/DataExchangeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dataexchange/model/GrantDistributionScope.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
46 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
72 inline void SetReceiverPrincipal(
const char* value) { m_receiverPrincipalHasBeenSet =
true; m_receiverPrincipal.assign(value); }
86 inline void SetSourceDataSetId(
const char* value) { m_sourceDataSetIdHasBeenSet =
true; m_sourceDataSetId.assign(value); }
112 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
139 bool m_nameHasBeenSet =
false;
142 bool m_grantDistributionScopeHasBeenSet =
false;
145 bool m_receiverPrincipalHasBeenSet =
false;
148 bool m_sourceDataSetIdHasBeenSet =
false;
151 bool m_endsAtHasBeenSet =
false;
154 bool m_descriptionHasBeenSet =
false;
157 bool m_tagsHasBeenSet =
false;
CreateDataGrantRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDataGrantRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetGrantDistributionScope(const GrantDistributionScope &value)
void SetReceiverPrincipal(Aws::String &&value)
const Aws::String & GetName() const
AWS_DATAEXCHANGE_API CreateDataGrantRequest()
bool DescriptionHasBeenSet() const
void SetReceiverPrincipal(const char *value)
const GrantDistributionScope & GetGrantDistributionScope() const
CreateDataGrantRequest & WithReceiverPrincipal(const char *value)
void SetEndsAt(Aws::Utils::DateTime &&value)
CreateDataGrantRequest & WithReceiverPrincipal(Aws::String &&value)
bool GrantDistributionScopeHasBeenSet() const
CreateDataGrantRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetDescription(Aws::String &&value)
CreateDataGrantRequest & WithDescription(Aws::String &&value)
CreateDataGrantRequest & WithName(Aws::String &&value)
CreateDataGrantRequest & AddTags(Aws::String &&key, const char *value)
void SetEndsAt(const Aws::Utils::DateTime &value)
CreateDataGrantRequest & WithName(const char *value)
CreateDataGrantRequest & AddTags(const char *key, const char *value)
void SetSourceDataSetId(const char *value)
CreateDataGrantRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_DATAEXCHANGE_API Aws::String SerializePayload() const override
CreateDataGrantRequest & WithEndsAt(const Aws::Utils::DateTime &value)
CreateDataGrantRequest & WithReceiverPrincipal(const Aws::String &value)
CreateDataGrantRequest & WithGrantDistributionScope(const GrantDistributionScope &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool EndsAtHasBeenSet() const
CreateDataGrantRequest & WithGrantDistributionScope(GrantDistributionScope &&value)
CreateDataGrantRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateDataGrantRequest & WithSourceDataSetId(const char *value)
void SetName(const Aws::String &value)
void SetDescription(const Aws::String &value)
CreateDataGrantRequest & AddTags(const char *key, Aws::String &&value)
CreateDataGrantRequest & WithDescription(const Aws::String &value)
bool SourceDataSetIdHasBeenSet() const
void SetGrantDistributionScope(GrantDistributionScope &&value)
bool NameHasBeenSet() const
CreateDataGrantRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetDescription(const char *value)
void SetSourceDataSetId(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetName(Aws::String &&value)
bool TagsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateDataGrantRequest & WithEndsAt(Aws::Utils::DateTime &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetDescription() const
CreateDataGrantRequest & WithName(const Aws::String &value)
void SetName(const char *value)
const Aws::Utils::DateTime & GetEndsAt() const
CreateDataGrantRequest & WithDescription(const char *value)
const Aws::String & GetReceiverPrincipal() const
CreateDataGrantRequest & WithSourceDataSetId(const Aws::String &value)
void SetReceiverPrincipal(const Aws::String &value)
const Aws::String & GetSourceDataSetId() const
void SetSourceDataSetId(Aws::String &&value)
CreateDataGrantRequest & WithSourceDataSetId(Aws::String &&value)
bool ReceiverPrincipalHasBeenSet() const
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