7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
10#include <aws/elasticbeanstalk/model/ValidationSeverity.h>
20namespace ElasticBeanstalk {
36 const char* locationValue)
const;
45 template <
typename MessageT = Aws::String>
47 m_messageHasBeenSet =
true;
48 m_message = std::forward<MessageT>(value);
50 template <
typename MessageT = Aws::String>
67 m_severityHasBeenSet =
true;
82 template <
typename NamespaceT = Aws::String>
84 m_namespaceHasBeenSet =
true;
85 m_namespace = std::forward<NamespaceT>(value);
87 template <
typename NamespaceT = Aws::String>
100 template <
typename OptionNameT = Aws::String>
102 m_optionNameHasBeenSet =
true;
103 m_optionName = std::forward<OptionNameT>(value);
105 template <
typename OptionNameT = Aws::String>
119 bool m_messageHasBeenSet =
false;
120 bool m_severityHasBeenSet =
false;
121 bool m_namespaceHasBeenSet =
false;
122 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