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); }
74 inline void SetConsumerArn(
const char* value) { m_consumerArnHasBeenSet =
true; m_consumerArn.assign(value); }
89 inline void SetConsumerRegion(
const char* value) { m_consumerRegionHasBeenSet =
true; m_consumerRegion.assign(value); }
101 inline void SetAllowWrites(
bool value) { m_allowWritesHasBeenSet =
true; m_allowWrites = value; }
107 bool m_dataShareArnHasBeenSet =
false;
109 bool m_associateEntireAccount;
110 bool m_associateEntireAccountHasBeenSet =
false;
113 bool m_consumerArnHasBeenSet =
false;
116 bool m_consumerRegionHasBeenSet =
false;
119 bool m_allowWritesHasBeenSet =
false;
bool DataShareArnHasBeenSet() const
AWS_REDSHIFT_API AssociateDataShareConsumerRequest()
void SetAllowWrites(bool value)
AssociateDataShareConsumerRequest & WithConsumerRegion(const char *value)
void SetDataShareArn(Aws::String &&value)
bool ConsumerRegionHasBeenSet() const
AssociateDataShareConsumerRequest & WithConsumerRegion(Aws::String &&value)
void SetConsumerArn(const Aws::String &value)
AssociateDataShareConsumerRequest & WithAllowWrites(bool value)
AssociateDataShareConsumerRequest & WithConsumerRegion(const Aws::String &value)
void SetConsumerRegion(Aws::String &&value)
AssociateDataShareConsumerRequest & WithDataShareArn(const Aws::String &value)
const Aws::String & GetConsumerRegion() const
AssociateDataShareConsumerRequest & WithConsumerArn(const Aws::String &value)
bool AllowWritesHasBeenSet() const
AssociateDataShareConsumerRequest & WithConsumerArn(const char *value)
void SetConsumerRegion(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetConsumerArn() const
bool GetAssociateEntireAccount() const
AssociateDataShareConsumerRequest & WithDataShareArn(const char *value)
AssociateDataShareConsumerRequest & WithAssociateEntireAccount(bool value)
void SetAssociateEntireAccount(bool value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
bool ConsumerArnHasBeenSet() const
const Aws::String & GetDataShareArn() const
AssociateDataShareConsumerRequest & WithConsumerArn(Aws::String &&value)
AssociateDataShareConsumerRequest & WithDataShareArn(Aws::String &&value)
void SetConsumerArn(Aws::String &&value)
bool GetAllowWrites() const
void SetConsumerArn(const char *value)
void SetConsumerRegion(const char *value)
void SetDataShareArn(const char *value)
bool AssociateEntireAccountHasBeenSet() const
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetDataShareArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String