AWS SDK for C++  1.9.153
AWS SDK for C++
SuppressionOptions.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 
34  {
35  public:
40 
41 
51  inline const Aws::Vector<SuppressionListReason>& GetSuppressedReasons() const{ return m_suppressedReasons; }
52 
62  inline bool SuppressedReasonsHasBeenSet() const { return m_suppressedReasonsHasBeenSet; }
63 
73  inline void SetSuppressedReasons(const Aws::Vector<SuppressionListReason>& value) { m_suppressedReasonsHasBeenSet = true; m_suppressedReasons = value; }
74 
84  inline void SetSuppressedReasons(Aws::Vector<SuppressionListReason>&& value) { m_suppressedReasonsHasBeenSet = true; m_suppressedReasons = std::move(value); }
85 
95  inline SuppressionOptions& WithSuppressedReasons(const Aws::Vector<SuppressionListReason>& value) { SetSuppressedReasons(value); return *this;}
96 
106  inline SuppressionOptions& WithSuppressedReasons(Aws::Vector<SuppressionListReason>&& value) { SetSuppressedReasons(std::move(value)); return *this;}
107 
117  inline SuppressionOptions& AddSuppressedReasons(const SuppressionListReason& value) { m_suppressedReasonsHasBeenSet = true; m_suppressedReasons.push_back(value); return *this; }
118 
128  inline SuppressionOptions& AddSuppressedReasons(SuppressionListReason&& value) { m_suppressedReasonsHasBeenSet = true; m_suppressedReasons.push_back(std::move(value)); return *this; }
129 
130  private:
131 
132  Aws::Vector<SuppressionListReason> m_suppressedReasons;
133  bool m_suppressedReasonsHasBeenSet;
134  };
135 
136 } // namespace Model
137 } // namespace SESV2
138 } // namespace Aws
Aws::SESV2::Model::SuppressionOptions::SuppressionOptions
SuppressionOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::SuppressionOptions::WithSuppressedReasons
SuppressionOptions & WithSuppressedReasons(Aws::Vector< SuppressionListReason > &&value)
Definition: SuppressionOptions.h:106
Aws::SESV2::Model::SuppressionOptions::SuppressionOptions
SuppressionOptions()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SESV2::Model::SuppressionOptions::WithSuppressedReasons
SuppressionOptions & WithSuppressedReasons(const Aws::Vector< SuppressionListReason > &value)
Definition: SuppressionOptions.h:95
Aws::SESV2::Model::SuppressionOptions
Definition: SuppressionOptions.h:34
SuppressionListReason.h
Aws::SESV2::Model::SuppressionOptions::AddSuppressedReasons
SuppressionOptions & AddSuppressedReasons(const SuppressionListReason &value)
Definition: SuppressionOptions.h:117
Aws::SESV2::Model::SuppressionOptions::SetSuppressedReasons
void SetSuppressedReasons(const Aws::Vector< SuppressionListReason > &value)
Definition: SuppressionOptions.h:73
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
SESV2_EXPORTS.h
Aws::SESV2::Model::SuppressionOptions::GetSuppressedReasons
const Aws::Vector< SuppressionListReason > & GetSuppressedReasons() const
Definition: SuppressionOptions.h:51
Aws::SESV2::Model::SuppressionListReason
SuppressionListReason
Definition: SuppressionListReason.h:17
Aws::SESV2::Model::SuppressionOptions::AddSuppressedReasons
SuppressionOptions & AddSuppressedReasons(SuppressionListReason &&value)
Definition: SuppressionOptions.h:128
Aws::SESV2::Model::SuppressionOptions::SetSuppressedReasons
void SetSuppressedReasons(Aws::Vector< SuppressionListReason > &&value)
Definition: SuppressionOptions.h:84
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::SuppressionOptions::SuppressedReasonsHasBeenSet
bool SuppressedReasonsHasBeenSet() const
Definition: SuppressionOptions.h:62
Aws::SESV2::Model::SuppressionOptions::operator=
SuppressionOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::SuppressionOptions::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const