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>
49 template<
typename NodeTypeT = Aws::String>
50 void SetNodeType(NodeTypeT&& value) { m_nodeTypeHasBeenSet =
true; m_nodeType = std::forward<NodeTypeT>(value); }
51 template<
typename NodeTypeT = Aws::String>
61 inline void SetNumberOfNodes(
int value) { m_numberOfNodesHasBeenSet =
true; m_numberOfNodes = value; }
81 inline void SetMode(
Mode value) { m_modeHasBeenSet =
true; m_mode = value; }
87 bool m_nodeTypeHasBeenSet =
false;
89 int m_numberOfNodes{0};
90 bool m_numberOfNodesHasBeenSet =
false;
92 double m_estimatedDiskUtilizationPercent{0.0};
93 bool m_estimatedDiskUtilizationPercentHasBeenSet =
false;
96 bool m_modeHasBeenSet =
false;
void SetEstimatedDiskUtilizationPercent(double value)
NodeConfigurationOption & WithNumberOfNodes(int value)
void SetNumberOfNodes(int value)
double GetEstimatedDiskUtilizationPercent() const
AWS_REDSHIFT_API NodeConfigurationOption()=default
bool NodeTypeHasBeenSet() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool EstimatedDiskUtilizationPercentHasBeenSet() const
void SetNodeType(NodeTypeT &&value)
AWS_REDSHIFT_API NodeConfigurationOption & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
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
int GetNumberOfNodes() const
AWS_REDSHIFT_API NodeConfigurationOption(const Aws::Utils::Xml::XmlNode &xmlNode)
NodeConfigurationOption & WithEstimatedDiskUtilizationPercent(double value)
NodeConfigurationOption & WithNodeType(NodeTypeT &&value)
NodeConfigurationOption & WithMode(Mode value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream