AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
MailboxValidation.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/model/EmailAddressInsightsMailboxEvaluations.h>
9#include <aws/sesv2/model/EmailAddressInsightsVerdict.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SESV2 {
21namespace Model {
22
30 public:
31 AWS_SESV2_API MailboxValidation() = default;
34 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const EmailAddressInsightsVerdict& GetIsValid() const { return m_isValid; }
41 inline bool IsValidHasBeenSet() const { return m_isValidHasBeenSet; }
42 template <typename IsValidT = EmailAddressInsightsVerdict>
43 void SetIsValid(IsValidT&& value) {
44 m_isValidHasBeenSet = true;
45 m_isValid = std::forward<IsValidT>(value);
46 }
47 template <typename IsValidT = EmailAddressInsightsVerdict>
48 MailboxValidation& WithIsValid(IsValidT&& value) {
49 SetIsValid(std::forward<IsValidT>(value));
50 return *this;
51 }
53
55
58 inline const EmailAddressInsightsMailboxEvaluations& GetEvaluations() const { return m_evaluations; }
59 inline bool EvaluationsHasBeenSet() const { return m_evaluationsHasBeenSet; }
60 template <typename EvaluationsT = EmailAddressInsightsMailboxEvaluations>
61 void SetEvaluations(EvaluationsT&& value) {
62 m_evaluationsHasBeenSet = true;
63 m_evaluations = std::forward<EvaluationsT>(value);
64 }
65 template <typename EvaluationsT = EmailAddressInsightsMailboxEvaluations>
66 MailboxValidation& WithEvaluations(EvaluationsT&& value) {
67 SetEvaluations(std::forward<EvaluationsT>(value));
68 return *this;
69 }
71 private:
73
75 bool m_isValidHasBeenSet = false;
76 bool m_evaluationsHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace SESV2
81} // namespace Aws
void SetEvaluations(EvaluationsT &&value)
MailboxValidation & WithEvaluations(EvaluationsT &&value)
MailboxValidation & WithIsValid(IsValidT &&value)
AWS_SESV2_API MailboxValidation(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SESV2_API MailboxValidation & operator=(Aws::Utils::Json::JsonView jsonValue)
const EmailAddressInsightsMailboxEvaluations & GetEvaluations() const
AWS_SESV2_API MailboxValidation()=default
const EmailAddressInsightsVerdict & GetIsValid() const
Aws::Utils::Json::JsonValue JsonValue