AWS SDK for C++  1.9.155
AWS SDK for C++
DkimAttributes.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23  class JsonView;
24 } // namespace Json
25 } // namespace Utils
26 namespace SESV2
27 {
28 namespace Model
29 {
30 
47  {
48  public:
53 
54 
60  inline bool GetSigningEnabled() const{ return m_signingEnabled; }
61 
67  inline bool SigningEnabledHasBeenSet() const { return m_signingEnabledHasBeenSet; }
68 
74  inline void SetSigningEnabled(bool value) { m_signingEnabledHasBeenSet = true; m_signingEnabled = value; }
75 
81  inline DkimAttributes& WithSigningEnabled(bool value) { SetSigningEnabled(value); return *this;}
82 
83 
98  inline const DkimStatus& GetStatus() const{ return m_status; }
99 
114  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
115 
130  inline void SetStatus(const DkimStatus& value) { m_statusHasBeenSet = true; m_status = value; }
131 
146  inline void SetStatus(DkimStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
147 
162  inline DkimAttributes& WithStatus(const DkimStatus& value) { SetStatus(value); return *this;}
163 
178  inline DkimAttributes& WithStatus(DkimStatus&& value) { SetStatus(std::move(value)); return *this;}
179 
180 
194  inline const Aws::Vector<Aws::String>& GetTokens() const{ return m_tokens; }
195 
209  inline bool TokensHasBeenSet() const { return m_tokensHasBeenSet; }
210 
224  inline void SetTokens(const Aws::Vector<Aws::String>& value) { m_tokensHasBeenSet = true; m_tokens = value; }
225 
239  inline void SetTokens(Aws::Vector<Aws::String>&& value) { m_tokensHasBeenSet = true; m_tokens = std::move(value); }
240 
254  inline DkimAttributes& WithTokens(const Aws::Vector<Aws::String>& value) { SetTokens(value); return *this;}
255 
269  inline DkimAttributes& WithTokens(Aws::Vector<Aws::String>&& value) { SetTokens(std::move(value)); return *this;}
270 
284  inline DkimAttributes& AddTokens(const Aws::String& value) { m_tokensHasBeenSet = true; m_tokens.push_back(value); return *this; }
285 
299  inline DkimAttributes& AddTokens(Aws::String&& value) { m_tokensHasBeenSet = true; m_tokens.push_back(std::move(value)); return *this; }
300 
314  inline DkimAttributes& AddTokens(const char* value) { m_tokensHasBeenSet = true; m_tokens.push_back(value); return *this; }
315 
316 
326  inline const DkimSigningAttributesOrigin& GetSigningAttributesOrigin() const{ return m_signingAttributesOrigin; }
327 
337  inline bool SigningAttributesOriginHasBeenSet() const { return m_signingAttributesOriginHasBeenSet; }
338 
348  inline void SetSigningAttributesOrigin(const DkimSigningAttributesOrigin& value) { m_signingAttributesOriginHasBeenSet = true; m_signingAttributesOrigin = value; }
349 
359  inline void SetSigningAttributesOrigin(DkimSigningAttributesOrigin&& value) { m_signingAttributesOriginHasBeenSet = true; m_signingAttributesOrigin = std::move(value); }
360 
370  inline DkimAttributes& WithSigningAttributesOrigin(const DkimSigningAttributesOrigin& value) { SetSigningAttributesOrigin(value); return *this;}
371 
381  inline DkimAttributes& WithSigningAttributesOrigin(DkimSigningAttributesOrigin&& value) { SetSigningAttributesOrigin(std::move(value)); return *this;}
382 
383 
388  inline const DkimSigningKeyLength& GetNextSigningKeyLength() const{ return m_nextSigningKeyLength; }
389 
394  inline bool NextSigningKeyLengthHasBeenSet() const { return m_nextSigningKeyLengthHasBeenSet; }
395 
400  inline void SetNextSigningKeyLength(const DkimSigningKeyLength& value) { m_nextSigningKeyLengthHasBeenSet = true; m_nextSigningKeyLength = value; }
401 
406  inline void SetNextSigningKeyLength(DkimSigningKeyLength&& value) { m_nextSigningKeyLengthHasBeenSet = true; m_nextSigningKeyLength = std::move(value); }
407 
412  inline DkimAttributes& WithNextSigningKeyLength(const DkimSigningKeyLength& value) { SetNextSigningKeyLength(value); return *this;}
413 
418  inline DkimAttributes& WithNextSigningKeyLength(DkimSigningKeyLength&& value) { SetNextSigningKeyLength(std::move(value)); return *this;}
419 
420 
424  inline const DkimSigningKeyLength& GetCurrentSigningKeyLength() const{ return m_currentSigningKeyLength; }
425 
429  inline bool CurrentSigningKeyLengthHasBeenSet() const { return m_currentSigningKeyLengthHasBeenSet; }
430 
434  inline void SetCurrentSigningKeyLength(const DkimSigningKeyLength& value) { m_currentSigningKeyLengthHasBeenSet = true; m_currentSigningKeyLength = value; }
435 
439  inline void SetCurrentSigningKeyLength(DkimSigningKeyLength&& value) { m_currentSigningKeyLengthHasBeenSet = true; m_currentSigningKeyLength = std::move(value); }
440 
444  inline DkimAttributes& WithCurrentSigningKeyLength(const DkimSigningKeyLength& value) { SetCurrentSigningKeyLength(value); return *this;}
445 
449  inline DkimAttributes& WithCurrentSigningKeyLength(DkimSigningKeyLength&& value) { SetCurrentSigningKeyLength(std::move(value)); return *this;}
450 
451 
455  inline const Aws::Utils::DateTime& GetLastKeyGenerationTimestamp() const{ return m_lastKeyGenerationTimestamp; }
456 
460  inline bool LastKeyGenerationTimestampHasBeenSet() const { return m_lastKeyGenerationTimestampHasBeenSet; }
461 
465  inline void SetLastKeyGenerationTimestamp(const Aws::Utils::DateTime& value) { m_lastKeyGenerationTimestampHasBeenSet = true; m_lastKeyGenerationTimestamp = value; }
466 
470  inline void SetLastKeyGenerationTimestamp(Aws::Utils::DateTime&& value) { m_lastKeyGenerationTimestampHasBeenSet = true; m_lastKeyGenerationTimestamp = std::move(value); }
471 
475  inline DkimAttributes& WithLastKeyGenerationTimestamp(const Aws::Utils::DateTime& value) { SetLastKeyGenerationTimestamp(value); return *this;}
476 
480  inline DkimAttributes& WithLastKeyGenerationTimestamp(Aws::Utils::DateTime&& value) { SetLastKeyGenerationTimestamp(std::move(value)); return *this;}
481 
482  private:
483 
484  bool m_signingEnabled;
485  bool m_signingEnabledHasBeenSet;
486 
487  DkimStatus m_status;
488  bool m_statusHasBeenSet;
489 
490  Aws::Vector<Aws::String> m_tokens;
491  bool m_tokensHasBeenSet;
492 
493  DkimSigningAttributesOrigin m_signingAttributesOrigin;
494  bool m_signingAttributesOriginHasBeenSet;
495 
496  DkimSigningKeyLength m_nextSigningKeyLength;
497  bool m_nextSigningKeyLengthHasBeenSet;
498 
499  DkimSigningKeyLength m_currentSigningKeyLength;
500  bool m_currentSigningKeyLengthHasBeenSet;
501 
502  Aws::Utils::DateTime m_lastKeyGenerationTimestamp;
503  bool m_lastKeyGenerationTimestampHasBeenSet;
504  };
505 
506 } // namespace Model
507 } // namespace SESV2
508 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SESV2::Model::DkimAttributes::WithTokens
DkimAttributes & WithTokens(const Aws::Vector< Aws::String > &value)
Definition: DkimAttributes.h:254
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::DkimAttributes::SigningAttributesOriginHasBeenSet
bool SigningAttributesOriginHasBeenSet() const
Definition: DkimAttributes.h:337
Aws::SESV2::Model::DkimAttributes::GetCurrentSigningKeyLength
const DkimSigningKeyLength & GetCurrentSigningKeyLength() const
Definition: DkimAttributes.h:424
Aws::SESV2::Model::DkimAttributes::CurrentSigningKeyLengthHasBeenSet
bool CurrentSigningKeyLengthHasBeenSet() const
Definition: DkimAttributes.h:429
Aws::SESV2::Model::DkimAttributes::WithNextSigningKeyLength
DkimAttributes & WithNextSigningKeyLength(DkimSigningKeyLength &&value)
Definition: DkimAttributes.h:418
Aws::SESV2::Model::DkimAttributes::AddTokens
DkimAttributes & AddTokens(const char *value)
Definition: DkimAttributes.h:314
Aws::SESV2::Model::DkimAttributes::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: DkimAttributes.h:114
DkimStatus.h
DateTime.h
Aws::SESV2::Model::DkimAttributes::SetTokens
void SetTokens(const Aws::Vector< Aws::String > &value)
Definition: DkimAttributes.h:224
Aws::SESV2::Model::DkimAttributes::SetSigningAttributesOrigin
void SetSigningAttributesOrigin(DkimSigningAttributesOrigin &&value)
Definition: DkimAttributes.h:359
Aws::SESV2::Model::DkimAttributes::SetNextSigningKeyLength
void SetNextSigningKeyLength(const DkimSigningKeyLength &value)
Definition: DkimAttributes.h:400
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SESV2::Model::DkimSigningKeyLength
DkimSigningKeyLength
Definition: DkimSigningKeyLength.h:17
Aws::SESV2::Model::DkimAttributes::WithStatus
DkimAttributes & WithStatus(DkimStatus &&value)
Definition: DkimAttributes.h:178
Aws::SESV2::Model::DkimAttributes::WithSigningAttributesOrigin
DkimAttributes & WithSigningAttributesOrigin(const DkimSigningAttributesOrigin &value)
Definition: DkimAttributes.h:370
AWSVector.h
Aws::SESV2::Model::DkimAttributes::DkimAttributes
DkimAttributes()
Aws::SESV2::Model::DkimAttributes::WithLastKeyGenerationTimestamp
DkimAttributes & WithLastKeyGenerationTimestamp(Aws::Utils::DateTime &&value)
Definition: DkimAttributes.h:480
Aws::SESV2::Model::DkimAttributes::GetSigningAttributesOrigin
const DkimSigningAttributesOrigin & GetSigningAttributesOrigin() const
Definition: DkimAttributes.h:326
Aws::SESV2::Model::DkimAttributes::SetLastKeyGenerationTimestamp
void SetLastKeyGenerationTimestamp(Aws::Utils::DateTime &&value)
Definition: DkimAttributes.h:470
Aws::SESV2::Model::DkimAttributes::WithNextSigningKeyLength
DkimAttributes & WithNextSigningKeyLength(const DkimSigningKeyLength &value)
Definition: DkimAttributes.h:412
Aws::SESV2::Model::DkimAttributes::SetSigningEnabled
void SetSigningEnabled(bool value)
Definition: DkimAttributes.h:74
Aws::SESV2::Model::DkimAttributes::SetStatus
void SetStatus(const DkimStatus &value)
Definition: DkimAttributes.h:130
Aws::SESV2::Model::DkimAttributes::SetStatus
void SetStatus(DkimStatus &&value)
Definition: DkimAttributes.h:146
Aws::SESV2::Model::DkimAttributes::WithStatus
DkimAttributes & WithStatus(const DkimStatus &value)
Definition: DkimAttributes.h:162
DkimSigningAttributesOrigin.h
Aws::SESV2::Model::DkimAttributes::AddTokens
DkimAttributes & AddTokens(Aws::String &&value)
Definition: DkimAttributes.h:299
Aws::SESV2::Model::DkimAttributes
Definition: DkimAttributes.h:47
Aws::SESV2::Model::DkimAttributes::LastKeyGenerationTimestampHasBeenSet
bool LastKeyGenerationTimestampHasBeenSet() const
Definition: DkimAttributes.h:460
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SESV2::Model::DkimAttributes::WithSigningEnabled
DkimAttributes & WithSigningEnabled(bool value)
Definition: DkimAttributes.h:81
Aws::SESV2::Model::DkimAttributes::GetLastKeyGenerationTimestamp
const Aws::Utils::DateTime & GetLastKeyGenerationTimestamp() const
Definition: DkimAttributes.h:455
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SESV2::Model::DkimAttributes::SetCurrentSigningKeyLength
void SetCurrentSigningKeyLength(DkimSigningKeyLength &&value)
Definition: DkimAttributes.h:439
Aws::SESV2::Model::DkimAttributes::SetNextSigningKeyLength
void SetNextSigningKeyLength(DkimSigningKeyLength &&value)
Definition: DkimAttributes.h:406
SESV2_EXPORTS.h
Aws::SESV2::Model::DkimAttributes::AddTokens
DkimAttributes & AddTokens(const Aws::String &value)
Definition: DkimAttributes.h:284
Aws::SESV2::Model::DkimAttributes::TokensHasBeenSet
bool TokensHasBeenSet() const
Definition: DkimAttributes.h:209
Aws::SESV2::Model::DkimAttributes::SetCurrentSigningKeyLength
void SetCurrentSigningKeyLength(const DkimSigningKeyLength &value)
Definition: DkimAttributes.h:434
Aws::SESV2::Model::DkimAttributes::WithSigningAttributesOrigin
DkimAttributes & WithSigningAttributesOrigin(DkimSigningAttributesOrigin &&value)
Definition: DkimAttributes.h:381
Aws::SESV2::Model::DkimAttributes::WithCurrentSigningKeyLength
DkimAttributes & WithCurrentSigningKeyLength(DkimSigningKeyLength &&value)
Definition: DkimAttributes.h:449
Aws::SESV2::Model::DkimAttributes::SetSigningAttributesOrigin
void SetSigningAttributesOrigin(const DkimSigningAttributesOrigin &value)
Definition: DkimAttributes.h:348
Aws::SESV2::Model::DkimAttributes::GetTokens
const Aws::Vector< Aws::String > & GetTokens() const
Definition: DkimAttributes.h:194
Aws::SESV2::Model::DkimAttributes::DkimAttributes
DkimAttributes(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::DkimAttributes::GetStatus
const DkimStatus & GetStatus() const
Definition: DkimAttributes.h:98
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SESV2::Model::DkimAttributes::NextSigningKeyLengthHasBeenSet
bool NextSigningKeyLengthHasBeenSet() const
Definition: DkimAttributes.h:394
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::DkimAttributes::GetSigningEnabled
bool GetSigningEnabled() const
Definition: DkimAttributes.h:60
Aws::SESV2::Model::DkimAttributes::WithTokens
DkimAttributes & WithTokens(Aws::Vector< Aws::String > &&value)
Definition: DkimAttributes.h:269
Aws::SESV2::Model::DkimAttributes::WithLastKeyGenerationTimestamp
DkimAttributes & WithLastKeyGenerationTimestamp(const Aws::Utils::DateTime &value)
Definition: DkimAttributes.h:475
Aws::SESV2::Model::DkimSigningAttributesOrigin
DkimSigningAttributesOrigin
Definition: DkimSigningAttributesOrigin.h:17
Aws::SESV2::Model::DkimAttributes::SetLastKeyGenerationTimestamp
void SetLastKeyGenerationTimestamp(const Aws::Utils::DateTime &value)
Definition: DkimAttributes.h:465
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::DkimAttributes::GetNextSigningKeyLength
const DkimSigningKeyLength & GetNextSigningKeyLength() const
Definition: DkimAttributes.h:388
Aws::SESV2::Model::DkimAttributes::WithCurrentSigningKeyLength
DkimAttributes & WithCurrentSigningKeyLength(const DkimSigningKeyLength &value)
Definition: DkimAttributes.h:444
Aws::SESV2::Model::DkimAttributes::SetTokens
void SetTokens(Aws::Vector< Aws::String > &&value)
Definition: DkimAttributes.h:239
Aws::SESV2::Model::DkimAttributes::operator=
DkimAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
DkimSigningKeyLength.h
Aws::SESV2::Model::DkimStatus
DkimStatus
Definition: DkimStatus.h:17
Aws::SESV2::Model::DkimAttributes::SigningEnabledHasBeenSet
bool SigningEnabledHasBeenSet() const
Definition: DkimAttributes.h:67
Aws::SESV2::Model::DkimAttributes::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const