AWS SDK for C++  1.9.159
AWS SDK for C++
SuppressedDestinationSummary.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SESV2
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; }
47 
51  inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
52 
56  inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; }
57 
61  inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); }
62 
66  inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); }
67 
71  inline SuppressedDestinationSummary& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
72 
76  inline SuppressedDestinationSummary& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
77 
81  inline SuppressedDestinationSummary& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;}
82 
83 
88  inline const SuppressionListReason& GetReason() const{ return m_reason; }
89 
94  inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
95 
100  inline void SetReason(const SuppressionListReason& value) { m_reasonHasBeenSet = true; m_reason = value; }
101 
106  inline void SetReason(SuppressionListReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
107 
112  inline SuppressedDestinationSummary& WithReason(const SuppressionListReason& value) { SetReason(value); return *this;}
113 
118  inline SuppressedDestinationSummary& WithReason(SuppressionListReason&& value) { SetReason(std::move(value)); return *this;}
119 
120 
125  inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
126 
131  inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
132 
137  inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
138 
143  inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
144 
149  inline SuppressedDestinationSummary& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
150 
155  inline SuppressedDestinationSummary& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
156 
157  private:
158 
159  Aws::String m_emailAddress;
160  bool m_emailAddressHasBeenSet;
161 
162  SuppressionListReason m_reason;
163  bool m_reasonHasBeenSet;
164 
165  Aws::Utils::DateTime m_lastUpdateTime;
166  bool m_lastUpdateTimeHasBeenSet;
167  };
168 
169 } // namespace Model
170 } // namespace SESV2
171 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SESV2::Model::SuppressedDestinationSummary::WithReason
SuppressedDestinationSummary & WithReason(SuppressionListReason &&value)
Definition: SuppressedDestinationSummary.h:118
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
DateTime.h
Aws::SESV2::Model::SuppressedDestinationSummary::SuppressedDestinationSummary
SuppressedDestinationSummary()
Aws::SESV2::Model::SuppressedDestinationSummary::WithReason
SuppressedDestinationSummary & WithReason(const SuppressionListReason &value)
Definition: SuppressedDestinationSummary.h:112
Aws::SESV2::Model::SuppressedDestinationSummary::WithEmailAddress
SuppressedDestinationSummary & WithEmailAddress(const char *value)
Definition: SuppressedDestinationSummary.h:81
Aws::SESV2::Model::SuppressedDestinationSummary::SetLastUpdateTime
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
Definition: SuppressedDestinationSummary.h:137
Aws::SESV2::Model::SuppressedDestinationSummary::WithEmailAddress
SuppressedDestinationSummary & WithEmailAddress(const Aws::String &value)
Definition: SuppressedDestinationSummary.h:71
SuppressionListReason.h
Aws::SESV2::Model::SuppressedDestinationSummary::SetEmailAddress
void SetEmailAddress(const Aws::String &value)
Definition: SuppressedDestinationSummary.h:56
Aws::SESV2::Model::SuppressedDestinationSummary::SetReason
void SetReason(const SuppressionListReason &value)
Definition: SuppressedDestinationSummary.h:100
Aws::SESV2::Model::SuppressedDestinationSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
SESV2_EXPORTS.h
Aws::SESV2::Model::SuppressedDestinationSummary::SuppressedDestinationSummary
SuppressedDestinationSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::SuppressedDestinationSummary::SetEmailAddress
void SetEmailAddress(Aws::String &&value)
Definition: SuppressedDestinationSummary.h:61
Aws::SESV2::Model::SuppressedDestinationSummary::WithLastUpdateTime
SuppressedDestinationSummary & WithLastUpdateTime(const Aws::Utils::DateTime &value)
Definition: SuppressedDestinationSummary.h:149
Aws::SESV2::Model::SuppressionListReason
SuppressionListReason
Definition: SuppressionListReason.h:17
Aws::SESV2::Model::SuppressedDestinationSummary::ReasonHasBeenSet
bool ReasonHasBeenSet() const
Definition: SuppressedDestinationSummary.h:94
Aws::SESV2::Model::SuppressedDestinationSummary::LastUpdateTimeHasBeenSet
bool LastUpdateTimeHasBeenSet() const
Definition: SuppressedDestinationSummary.h:131
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::SuppressedDestinationSummary::SetReason
void SetReason(SuppressionListReason &&value)
Definition: SuppressedDestinationSummary.h:106
Aws::SESV2::Model::SuppressedDestinationSummary::EmailAddressHasBeenSet
bool EmailAddressHasBeenSet() const
Definition: SuppressedDestinationSummary.h:51
Aws::SESV2::Model::SuppressedDestinationSummary::GetEmailAddress
const Aws::String & GetEmailAddress() const
Definition: SuppressedDestinationSummary.h:46
Aws::SESV2::Model::SuppressedDestinationSummary::operator=
SuppressedDestinationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::SuppressedDestinationSummary::GetLastUpdateTime
const Aws::Utils::DateTime & GetLastUpdateTime() const
Definition: SuppressedDestinationSummary.h:125
Aws::SESV2::Model::SuppressedDestinationSummary::WithEmailAddress
SuppressedDestinationSummary & WithEmailAddress(Aws::String &&value)
Definition: SuppressedDestinationSummary.h:76
Aws::SESV2::Model::SuppressedDestinationSummary::WithLastUpdateTime
SuppressedDestinationSummary & WithLastUpdateTime(Aws::Utils::DateTime &&value)
Definition: SuppressedDestinationSummary.h:155
Aws::SESV2::Model::SuppressedDestinationSummary::GetReason
const SuppressionListReason & GetReason() const
Definition: SuppressedDestinationSummary.h:88
Aws::SESV2::Model::SuppressedDestinationSummary
Definition: SuppressedDestinationSummary.h:35
Aws::SESV2::Model::SuppressedDestinationSummary::SetLastUpdateTime
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
Definition: SuppressedDestinationSummary.h:143
Aws::SESV2::Model::SuppressedDestinationSummary::SetEmailAddress
void SetEmailAddress(const char *value)
Definition: SuppressedDestinationSummary.h:66