AWS SDK for C++  1.9.156
AWS SDK for C++
SuppressionAttributes.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SESV2
23 {
24 namespace Model
25 {
26 
35  {
36  public:
41 
42 
52  inline const Aws::Vector<SuppressionListReason>& GetSuppressedReasons() const{ return m_suppressedReasons; }
53 
63  inline bool SuppressedReasonsHasBeenSet() const { return m_suppressedReasonsHasBeenSet; }
64 
74  inline void SetSuppressedReasons(const Aws::Vector<SuppressionListReason>& value) { m_suppressedReasonsHasBeenSet = true; m_suppressedReasons = value; }
75 
85  inline void SetSuppressedReasons(Aws::Vector<SuppressionListReason>&& value) { m_suppressedReasonsHasBeenSet = true; m_suppressedReasons = std::move(value); }
86 
96  inline SuppressionAttributes& WithSuppressedReasons(const Aws::Vector<SuppressionListReason>& value) { SetSuppressedReasons(value); return *this;}
97 
107  inline SuppressionAttributes& WithSuppressedReasons(Aws::Vector<SuppressionListReason>&& value) { SetSuppressedReasons(std::move(value)); return *this;}
108 
118  inline SuppressionAttributes& AddSuppressedReasons(const SuppressionListReason& value) { m_suppressedReasonsHasBeenSet = true; m_suppressedReasons.push_back(value); return *this; }
119 
129  inline SuppressionAttributes& AddSuppressedReasons(SuppressionListReason&& value) { m_suppressedReasonsHasBeenSet = true; m_suppressedReasons.push_back(std::move(value)); return *this; }
130 
131  private:
132 
133  Aws::Vector<SuppressionListReason> m_suppressedReasons;
134  bool m_suppressedReasonsHasBeenSet;
135  };
136 
137 } // namespace Model
138 } // namespace SESV2
139 } // namespace Aws
Aws::SESV2::Model::SuppressionAttributes::SuppressionAttributes
SuppressionAttributes()
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::SuppressionAttributes
Definition: SuppressionAttributes.h:35
Aws::SESV2::Model::SuppressionAttributes::SuppressedReasonsHasBeenSet
bool SuppressedReasonsHasBeenSet() const
Definition: SuppressionAttributes.h:63
Aws::SESV2::Model::SuppressionAttributes::SuppressionAttributes
SuppressionAttributes(Aws::Utils::Json::JsonView jsonValue)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SESV2::Model::SuppressionAttributes::WithSuppressedReasons
SuppressionAttributes & WithSuppressedReasons(Aws::Vector< SuppressionListReason > &&value)
Definition: SuppressionAttributes.h:107
SuppressionListReason.h
Aws::SESV2::Model::SuppressionAttributes::GetSuppressedReasons
const Aws::Vector< SuppressionListReason > & GetSuppressedReasons() const
Definition: SuppressionAttributes.h:52
Aws::SESV2::Model::SuppressionAttributes::SetSuppressedReasons
void SetSuppressedReasons(const Aws::Vector< SuppressionListReason > &value)
Definition: SuppressionAttributes.h:74
Aws::SESV2::Model::SuppressionAttributes::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
SESV2_EXPORTS.h
Aws::SESV2::Model::SuppressionAttributes::WithSuppressedReasons
SuppressionAttributes & WithSuppressedReasons(const Aws::Vector< SuppressionListReason > &value)
Definition: SuppressionAttributes.h:96
Aws::SESV2::Model::SuppressionAttributes::AddSuppressedReasons
SuppressionAttributes & AddSuppressedReasons(const SuppressionListReason &value)
Definition: SuppressionAttributes.h:118
Aws::SESV2::Model::SuppressionListReason
SuppressionListReason
Definition: SuppressionListReason.h:17
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::SuppressionAttributes::SetSuppressedReasons
void SetSuppressedReasons(Aws::Vector< SuppressionListReason > &&value)
Definition: SuppressionAttributes.h:85
Aws::SESV2::Model::SuppressionAttributes::AddSuppressedReasons
SuppressionAttributes & AddSuppressedReasons(SuppressionListReason &&value)
Definition: SuppressionAttributes.h:129
Aws::SESV2::Model::SuppressionAttributes::operator=
SuppressionAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)