66 inline void SetNodeType(
const char* value) { m_nodeTypeHasBeenSet =
true; m_nodeType.assign(value); }
97 inline void SetNumberOfNodes(
int value) { m_numberOfNodesHasBeenSet =
true; m_numberOfNodes = value; }
139 inline void SetMode(
const Mode& value) { m_modeHasBeenSet =
true; m_mode = value; }
144 inline void SetMode(
Mode&& value) { m_modeHasBeenSet =
true; m_mode = std::move(value); }
159 bool m_nodeTypeHasBeenSet =
false;
162 bool m_numberOfNodesHasBeenSet =
false;
164 double m_estimatedDiskUtilizationPercent;
165 bool m_estimatedDiskUtilizationPercentHasBeenSet =
false;
168 bool m_modeHasBeenSet =
false;
NodeConfigurationOption & WithNodeType(const Aws::String &value)
void SetMode(Mode &&value)
void SetEstimatedDiskUtilizationPercent(double value)
NodeConfigurationOption & WithNumberOfNodes(int value)
void SetNumberOfNodes(int value)
double GetEstimatedDiskUtilizationPercent() const
bool NodeTypeHasBeenSet() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
NodeConfigurationOption & WithNodeType(Aws::String &&value)
bool EstimatedDiskUtilizationPercentHasBeenSet() const
void SetMode(const Mode &value)
void SetNodeType(Aws::String &&value)
NodeConfigurationOption & WithMode(Mode &&value)
AWS_REDSHIFT_API NodeConfigurationOption()
AWS_REDSHIFT_API NodeConfigurationOption & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNodeType(const char *value)
bool ModeHasBeenSet() const
const Aws::String & GetNodeType() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool NumberOfNodesHasBeenSet() const
NodeConfigurationOption & WithNodeType(const char *value)
int GetNumberOfNodes() const
AWS_REDSHIFT_API NodeConfigurationOption(const Aws::Utils::Xml::XmlNode &xmlNode)
NodeConfigurationOption & WithEstimatedDiskUtilizationPercent(double value)
NodeConfigurationOption & WithMode(const Mode &value)
const Mode & GetMode() const
void SetNodeType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream