7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/model/ResponseMetadata.h>
12#include <aws/redshift/model/DataShareAssociation.h>
49 inline void SetDataShareArn(
const char* value) { m_dataShareArnHasBeenSet =
true; m_dataShareArn.assign(value); }
63 inline void SetProducerArn(
const char* value) { m_producerArnHasBeenSet =
true; m_producerArn.assign(value); }
103 inline void SetManagedBy(
const char* value) { m_managedByHasBeenSet =
true; m_managedBy.assign(value); }
120 bool m_dataShareArnHasBeenSet =
false;
123 bool m_producerArnHasBeenSet =
false;
125 bool m_allowPubliclyAccessibleConsumers;
126 bool m_allowPubliclyAccessibleConsumersHasBeenSet =
false;
129 bool m_dataShareAssociationsHasBeenSet =
false;
132 bool m_managedByHasBeenSet =
false;
DataShare & WithManagedBy(const Aws::String &value)
const Aws::Vector< DataShareAssociation > & GetDataShareAssociations() const
DataShare & WithResponseMetadata(ResponseMetadata &&value)
bool ProducerArnHasBeenSet() const
void SetProducerArn(const char *value)
const Aws::String & GetDataShareArn() const
bool DataShareAssociationsHasBeenSet() const
bool DataShareArnHasBeenSet() const
void SetDataShareAssociations(Aws::Vector< DataShareAssociation > &&value)
void SetDataShareArn(const char *value)
DataShare & WithResponseMetadata(const ResponseMetadata &value)
DataShare & WithAllowPubliclyAccessibleConsumers(bool value)
DataShare & WithManagedBy(Aws::String &&value)
bool ManagedByHasBeenSet() const
const ResponseMetadata & GetResponseMetadata() const
void SetResponseMetadata(ResponseMetadata &&value)
DataShare & WithProducerArn(const char *value)
void SetManagedBy(const char *value)
DataShare & WithDataShareAssociations(const Aws::Vector< DataShareAssociation > &value)
void SetProducerArn(Aws::String &&value)
bool AllowPubliclyAccessibleConsumersHasBeenSet() const
DataShare & WithDataShareArn(const char *value)
DataShare & WithDataShareAssociations(Aws::Vector< DataShareAssociation > &&value)
DataShare & AddDataShareAssociations(DataShareAssociation &&value)
DataShare & WithProducerArn(const Aws::String &value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetAllowPubliclyAccessibleConsumers(bool value)
AWS_REDSHIFT_API DataShare()
DataShare & AddDataShareAssociations(const DataShareAssociation &value)
void SetManagedBy(Aws::String &&value)
DataShare & WithDataShareArn(Aws::String &&value)
AWS_REDSHIFT_API DataShare & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDataShareArn(Aws::String &&value)
const Aws::String & GetProducerArn() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_REDSHIFT_API DataShare(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetManagedBy(const Aws::String &value)
void SetResponseMetadata(const ResponseMetadata &value)
void SetProducerArn(const Aws::String &value)
DataShare & WithProducerArn(Aws::String &&value)
void SetDataShareArn(const Aws::String &value)
DataShare & WithDataShareArn(const Aws::String &value)
const Aws::String & GetManagedBy() const
DataShare & WithManagedBy(const char *value)
void SetDataShareAssociations(const Aws::Vector< DataShareAssociation > &value)
bool GetAllowPubliclyAccessibleConsumers() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream