AWS SDK for C++  1.8.129
AWS SDK for C++
IdentityVerificationAttributes.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace SES
23 {
24 namespace Model
25 {
26 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
48  inline const VerificationStatus& GetVerificationStatus() const{ return m_verificationStatus; }
49 
54  inline bool VerificationStatusHasBeenSet() const { return m_verificationStatusHasBeenSet; }
55 
60  inline void SetVerificationStatus(const VerificationStatus& value) { m_verificationStatusHasBeenSet = true; m_verificationStatus = value; }
61 
66  inline void SetVerificationStatus(VerificationStatus&& value) { m_verificationStatusHasBeenSet = true; m_verificationStatus = std::move(value); }
67 
72  inline IdentityVerificationAttributes& WithVerificationStatus(const VerificationStatus& value) { SetVerificationStatus(value); return *this;}
73 
78  inline IdentityVerificationAttributes& WithVerificationStatus(VerificationStatus&& value) { SetVerificationStatus(std::move(value)); return *this;}
79 
80 
85  inline const Aws::String& GetVerificationToken() const{ return m_verificationToken; }
86 
91  inline bool VerificationTokenHasBeenSet() const { return m_verificationTokenHasBeenSet; }
92 
97  inline void SetVerificationToken(const Aws::String& value) { m_verificationTokenHasBeenSet = true; m_verificationToken = value; }
98 
103  inline void SetVerificationToken(Aws::String&& value) { m_verificationTokenHasBeenSet = true; m_verificationToken = std::move(value); }
104 
109  inline void SetVerificationToken(const char* value) { m_verificationTokenHasBeenSet = true; m_verificationToken.assign(value); }
110 
115  inline IdentityVerificationAttributes& WithVerificationToken(const Aws::String& value) { SetVerificationToken(value); return *this;}
116 
121  inline IdentityVerificationAttributes& WithVerificationToken(Aws::String&& value) { SetVerificationToken(std::move(value)); return *this;}
122 
127  inline IdentityVerificationAttributes& WithVerificationToken(const char* value) { SetVerificationToken(value); return *this;}
128 
129  private:
130 
131  VerificationStatus m_verificationStatus;
132  bool m_verificationStatusHasBeenSet;
133 
134  Aws::String m_verificationToken;
135  bool m_verificationTokenHasBeenSet;
136  };
137 
138 } // namespace Model
139 } // namespace SES
140 } // namespace Aws
Aws::SES::Model::IdentityVerificationAttributes::SetVerificationToken
void SetVerificationToken(Aws::String &&value)
Definition: IdentityVerificationAttributes.h:103
Aws::SES::Model::IdentityVerificationAttributes::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::IdentityVerificationAttributes::SetVerificationStatus
void SetVerificationStatus(VerificationStatus &&value)
Definition: IdentityVerificationAttributes.h:66
Aws::SES::Model::IdentityVerificationAttributes::SetVerificationStatus
void SetVerificationStatus(const VerificationStatus &value)
Definition: IdentityVerificationAttributes.h:60
AWSStreamFwd.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::IdentityVerificationAttributes::WithVerificationStatus
IdentityVerificationAttributes & WithVerificationStatus(const VerificationStatus &value)
Definition: IdentityVerificationAttributes.h:72
Aws::SES::Model::IdentityVerificationAttributes::VerificationTokenHasBeenSet
bool VerificationTokenHasBeenSet() const
Definition: IdentityVerificationAttributes.h:91
Aws::SES::Model::IdentityVerificationAttributes::WithVerificationToken
IdentityVerificationAttributes & WithVerificationToken(const char *value)
Definition: IdentityVerificationAttributes.h:127
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::IdentityVerificationAttributes::WithVerificationStatus
IdentityVerificationAttributes & WithVerificationStatus(VerificationStatus &&value)
Definition: IdentityVerificationAttributes.h:78
AWSString.h
Aws::SES::Model::IdentityVerificationAttributes::GetVerificationStatus
const VerificationStatus & GetVerificationStatus() const
Definition: IdentityVerificationAttributes.h:48
SES_EXPORTS.h
Aws::SES::Model::IdentityVerificationAttributes::VerificationStatusHasBeenSet
bool VerificationStatusHasBeenSet() const
Definition: IdentityVerificationAttributes.h:54
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
VerificationStatus.h
Aws::SES::Model::IdentityVerificationAttributes::WithVerificationToken
IdentityVerificationAttributes & WithVerificationToken(const Aws::String &value)
Definition: IdentityVerificationAttributes.h:115
Aws::SES::Model::IdentityVerificationAttributes::operator=
IdentityVerificationAttributes & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::VerificationStatus
VerificationStatus
Definition: VerificationStatus.h:17
Aws::SES::Model::IdentityVerificationAttributes
Definition: IdentityVerificationAttributes.h:34
Aws::SES::Model::IdentityVerificationAttributes::SetVerificationToken
void SetVerificationToken(const Aws::String &value)
Definition: IdentityVerificationAttributes.h:97
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::IdentityVerificationAttributes::IdentityVerificationAttributes
IdentityVerificationAttributes()
index
int index
Definition: cJSON.h:171
Aws::SES::Model::IdentityVerificationAttributes::IdentityVerificationAttributes
IdentityVerificationAttributes(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::IdentityVerificationAttributes::SetVerificationToken
void SetVerificationToken(const char *value)
Definition: IdentityVerificationAttributes.h:109
Aws::SES::Model::IdentityVerificationAttributes::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::SES::Model::IdentityVerificationAttributes::GetVerificationToken
const Aws::String & GetVerificationToken() const
Definition: IdentityVerificationAttributes.h:85
Aws::SES::Model::IdentityVerificationAttributes::WithVerificationToken
IdentityVerificationAttributes & WithVerificationToken(Aws::String &&value)
Definition: IdentityVerificationAttributes.h:121