7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticbeanstalk/model/ValidationSeverity.h>
22namespace ElasticBeanstalk
40 AWS_ELASTICBEANSTALK_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
50 template<
typename MessageT = Aws::String>
51 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
52 template<
typename MessageT = Aws::String>
75 template<
typename NamespaceT = Aws::String>
76 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet =
true; m_namespace = std::forward<NamespaceT>(value); }
77 template<
typename NamespaceT = Aws::String>
87 template<
typename OptionNameT = Aws::String>
88 void SetOptionName(OptionNameT&& value) { m_optionNameHasBeenSet =
true; m_optionName = std::forward<OptionNameT>(value); }
89 template<
typename OptionNameT = Aws::String>
95 bool m_messageHasBeenSet =
false;
98 bool m_severityHasBeenSet =
false;
101 bool m_namespaceHasBeenSet =
false;
104 bool m_optionNameHasBeenSet =
false;
void SetOptionName(OptionNameT &&value)
bool MessageHasBeenSet() const
ValidationMessage & WithMessage(MessageT &&value)
const Aws::String & GetNamespace() const
bool NamespaceHasBeenSet() const
ValidationMessage & WithSeverity(ValidationSeverity value)
ValidationSeverity GetSeverity() const
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetMessage(MessageT &&value)
AWS_ELASTICBEANSTALK_API ValidationMessage()=default
void SetSeverity(ValidationSeverity value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ValidationMessage & WithOptionName(OptionNameT &&value)
bool OptionNameHasBeenSet() const
const Aws::String & GetOptionName() const
bool SeverityHasBeenSet() const
AWS_ELASTICBEANSTALK_API ValidationMessage & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ValidationMessage & WithNamespace(NamespaceT &&value)
AWS_ELASTICBEANSTALK_API ValidationMessage(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNamespace(NamespaceT &&value)
const Aws::String & GetMessage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream