7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53/model/RRType.h>
49 template<
typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
51 template<
typename IdT = Aws::String>
62 inline void SetVersion(
int value) { m_versionHasBeenSet =
true; m_version = value; }
72 template<
typename NameT = Aws::String>
73 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
74 template<
typename NameT = Aws::String>
85 inline void SetType(
RRType value) { m_typeHasBeenSet =
true; m_type = value; }
99 template<
typename DocumentT = Aws::String>
100 void SetDocument(DocumentT&& value) { m_documentHasBeenSet =
true; m_document = std::forward<DocumentT>(value); }
101 template<
typename DocumentT = Aws::String>
112 template<
typename CommentT = Aws::String>
113 void SetComment(CommentT&& value) { m_commentHasBeenSet =
true; m_comment = std::forward<CommentT>(value); }
114 template<
typename CommentT = Aws::String>
120 bool m_idHasBeenSet =
false;
123 bool m_versionHasBeenSet =
false;
126 bool m_nameHasBeenSet =
false;
129 bool m_typeHasBeenSet =
false;
132 bool m_documentHasBeenSet =
false;
135 bool m_commentHasBeenSet =
false;
TrafficPolicy & WithDocument(DocumentT &&value)
TrafficPolicy & WithVersion(int value)
AWS_ROUTE53_API TrafficPolicy & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TrafficPolicy & WithType(RRType value)
const Aws::String & GetDocument() const
TrafficPolicy & WithName(NameT &&value)
const Aws::String & GetId() const
const Aws::String & GetName() const
bool DocumentHasBeenSet() const
void SetVersion(int value)
TrafficPolicy & WithComment(CommentT &&value)
AWS_ROUTE53_API TrafficPolicy()=default
void SetName(NameT &&value)
void SetDocument(DocumentT &&value)
AWS_ROUTE53_API TrafficPolicy(const Aws::Utils::Xml::XmlNode &xmlNode)
TrafficPolicy & WithId(IdT &&value)
bool VersionHasBeenSet() const
bool CommentHasBeenSet() const
bool IdHasBeenSet() const
bool NameHasBeenSet() const
bool TypeHasBeenSet() const
void SetType(RRType value)
const Aws::String & GetComment() const
void SetComment(CommentT &&value)
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String