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/redshift/model/DataShareStatus.h>
11#include <aws/core/utils/DateTime.h>
54 inline void SetConsumerIdentifier(
const char* value) { m_consumerIdentifierHasBeenSet =
true; m_consumerIdentifier.assign(value); }
81 inline void SetConsumerRegion(
const char* value) { m_consumerRegionHasBeenSet =
true; m_consumerRegion.assign(value); }
135 bool m_consumerIdentifierHasBeenSet =
false;
138 bool m_statusHasBeenSet =
false;
141 bool m_consumerRegionHasBeenSet =
false;
144 bool m_createdDateHasBeenSet =
false;
147 bool m_statusChangeDateHasBeenSet =
false;
149 bool m_producerAllowedWrites;
150 bool m_producerAllowedWritesHasBeenSet =
false;
152 bool m_consumerAcceptedWrites;
153 bool m_consumerAcceptedWritesHasBeenSet =
false;
const DataShareStatus & GetStatus() const
DataShareAssociation & WithConsumerIdentifier(const char *value)
void SetConsumerAcceptedWrites(bool value)
void SetConsumerRegion(Aws::String &&value)
DataShareAssociation & WithConsumerRegion(const Aws::String &value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
bool ConsumerRegionHasBeenSet() const
void SetStatusChangeDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStatusChangeDate() const
DataShareAssociation & WithConsumerRegion(const char *value)
void SetConsumerIdentifier(const char *value)
const Aws::Utils::DateTime & GetCreatedDate() const
AWS_REDSHIFT_API DataShareAssociation()
void SetStatus(const DataShareStatus &value)
DataShareAssociation & WithStatusChangeDate(const Aws::Utils::DateTime &value)
DataShareAssociation & WithConsumerRegion(Aws::String &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DataShareAssociation & WithConsumerIdentifier(Aws::String &&value)
DataShareAssociation & WithStatus(const DataShareStatus &value)
const Aws::String & GetConsumerRegion() const
DataShareAssociation & WithStatusChangeDate(Aws::Utils::DateTime &&value)
DataShareAssociation & WithCreatedDate(Aws::Utils::DateTime &&value)
DataShareAssociation & WithStatus(DataShareStatus &&value)
bool ConsumerIdentifierHasBeenSet() const
bool StatusChangeDateHasBeenSet() const
bool ConsumerAcceptedWritesHasBeenSet() const
bool GetConsumerAcceptedWrites() const
void SetConsumerRegion(const char *value)
const Aws::String & GetConsumerIdentifier() const
void SetProducerAllowedWrites(bool value)
DataShareAssociation & WithCreatedDate(const Aws::Utils::DateTime &value)
void SetConsumerIdentifier(Aws::String &&value)
void SetStatus(DataShareStatus &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetCreatedDate(Aws::Utils::DateTime &&value)
void SetStatusChangeDate(const Aws::Utils::DateTime &value)
DataShareAssociation & WithConsumerIdentifier(const Aws::String &value)
AWS_REDSHIFT_API DataShareAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool CreatedDateHasBeenSet() const
void SetConsumerIdentifier(const Aws::String &value)
DataShareAssociation & WithConsumerAcceptedWrites(bool value)
AWS_REDSHIFT_API DataShareAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetConsumerRegion(const Aws::String &value)
bool ProducerAllowedWritesHasBeenSet() const
bool StatusHasBeenSet() const
bool GetProducerAllowedWrites() const
DataShareAssociation & WithProducerAllowedWrites(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream