AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
VerifyDomainIdentityResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/email/SES_EXPORTS.h>
10#include <aws/email/model/ResponseMetadata.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace SES {
24namespace Model {
32 public:
33 AWS_SES_API VerifyDomainIdentityResult() = default;
36
38
48 inline const Aws::String& GetVerificationToken() const { return m_verificationToken; }
49 template <typename VerificationTokenT = Aws::String>
50 void SetVerificationToken(VerificationTokenT&& value) {
51 m_verificationTokenHasBeenSet = true;
52 m_verificationToken = std::forward<VerificationTokenT>(value);
53 }
54 template <typename VerificationTokenT = Aws::String>
56 SetVerificationToken(std::forward<VerificationTokenT>(value));
57 return *this;
58 }
60
62
63 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
64 template <typename ResponseMetadataT = ResponseMetadata>
65 void SetResponseMetadata(ResponseMetadataT&& value) {
66 m_responseMetadataHasBeenSet = true;
67 m_responseMetadata = std::forward<ResponseMetadataT>(value);
68 }
69 template <typename ResponseMetadataT = ResponseMetadata>
71 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
72 return *this;
73 }
75 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
76
77 private:
78 Aws::String m_verificationToken;
79
80 ResponseMetadata m_responseMetadata;
81 Aws::Http::HttpResponseCode m_HttpResponseCode;
82 bool m_verificationTokenHasBeenSet = false;
83 bool m_responseMetadataHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace SES
88} // namespace Aws
AWS_SES_API VerifyDomainIdentityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_SES_API VerifyDomainIdentityResult()=default
VerifyDomainIdentityResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_SES_API VerifyDomainIdentityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
VerifyDomainIdentityResult & WithVerificationToken(VerificationTokenT &&value)
void SetVerificationToken(VerificationTokenT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument