AWS SDK for C++  1.8.129
AWS SDK for C++
IdentityDkimAttributes.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace SES
24 {
25 namespace Model
26 {
27 
35  {
36  public:
40 
41  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42  void OutputToStream(Aws::OStream& oStream, const char* location) const;
43 
44 
49  inline bool GetDkimEnabled() const{ return m_dkimEnabled; }
50 
55  inline bool DkimEnabledHasBeenSet() const { return m_dkimEnabledHasBeenSet; }
56 
61  inline void SetDkimEnabled(bool value) { m_dkimEnabledHasBeenSet = true; m_dkimEnabled = value; }
62 
67  inline IdentityDkimAttributes& WithDkimEnabled(bool value) { SetDkimEnabled(value); return *this;}
68 
69 
75  inline const VerificationStatus& GetDkimVerificationStatus() const{ return m_dkimVerificationStatus; }
76 
82  inline bool DkimVerificationStatusHasBeenSet() const { return m_dkimVerificationStatusHasBeenSet; }
83 
89  inline void SetDkimVerificationStatus(const VerificationStatus& value) { m_dkimVerificationStatusHasBeenSet = true; m_dkimVerificationStatus = value; }
90 
96  inline void SetDkimVerificationStatus(VerificationStatus&& value) { m_dkimVerificationStatusHasBeenSet = true; m_dkimVerificationStatus = std::move(value); }
97 
103  inline IdentityDkimAttributes& WithDkimVerificationStatus(const VerificationStatus& value) { SetDkimVerificationStatus(value); return *this;}
104 
110  inline IdentityDkimAttributes& WithDkimVerificationStatus(VerificationStatus&& value) { SetDkimVerificationStatus(std::move(value)); return *this;}
111 
112 
125  inline const Aws::Vector<Aws::String>& GetDkimTokens() const{ return m_dkimTokens; }
126 
139  inline bool DkimTokensHasBeenSet() const { return m_dkimTokensHasBeenSet; }
140 
153  inline void SetDkimTokens(const Aws::Vector<Aws::String>& value) { m_dkimTokensHasBeenSet = true; m_dkimTokens = value; }
154 
167  inline void SetDkimTokens(Aws::Vector<Aws::String>&& value) { m_dkimTokensHasBeenSet = true; m_dkimTokens = std::move(value); }
168 
181  inline IdentityDkimAttributes& WithDkimTokens(const Aws::Vector<Aws::String>& value) { SetDkimTokens(value); return *this;}
182 
195  inline IdentityDkimAttributes& WithDkimTokens(Aws::Vector<Aws::String>&& value) { SetDkimTokens(std::move(value)); return *this;}
196 
209  inline IdentityDkimAttributes& AddDkimTokens(const Aws::String& value) { m_dkimTokensHasBeenSet = true; m_dkimTokens.push_back(value); return *this; }
210 
223  inline IdentityDkimAttributes& AddDkimTokens(Aws::String&& value) { m_dkimTokensHasBeenSet = true; m_dkimTokens.push_back(std::move(value)); return *this; }
224 
237  inline IdentityDkimAttributes& AddDkimTokens(const char* value) { m_dkimTokensHasBeenSet = true; m_dkimTokens.push_back(value); return *this; }
238 
239  private:
240 
241  bool m_dkimEnabled;
242  bool m_dkimEnabledHasBeenSet;
243 
244  VerificationStatus m_dkimVerificationStatus;
245  bool m_dkimVerificationStatusHasBeenSet;
246 
247  Aws::Vector<Aws::String> m_dkimTokens;
248  bool m_dkimTokensHasBeenSet;
249  };
250 
251 } // namespace Model
252 } // namespace SES
253 } // namespace Aws
Aws::SES::Model::IdentityDkimAttributes::WithDkimTokens
IdentityDkimAttributes & WithDkimTokens(Aws::Vector< Aws::String > &&value)
Definition: IdentityDkimAttributes.h:195
Aws::SES::Model::IdentityDkimAttributes::IdentityDkimAttributes
IdentityDkimAttributes(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::IdentityDkimAttributes::WithDkimEnabled
IdentityDkimAttributes & WithDkimEnabled(bool value)
Definition: IdentityDkimAttributes.h:67
Aws::SES::Model::IdentityDkimAttributes::WithDkimTokens
IdentityDkimAttributes & WithDkimTokens(const Aws::Vector< Aws::String > &value)
Definition: IdentityDkimAttributes.h:181
Aws::SES::Model::IdentityDkimAttributes::DkimTokensHasBeenSet
bool DkimTokensHasBeenSet() const
Definition: IdentityDkimAttributes.h:139
Aws::SES::Model::IdentityDkimAttributes::GetDkimEnabled
bool GetDkimEnabled() const
Definition: IdentityDkimAttributes.h:49
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SES::Model::IdentityDkimAttributes::SetDkimVerificationStatus
void SetDkimVerificationStatus(const VerificationStatus &value)
Definition: IdentityDkimAttributes.h:89
AWSStreamFwd.h
Aws::SES::Model::IdentityDkimAttributes::AddDkimTokens
IdentityDkimAttributes & AddDkimTokens(Aws::String &&value)
Definition: IdentityDkimAttributes.h:223
AWSVector.h
Aws::SES::Model::IdentityDkimAttributes::operator=
IdentityDkimAttributes & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::IdentityDkimAttributes::SetDkimVerificationStatus
void SetDkimVerificationStatus(VerificationStatus &&value)
Definition: IdentityDkimAttributes.h:96
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::IdentityDkimAttributes::WithDkimVerificationStatus
IdentityDkimAttributes & WithDkimVerificationStatus(const VerificationStatus &value)
Definition: IdentityDkimAttributes.h:103
Aws::SES::Model::IdentityDkimAttributes::DkimEnabledHasBeenSet
bool DkimEnabledHasBeenSet() const
Definition: IdentityDkimAttributes.h:55
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::IdentityDkimAttributes::DkimVerificationStatusHasBeenSet
bool DkimVerificationStatusHasBeenSet() const
Definition: IdentityDkimAttributes.h:82
Aws::SES::Model::IdentityDkimAttributes::IdentityDkimAttributes
IdentityDkimAttributes()
Aws::SES::Model::IdentityDkimAttributes::AddDkimTokens
IdentityDkimAttributes & AddDkimTokens(const char *value)
Definition: IdentityDkimAttributes.h:237
Aws::SES::Model::IdentityDkimAttributes
Definition: IdentityDkimAttributes.h:35
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
VerificationStatus.h
Aws::SES::Model::IdentityDkimAttributes::SetDkimEnabled
void SetDkimEnabled(bool value)
Definition: IdentityDkimAttributes.h:61
Aws::SES::Model::IdentityDkimAttributes::SetDkimTokens
void SetDkimTokens(Aws::Vector< Aws::String > &&value)
Definition: IdentityDkimAttributes.h:167
Aws::SES::Model::IdentityDkimAttributes::GetDkimTokens
const Aws::Vector< Aws::String > & GetDkimTokens() const
Definition: IdentityDkimAttributes.h:125
Aws::SES::Model::IdentityDkimAttributes::GetDkimVerificationStatus
const VerificationStatus & GetDkimVerificationStatus() const
Definition: IdentityDkimAttributes.h:75
Aws::SES::Model::IdentityDkimAttributes::WithDkimVerificationStatus
IdentityDkimAttributes & WithDkimVerificationStatus(VerificationStatus &&value)
Definition: IdentityDkimAttributes.h:110
Aws::SES::Model::IdentityDkimAttributes::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::VerificationStatus
VerificationStatus
Definition: VerificationStatus.h:17
Aws::SES::Model::IdentityDkimAttributes::AddDkimTokens
IdentityDkimAttributes & AddDkimTokens(const Aws::String &value)
Definition: IdentityDkimAttributes.h:209
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:171
Aws::SES::Model::IdentityDkimAttributes::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::IdentityDkimAttributes::SetDkimTokens
void SetDkimTokens(const Aws::Vector< Aws::String > &value)
Definition: IdentityDkimAttributes.h:153