AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IdentityVerificationAttributes.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/email/model/VerificationStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace SES
23{
24namespace Model
25{
26
34 {
35 public:
39
40 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
49 inline const VerificationStatus& GetVerificationStatus() const{ return m_verificationStatus; }
50 inline bool VerificationStatusHasBeenSet() const { return m_verificationStatusHasBeenSet; }
51 inline void SetVerificationStatus(const VerificationStatus& value) { m_verificationStatusHasBeenSet = true; m_verificationStatus = value; }
52 inline void SetVerificationStatus(VerificationStatus&& value) { m_verificationStatusHasBeenSet = true; m_verificationStatus = std::move(value); }
56
58
62 inline const Aws::String& GetVerificationToken() const{ return m_verificationToken; }
63 inline bool VerificationTokenHasBeenSet() const { return m_verificationTokenHasBeenSet; }
64 inline void SetVerificationToken(const Aws::String& value) { m_verificationTokenHasBeenSet = true; m_verificationToken = value; }
65 inline void SetVerificationToken(Aws::String&& value) { m_verificationTokenHasBeenSet = true; m_verificationToken = std::move(value); }
66 inline void SetVerificationToken(const char* value) { m_verificationTokenHasBeenSet = true; m_verificationToken.assign(value); }
68 inline IdentityVerificationAttributes& WithVerificationToken(Aws::String&& value) { SetVerificationToken(std::move(value)); return *this;}
69 inline IdentityVerificationAttributes& WithVerificationToken(const char* value) { SetVerificationToken(value); return *this;}
71 private:
72
73 VerificationStatus m_verificationStatus;
74 bool m_verificationStatusHasBeenSet = false;
75
76 Aws::String m_verificationToken;
77 bool m_verificationTokenHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace SES
82} // namespace Aws
IdentityVerificationAttributes & WithVerificationStatus(const VerificationStatus &value)
void SetVerificationStatus(const VerificationStatus &value)
AWS_SES_API IdentityVerificationAttributes(const Aws::Utils::Xml::XmlNode &xmlNode)
IdentityVerificationAttributes & WithVerificationToken(Aws::String &&value)
IdentityVerificationAttributes & WithVerificationToken(const char *value)
IdentityVerificationAttributes & WithVerificationToken(const Aws::String &value)
AWS_SES_API IdentityVerificationAttributes & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
IdentityVerificationAttributes & WithVerificationStatus(VerificationStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream