7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53/Route53_EXPORTS.h>
9#include <aws/route53/model/RRType.h>
43 template <
typename RecordNameT = Aws::String>
45 m_recordNameHasBeenSet =
true;
46 m_recordName = std::forward<RecordNameT>(value);
48 template <
typename RecordNameT = Aws::String>
62 m_recordTypeHasBeenSet =
true;
84 template <
typename CodeT = Aws::String>
86 m_codeHasBeenSet =
true;
87 m_code = std::forward<CodeT>(value);
89 template <
typename CodeT = Aws::String>
91 SetCode(std::forward<CodeT>(value));
102 template <
typename MessageT = Aws::String>
104 m_messageHasBeenSet =
true;
105 m_message = std::forward<MessageT>(value);
107 template <
typename MessageT = Aws::String>
121 bool m_recordNameHasBeenSet =
false;
122 bool m_recordTypeHasBeenSet =
false;
123 bool m_codeHasBeenSet =
false;
124 bool m_messageHasBeenSet =
false;
RRType GetRecordType() const
void SetCode(CodeT &&value)
bool MessageHasBeenSet() const
bool RecordNameHasBeenSet() const
bool RecordTypeHasBeenSet() const
void SetRecordType(RRType value)
void SetRecordName(RecordNameT &&value)
const Aws::String & GetCode() const
ProtectionError & WithRecordType(RRType value)
const Aws::String & GetMessage() const
bool CodeHasBeenSet() const
ProtectionError & WithRecordName(RecordNameT &&value)
void SetMessage(MessageT &&value)
const Aws::String & GetRecordName() const
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_ROUTE53_API ProtectionError & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ROUTE53_API ProtectionError(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ROUTE53_API ProtectionError()=default
ProtectionError & WithMessage(MessageT &&value)
ProtectionError & WithCode(CodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String