AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VerificationInfo.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/sesv2/model/VerificationError.h>
10#include <aws/sesv2/model/SOARecord.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SESV2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SESV2_API VerificationInfo();
40 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetLastCheckedTimestamp() const{ return m_lastCheckedTimestamp; }
48 inline bool LastCheckedTimestampHasBeenSet() const { return m_lastCheckedTimestampHasBeenSet; }
49 inline void SetLastCheckedTimestamp(const Aws::Utils::DateTime& value) { m_lastCheckedTimestampHasBeenSet = true; m_lastCheckedTimestamp = value; }
50 inline void SetLastCheckedTimestamp(Aws::Utils::DateTime&& value) { m_lastCheckedTimestampHasBeenSet = true; m_lastCheckedTimestamp = std::move(value); }
54
56
59 inline const Aws::Utils::DateTime& GetLastSuccessTimestamp() const{ return m_lastSuccessTimestamp; }
60 inline bool LastSuccessTimestampHasBeenSet() const { return m_lastSuccessTimestampHasBeenSet; }
61 inline void SetLastSuccessTimestamp(const Aws::Utils::DateTime& value) { m_lastSuccessTimestampHasBeenSet = true; m_lastSuccessTimestamp = value; }
62 inline void SetLastSuccessTimestamp(Aws::Utils::DateTime&& value) { m_lastSuccessTimestampHasBeenSet = true; m_lastSuccessTimestamp = std::move(value); }
66
68
84 inline const VerificationError& GetErrorType() const{ return m_errorType; }
85 inline bool ErrorTypeHasBeenSet() const { return m_errorTypeHasBeenSet; }
86 inline void SetErrorType(const VerificationError& value) { m_errorTypeHasBeenSet = true; m_errorType = value; }
87 inline void SetErrorType(VerificationError&& value) { m_errorTypeHasBeenSet = true; m_errorType = std::move(value); }
88 inline VerificationInfo& WithErrorType(const VerificationError& value) { SetErrorType(value); return *this;}
89 inline VerificationInfo& WithErrorType(VerificationError&& value) { SetErrorType(std::move(value)); return *this;}
91
93
97 inline const SOARecord& GetSOARecord() const{ return m_sOARecord; }
98 inline bool SOARecordHasBeenSet() const { return m_sOARecordHasBeenSet; }
99 inline void SetSOARecord(const SOARecord& value) { m_sOARecordHasBeenSet = true; m_sOARecord = value; }
100 inline void SetSOARecord(SOARecord&& value) { m_sOARecordHasBeenSet = true; m_sOARecord = std::move(value); }
101 inline VerificationInfo& WithSOARecord(const SOARecord& value) { SetSOARecord(value); return *this;}
102 inline VerificationInfo& WithSOARecord(SOARecord&& value) { SetSOARecord(std::move(value)); return *this;}
104 private:
105
106 Aws::Utils::DateTime m_lastCheckedTimestamp;
107 bool m_lastCheckedTimestampHasBeenSet = false;
108
109 Aws::Utils::DateTime m_lastSuccessTimestamp;
110 bool m_lastSuccessTimestampHasBeenSet = false;
111
112 VerificationError m_errorType;
113 bool m_errorTypeHasBeenSet = false;
114
115 SOARecord m_sOARecord;
116 bool m_sOARecordHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace SESV2
121} // namespace Aws
void SetLastCheckedTimestamp(Aws::Utils::DateTime &&value)
VerificationInfo & WithLastCheckedTimestamp(const Aws::Utils::DateTime &value)
void SetErrorType(const VerificationError &value)
VerificationInfo & WithLastSuccessTimestamp(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastCheckedTimestamp() const
AWS_SESV2_API VerificationInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
VerificationInfo & WithSOARecord(SOARecord &&value)
VerificationInfo & WithErrorType(VerificationError &&value)
void SetLastSuccessTimestamp(const Aws::Utils::DateTime &value)
void SetLastSuccessTimestamp(Aws::Utils::DateTime &&value)
VerificationInfo & WithSOARecord(const SOARecord &value)
void SetErrorType(VerificationError &&value)
VerificationInfo & WithErrorType(const VerificationError &value)
void SetSOARecord(const SOARecord &value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
VerificationInfo & WithLastCheckedTimestamp(Aws::Utils::DateTime &&value)
const SOARecord & GetSOARecord() const
AWS_SESV2_API VerificationInfo(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastSuccessTimestamp() const
void SetLastCheckedTimestamp(const Aws::Utils::DateTime &value)
const VerificationError & GetErrorType() const
VerificationInfo & WithLastSuccessTimestamp(Aws::Utils::DateTime &&value)
Aws::Utils::Json::JsonValue JsonValue