AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SuppressionAttributes.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sesv2/model/SuppressionListReason.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SESV2
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_SESV2_API SuppressionAttributes();
40 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
53 inline const Aws::Vector<SuppressionListReason>& GetSuppressedReasons() const{ return m_suppressedReasons; }
54 inline bool SuppressedReasonsHasBeenSet() const { return m_suppressedReasonsHasBeenSet; }
55 inline void SetSuppressedReasons(const Aws::Vector<SuppressionListReason>& value) { m_suppressedReasonsHasBeenSet = true; m_suppressedReasons = value; }
56 inline void SetSuppressedReasons(Aws::Vector<SuppressionListReason>&& value) { m_suppressedReasonsHasBeenSet = true; m_suppressedReasons = std::move(value); }
59 inline SuppressionAttributes& AddSuppressedReasons(const SuppressionListReason& value) { m_suppressedReasonsHasBeenSet = true; m_suppressedReasons.push_back(value); return *this; }
60 inline SuppressionAttributes& AddSuppressedReasons(SuppressionListReason&& value) { m_suppressedReasonsHasBeenSet = true; m_suppressedReasons.push_back(std::move(value)); return *this; }
62 private:
63
64 Aws::Vector<SuppressionListReason> m_suppressedReasons;
65 bool m_suppressedReasonsHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace SESV2
70} // namespace Aws
const Aws::Vector< SuppressionListReason > & GetSuppressedReasons() const
SuppressionAttributes & WithSuppressedReasons(const Aws::Vector< SuppressionListReason > &value)
SuppressionAttributes & AddSuppressedReasons(const SuppressionListReason &value)
void SetSuppressedReasons(Aws::Vector< SuppressionListReason > &&value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
SuppressionAttributes & AddSuppressedReasons(SuppressionListReason &&value)
AWS_SESV2_API SuppressionAttributes(Aws::Utils::Json::JsonView jsonValue)
void SetSuppressedReasons(const Aws::Vector< SuppressionListReason > &value)
SuppressionAttributes & WithSuppressedReasons(Aws::Vector< SuppressionListReason > &&value)
AWS_SESV2_API SuppressionAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue