AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ValidationTokenDetail.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace CloudFront
21{
22namespace Model
23{
24
31 {
32 public:
33 AWS_CLOUDFRONT_API ValidationTokenDetail() = default;
34 AWS_CLOUDFRONT_API ValidationTokenDetail(const Aws::Utils::Xml::XmlNode& xmlNode);
35 AWS_CLOUDFRONT_API ValidationTokenDetail& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
36
37 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
38
39
41
44 inline const Aws::String& GetDomain() const { return m_domain; }
45 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
46 template<typename DomainT = Aws::String>
47 void SetDomain(DomainT&& value) { m_domainHasBeenSet = true; m_domain = std::forward<DomainT>(value); }
48 template<typename DomainT = Aws::String>
49 ValidationTokenDetail& WithDomain(DomainT&& value) { SetDomain(std::forward<DomainT>(value)); return *this;}
51
53
56 inline const Aws::String& GetRedirectTo() const { return m_redirectTo; }
57 inline bool RedirectToHasBeenSet() const { return m_redirectToHasBeenSet; }
58 template<typename RedirectToT = Aws::String>
59 void SetRedirectTo(RedirectToT&& value) { m_redirectToHasBeenSet = true; m_redirectTo = std::forward<RedirectToT>(value); }
60 template<typename RedirectToT = Aws::String>
61 ValidationTokenDetail& WithRedirectTo(RedirectToT&& value) { SetRedirectTo(std::forward<RedirectToT>(value)); return *this;}
63
65
68 inline const Aws::String& GetRedirectFrom() const { return m_redirectFrom; }
69 inline bool RedirectFromHasBeenSet() const { return m_redirectFromHasBeenSet; }
70 template<typename RedirectFromT = Aws::String>
71 void SetRedirectFrom(RedirectFromT&& value) { m_redirectFromHasBeenSet = true; m_redirectFrom = std::forward<RedirectFromT>(value); }
72 template<typename RedirectFromT = Aws::String>
73 ValidationTokenDetail& WithRedirectFrom(RedirectFromT&& value) { SetRedirectFrom(std::forward<RedirectFromT>(value)); return *this;}
75 private:
76
77 Aws::String m_domain;
78 bool m_domainHasBeenSet = false;
79
80 Aws::String m_redirectTo;
81 bool m_redirectToHasBeenSet = false;
82
83 Aws::String m_redirectFrom;
84 bool m_redirectFromHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace CloudFront
89} // namespace Aws
AWS_CLOUDFRONT_API ValidationTokenDetail & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ValidationTokenDetail & WithDomain(DomainT &&value)
AWS_CLOUDFRONT_API ValidationTokenDetail(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ValidationTokenDetail & WithRedirectTo(RedirectToT &&value)
ValidationTokenDetail & WithRedirectFrom(RedirectFromT &&value)
AWS_CLOUDFRONT_API ValidationTokenDetail()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String