7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetDataShareArn(
const char* value) { m_dataShareArnHasBeenSet =
true; m_dataShareArn.assign(value); }
64 inline void SetConsumerIdentifier(
const char* value) { m_consumerIdentifierHasBeenSet =
true; m_consumerIdentifier.assign(value); }
76 inline void SetAllowWrites(
bool value) { m_allowWritesHasBeenSet =
true; m_allowWrites = value; }
82 bool m_dataShareArnHasBeenSet =
false;
85 bool m_consumerIdentifierHasBeenSet =
false;
88 bool m_allowWritesHasBeenSet =
false;
const Aws::String & GetConsumerIdentifier() const
void SetConsumerIdentifier(const Aws::String &value)
bool GetAllowWrites() const
AuthorizeDataShareRequest & WithConsumerIdentifier(Aws::String &&value)
AuthorizeDataShareRequest & WithConsumerIdentifier(const char *value)
bool ConsumerIdentifierHasBeenSet() const
void SetConsumerIdentifier(Aws::String &&value)
void SetDataShareArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetConsumerIdentifier(const char *value)
AuthorizeDataShareRequest & WithAllowWrites(bool value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
void SetDataShareArn(Aws::String &&value)
bool DataShareArnHasBeenSet() const
void SetDataShareArn(const char *value)
void SetAllowWrites(bool value)
bool AllowWritesHasBeenSet() const
AuthorizeDataShareRequest & WithDataShareArn(Aws::String &&value)
AuthorizeDataShareRequest & WithConsumerIdentifier(const Aws::String &value)
AuthorizeDataShareRequest & WithDataShareArn(const char *value)
AWS_REDSHIFT_API AuthorizeDataShareRequest()
AuthorizeDataShareRequest & WithDataShareArn(const Aws::String &value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetDataShareArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String