AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SuppressedDestinationSummary.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sesv2/model/SuppressionListReason.h>
10#include <aws/core/utils/DateTime.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:
40 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; }
48 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
49 inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; }
50 inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); }
51 inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); }
52 inline SuppressedDestinationSummary& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
53 inline SuppressedDestinationSummary& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
54 inline SuppressedDestinationSummary& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;}
56
58
62 inline const SuppressionListReason& GetReason() const{ return m_reason; }
63 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
64 inline void SetReason(const SuppressionListReason& value) { m_reasonHasBeenSet = true; m_reason = value; }
65 inline void SetReason(SuppressionListReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
66 inline SuppressedDestinationSummary& WithReason(const SuppressionListReason& value) { SetReason(value); return *this;}
67 inline SuppressedDestinationSummary& WithReason(SuppressionListReason&& value) { SetReason(std::move(value)); return *this;}
69
71
75 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
76 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
77 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
78 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
82 private:
83
84 Aws::String m_emailAddress;
85 bool m_emailAddressHasBeenSet = false;
86
87 SuppressionListReason m_reason;
88 bool m_reasonHasBeenSet = false;
89
90 Aws::Utils::DateTime m_lastUpdateTime;
91 bool m_lastUpdateTimeHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace SESV2
96} // namespace Aws
SuppressedDestinationSummary & WithReason(const SuppressionListReason &value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SESV2_API SuppressedDestinationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API SuppressedDestinationSummary(Aws::Utils::Json::JsonView jsonValue)
SuppressedDestinationSummary & WithEmailAddress(const Aws::String &value)
SuppressedDestinationSummary & WithLastUpdateTime(Aws::Utils::DateTime &&value)
void SetReason(const SuppressionListReason &value)
SuppressedDestinationSummary & WithLastUpdateTime(const Aws::Utils::DateTime &value)
SuppressedDestinationSummary & WithReason(SuppressionListReason &&value)
SuppressedDestinationSummary & WithEmailAddress(Aws::String &&value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
SuppressedDestinationSummary & WithEmailAddress(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue