7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10#include <aws/redshift/model/RecommendedActionType.h>
44 template <
typename TextT = Aws::String>
46 m_textHasBeenSet =
true;
47 m_text = std::forward<TextT>(value);
49 template <
typename TextT = Aws::String>
51 SetText(std::forward<TextT>(value));
63 template <
typename DatabaseT = Aws::String>
65 m_databaseHasBeenSet =
true;
66 m_database = std::forward<DatabaseT>(value);
68 template <
typename DatabaseT = Aws::String>
81 template <
typename CommandT = Aws::String>
83 m_commandHasBeenSet =
true;
84 m_command = std::forward<CommandT>(value);
86 template <
typename CommandT = Aws::String>
100 m_typeHasBeenSet =
true;
116 bool m_textHasBeenSet =
false;
117 bool m_databaseHasBeenSet =
false;
118 bool m_commandHasBeenSet =
false;
119 bool m_typeHasBeenSet =
false;
AWS_REDSHIFT_API RecommendedAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
RecommendedAction & WithCommand(CommandT &&value)
RecommendedAction & WithDatabase(DatabaseT &&value)
RecommendedAction & WithText(TextT &&value)
const Aws::String & GetCommand() const
AWS_REDSHIFT_API RecommendedAction()=default
void SetType(RecommendedActionType value)
void SetCommand(CommandT &&value)
bool TextHasBeenSet() const
bool DatabaseHasBeenSet() const
const Aws::String & GetText() const
bool CommandHasBeenSet() const
void SetDatabase(DatabaseT &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
RecommendedActionType GetType() const
RecommendedAction & WithType(RecommendedActionType value)
void SetText(TextT &&value)
bool TypeHasBeenSet() const
const Aws::String & GetDatabase() const
AWS_REDSHIFT_API RecommendedAction(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream