AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IdentityDkimAttributes.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/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace SES
24{
25namespace Model
26{
27
35 {
36 public:
40
41 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
50 inline bool GetDkimEnabled() const{ return m_dkimEnabled; }
51 inline bool DkimEnabledHasBeenSet() const { return m_dkimEnabledHasBeenSet; }
52 inline void SetDkimEnabled(bool value) { m_dkimEnabledHasBeenSet = true; m_dkimEnabled = value; }
53 inline IdentityDkimAttributes& WithDkimEnabled(bool value) { SetDkimEnabled(value); return *this;}
55
57
62 inline const VerificationStatus& GetDkimVerificationStatus() const{ return m_dkimVerificationStatus; }
63 inline bool DkimVerificationStatusHasBeenSet() const { return m_dkimVerificationStatusHasBeenSet; }
64 inline void SetDkimVerificationStatus(const VerificationStatus& value) { m_dkimVerificationStatusHasBeenSet = true; m_dkimVerificationStatus = value; }
65 inline void SetDkimVerificationStatus(VerificationStatus&& value) { m_dkimVerificationStatusHasBeenSet = true; m_dkimVerificationStatus = std::move(value); }
69
71
83 inline const Aws::Vector<Aws::String>& GetDkimTokens() const{ return m_dkimTokens; }
84 inline bool DkimTokensHasBeenSet() const { return m_dkimTokensHasBeenSet; }
85 inline void SetDkimTokens(const Aws::Vector<Aws::String>& value) { m_dkimTokensHasBeenSet = true; m_dkimTokens = value; }
86 inline void SetDkimTokens(Aws::Vector<Aws::String>&& value) { m_dkimTokensHasBeenSet = true; m_dkimTokens = std::move(value); }
87 inline IdentityDkimAttributes& WithDkimTokens(const Aws::Vector<Aws::String>& value) { SetDkimTokens(value); return *this;}
88 inline IdentityDkimAttributes& WithDkimTokens(Aws::Vector<Aws::String>&& value) { SetDkimTokens(std::move(value)); return *this;}
89 inline IdentityDkimAttributes& AddDkimTokens(const Aws::String& value) { m_dkimTokensHasBeenSet = true; m_dkimTokens.push_back(value); return *this; }
90 inline IdentityDkimAttributes& AddDkimTokens(Aws::String&& value) { m_dkimTokensHasBeenSet = true; m_dkimTokens.push_back(std::move(value)); return *this; }
91 inline IdentityDkimAttributes& AddDkimTokens(const char* value) { m_dkimTokensHasBeenSet = true; m_dkimTokens.push_back(value); return *this; }
93 private:
94
95 bool m_dkimEnabled;
96 bool m_dkimEnabledHasBeenSet = false;
97
98 VerificationStatus m_dkimVerificationStatus;
99 bool m_dkimVerificationStatusHasBeenSet = false;
100
101 Aws::Vector<Aws::String> m_dkimTokens;
102 bool m_dkimTokensHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace SES
107} // namespace Aws
IdentityDkimAttributes & AddDkimTokens(const char *value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
IdentityDkimAttributes & WithDkimTokens(const Aws::Vector< Aws::String > &value)
AWS_SES_API IdentityDkimAttributes(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< Aws::String > & GetDkimTokens() const
IdentityDkimAttributes & WithDkimEnabled(bool value)
IdentityDkimAttributes & WithDkimTokens(Aws::Vector< Aws::String > &&value)
IdentityDkimAttributes & AddDkimTokens(const Aws::String &value)
void SetDkimVerificationStatus(const VerificationStatus &value)
void SetDkimTokens(Aws::Vector< Aws::String > &&value)
void SetDkimTokens(const Aws::Vector< Aws::String > &value)
IdentityDkimAttributes & AddDkimTokens(Aws::String &&value)
AWS_SES_API IdentityDkimAttributes & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
IdentityDkimAttributes & WithDkimVerificationStatus(VerificationStatus &&value)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
IdentityDkimAttributes & WithDkimVerificationStatus(const VerificationStatus &value)
const VerificationStatus & GetDkimVerificationStatus() const
void SetDkimVerificationStatus(VerificationStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream