7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/route53/Route53_EXPORTS.h>
10#include <aws/route53/model/ProtectionError.h>
45 template <
typename MessageT = Aws::String>
47 m_messageHasBeenSet =
true;
48 m_message = std::forward<MessageT>(value);
50 template <
typename MessageT = Aws::String>
63 template <
typename ErrorsT = Aws::Vector<ProtectionError>>
65 m_errorsHasBeenSet =
true;
66 m_errors = std::forward<ErrorsT>(value);
68 template <
typename ErrorsT = Aws::Vector<ProtectionError>>
73 template <
typename ErrorsT = ProtectionError>
75 m_errorsHasBeenSet =
true;
76 m_errors.emplace_back(std::forward<ErrorsT>(value));
84 bool m_messageHasBeenSet =
false;
85 bool m_errorsHasBeenSet =
false;
ProtectionAlreadyExists & AddErrors(ErrorsT &&value)
bool MessageHasBeenSet() const
AWS_ROUTE53_API ProtectionAlreadyExists()=default
void SetErrors(ErrorsT &&value)
bool ErrorsHasBeenSet() const
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ProtectionAlreadyExists & WithMessage(MessageT &&value)
ProtectionAlreadyExists & WithErrors(ErrorsT &&value)
AWS_ROUTE53_API ProtectionAlreadyExists(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< ProtectionError > & GetErrors() const
void SetMessage(MessageT &&value)
const Aws::String & GetMessage() const
AWS_ROUTE53_API ProtectionAlreadyExists & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector