7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/route53/Route53Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 template<
typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
47 template<
typename NameT = Aws::String>
60 template<
typename DocumentT = Aws::String>
61 void SetDocument(DocumentT&& value) { m_documentHasBeenSet =
true; m_document = std::forward<DocumentT>(value); }
62 template<
typename DocumentT = Aws::String>
73 template<
typename CommentT = Aws::String>
74 void SetComment(CommentT&& value) { m_commentHasBeenSet =
true; m_comment = std::forward<CommentT>(value); }
75 template<
typename CommentT = Aws::String>
81 bool m_nameHasBeenSet =
false;
84 bool m_documentHasBeenSet =
false;
87 bool m_commentHasBeenSet =
false;
bool NameHasBeenSet() const
AWS_ROUTE53_API CreateTrafficPolicyRequest()=default
const Aws::String & GetName() const
CreateTrafficPolicyRequest & WithDocument(DocumentT &&value)
const Aws::String & GetComment() const
virtual const char * GetServiceRequestName() const override
AWS_ROUTE53_API Aws::String SerializePayload() const override
void SetDocument(DocumentT &&value)
bool CommentHasBeenSet() const
void SetComment(CommentT &&value)
bool DocumentHasBeenSet() const
CreateTrafficPolicyRequest & WithComment(CommentT &&value)
const Aws::String & GetDocument() const
CreateTrafficPolicyRequest & WithName(NameT &&value)
void SetName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String