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 IdT = Aws::String>
45 m_idHasBeenSet =
true;
46 m_id = std::forward<IdT>(value);
48 template <
typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
63 m_versionHasBeenSet =
true;
78 template <
typename NameT = Aws::String>
80 m_nameHasBeenSet =
true;
81 m_name = std::forward<NameT>(value);
83 template <
typename NameT = Aws::String>
85 SetName(std::forward<NameT>(value));
98 m_typeHasBeenSet =
true;
117 template <
typename DocumentT = Aws::String>
119 m_documentHasBeenSet =
true;
120 m_document = std::forward<DocumentT>(value);
122 template <
typename DocumentT = Aws::String>
136 template <
typename CommentT = Aws::String>
138 m_commentHasBeenSet =
true;
139 m_comment = std::forward<CommentT>(value);
141 template <
typename CommentT = Aws::String>
149 bool m_idHasBeenSet =
false;
152 bool m_versionHasBeenSet =
false;
155 bool m_nameHasBeenSet =
false;
158 bool m_typeHasBeenSet =
false;
161 bool m_documentHasBeenSet =
false;
164 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