AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DkimAttributes.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/model/DkimStatus.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sesv2/model/DkimSigningAttributesOrigin.h>
11#include <aws/sesv2/model/DkimSigningKeyLength.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SESV2
27{
28namespace Model
29{
30
47 {
48 public:
49 AWS_SESV2_API DkimAttributes();
52 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
53
54
56
61 inline bool GetSigningEnabled() const{ return m_signingEnabled; }
62 inline bool SigningEnabledHasBeenSet() const { return m_signingEnabledHasBeenSet; }
63 inline void SetSigningEnabled(bool value) { m_signingEnabledHasBeenSet = true; m_signingEnabled = value; }
64 inline DkimAttributes& WithSigningEnabled(bool value) { SetSigningEnabled(value); return *this;}
66
68
82 inline const DkimStatus& GetStatus() const{ return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
84 inline void SetStatus(const DkimStatus& value) { m_statusHasBeenSet = true; m_status = value; }
85 inline void SetStatus(DkimStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
86 inline DkimAttributes& WithStatus(const DkimStatus& value) { SetStatus(value); return *this;}
87 inline DkimAttributes& WithStatus(DkimStatus&& value) { SetStatus(std::move(value)); return *this;}
89
91
104 inline const Aws::Vector<Aws::String>& GetTokens() const{ return m_tokens; }
105 inline bool TokensHasBeenSet() const { return m_tokensHasBeenSet; }
106 inline void SetTokens(const Aws::Vector<Aws::String>& value) { m_tokensHasBeenSet = true; m_tokens = value; }
107 inline void SetTokens(Aws::Vector<Aws::String>&& value) { m_tokensHasBeenSet = true; m_tokens = std::move(value); }
108 inline DkimAttributes& WithTokens(const Aws::Vector<Aws::String>& value) { SetTokens(value); return *this;}
109 inline DkimAttributes& WithTokens(Aws::Vector<Aws::String>&& value) { SetTokens(std::move(value)); return *this;}
110 inline DkimAttributes& AddTokens(const Aws::String& value) { m_tokensHasBeenSet = true; m_tokens.push_back(value); return *this; }
111 inline DkimAttributes& AddTokens(Aws::String&& value) { m_tokensHasBeenSet = true; m_tokens.push_back(std::move(value)); return *this; }
112 inline DkimAttributes& AddTokens(const char* value) { m_tokensHasBeenSet = true; m_tokens.push_back(value); return *this; }
114
116
125 inline const DkimSigningAttributesOrigin& GetSigningAttributesOrigin() const{ return m_signingAttributesOrigin; }
126 inline bool SigningAttributesOriginHasBeenSet() const { return m_signingAttributesOriginHasBeenSet; }
127 inline void SetSigningAttributesOrigin(const DkimSigningAttributesOrigin& value) { m_signingAttributesOriginHasBeenSet = true; m_signingAttributesOrigin = value; }
128 inline void SetSigningAttributesOrigin(DkimSigningAttributesOrigin&& value) { m_signingAttributesOriginHasBeenSet = true; m_signingAttributesOrigin = std::move(value); }
132
134
138 inline const DkimSigningKeyLength& GetNextSigningKeyLength() const{ return m_nextSigningKeyLength; }
139 inline bool NextSigningKeyLengthHasBeenSet() const { return m_nextSigningKeyLengthHasBeenSet; }
140 inline void SetNextSigningKeyLength(const DkimSigningKeyLength& value) { m_nextSigningKeyLengthHasBeenSet = true; m_nextSigningKeyLength = value; }
141 inline void SetNextSigningKeyLength(DkimSigningKeyLength&& value) { m_nextSigningKeyLengthHasBeenSet = true; m_nextSigningKeyLength = std::move(value); }
143 inline DkimAttributes& WithNextSigningKeyLength(DkimSigningKeyLength&& value) { SetNextSigningKeyLength(std::move(value)); return *this;}
145
147
150 inline const DkimSigningKeyLength& GetCurrentSigningKeyLength() const{ return m_currentSigningKeyLength; }
151 inline bool CurrentSigningKeyLengthHasBeenSet() const { return m_currentSigningKeyLengthHasBeenSet; }
152 inline void SetCurrentSigningKeyLength(const DkimSigningKeyLength& value) { m_currentSigningKeyLengthHasBeenSet = true; m_currentSigningKeyLength = value; }
153 inline void SetCurrentSigningKeyLength(DkimSigningKeyLength&& value) { m_currentSigningKeyLengthHasBeenSet = true; m_currentSigningKeyLength = std::move(value); }
157
159
162 inline const Aws::Utils::DateTime& GetLastKeyGenerationTimestamp() const{ return m_lastKeyGenerationTimestamp; }
163 inline bool LastKeyGenerationTimestampHasBeenSet() const { return m_lastKeyGenerationTimestampHasBeenSet; }
164 inline void SetLastKeyGenerationTimestamp(const Aws::Utils::DateTime& value) { m_lastKeyGenerationTimestampHasBeenSet = true; m_lastKeyGenerationTimestamp = value; }
165 inline void SetLastKeyGenerationTimestamp(Aws::Utils::DateTime&& value) { m_lastKeyGenerationTimestampHasBeenSet = true; m_lastKeyGenerationTimestamp = std::move(value); }
169 private:
170
171 bool m_signingEnabled;
172 bool m_signingEnabledHasBeenSet = false;
173
174 DkimStatus m_status;
175 bool m_statusHasBeenSet = false;
176
178 bool m_tokensHasBeenSet = false;
179
180 DkimSigningAttributesOrigin m_signingAttributesOrigin;
181 bool m_signingAttributesOriginHasBeenSet = false;
182
183 DkimSigningKeyLength m_nextSigningKeyLength;
184 bool m_nextSigningKeyLengthHasBeenSet = false;
185
186 DkimSigningKeyLength m_currentSigningKeyLength;
187 bool m_currentSigningKeyLengthHasBeenSet = false;
188
189 Aws::Utils::DateTime m_lastKeyGenerationTimestamp;
190 bool m_lastKeyGenerationTimestampHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace SESV2
195} // namespace Aws
void SetCurrentSigningKeyLength(const DkimSigningKeyLength &value)
void SetStatus(const DkimStatus &value)
void SetSigningAttributesOrigin(DkimSigningAttributesOrigin &&value)
DkimAttributes & WithTokens(const Aws::Vector< Aws::String > &value)
DkimAttributes & WithSigningAttributesOrigin(DkimSigningAttributesOrigin &&value)
DkimAttributes & WithSigningAttributesOrigin(const DkimSigningAttributesOrigin &value)
const DkimStatus & GetStatus() const
const DkimSigningAttributesOrigin & GetSigningAttributesOrigin() const
void SetLastKeyGenerationTimestamp(Aws::Utils::DateTime &&value)
void SetTokens(const Aws::Vector< Aws::String > &value)
DkimAttributes & WithNextSigningKeyLength(DkimSigningKeyLength &&value)
void SetSigningAttributesOrigin(const DkimSigningAttributesOrigin &value)
DkimAttributes & WithNextSigningKeyLength(const DkimSigningKeyLength &value)
void SetStatus(DkimStatus &&value)
AWS_SESV2_API DkimAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
DkimAttributes & WithCurrentSigningKeyLength(const DkimSigningKeyLength &value)
const Aws::Utils::DateTime & GetLastKeyGenerationTimestamp() const
void SetNextSigningKeyLength(const DkimSigningKeyLength &value)
DkimAttributes & AddTokens(Aws::String &&value)
void SetLastKeyGenerationTimestamp(const Aws::Utils::DateTime &value)
DkimAttributes & WithLastKeyGenerationTimestamp(const Aws::Utils::DateTime &value)
DkimAttributes & WithStatus(const DkimStatus &value)
void SetCurrentSigningKeyLength(DkimSigningKeyLength &&value)
DkimAttributes & WithLastKeyGenerationTimestamp(Aws::Utils::DateTime &&value)
DkimAttributes & WithCurrentSigningKeyLength(DkimSigningKeyLength &&value)
const DkimSigningKeyLength & GetCurrentSigningKeyLength() const
const DkimSigningKeyLength & GetNextSigningKeyLength() const
AWS_SESV2_API DkimAttributes(Aws::Utils::Json::JsonView jsonValue)
void SetNextSigningKeyLength(DkimSigningKeyLength &&value)
DkimAttributes & WithStatus(DkimStatus &&value)
DkimAttributes & WithTokens(Aws::Vector< Aws::String > &&value)
DkimAttributes & AddTokens(const Aws::String &value)
DkimAttributes & WithSigningEnabled(bool value)
DkimAttributes & AddTokens(const char *value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTokens(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetTokens() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue