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/Mode.h>
51 inline void SetNodeType(
const char* value) { m_nodeTypeHasBeenSet =
true; m_nodeType.assign(value); }
63 inline void SetNumberOfNodes(
int value) { m_numberOfNodesHasBeenSet =
true; m_numberOfNodes = value; }
83 inline void SetMode(
const Mode& value) { m_modeHasBeenSet =
true; m_mode = value; }
84 inline void SetMode(
Mode&& value) { m_modeHasBeenSet =
true; m_mode = std::move(value); }
91 bool m_nodeTypeHasBeenSet =
false;
94 bool m_numberOfNodesHasBeenSet =
false;
96 double m_estimatedDiskUtilizationPercent;
97 bool m_estimatedDiskUtilizationPercentHasBeenSet =
false;
100 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