AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
SuppressionConditionThreshold.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/model/FeatureStatus.h>
9#include <aws/sesv2/model/SuppressionConfidenceThreshold.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SESV2 {
21namespace Model {
22
33 public:
34 AWS_SESV2_API SuppressionConditionThreshold() = default;
37 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
45 inline FeatureStatus GetConditionThresholdEnabled() const { return m_conditionThresholdEnabled; }
46 inline bool ConditionThresholdEnabledHasBeenSet() const { return m_conditionThresholdEnabledHasBeenSet; }
48 m_conditionThresholdEnabledHasBeenSet = true;
49 m_conditionThresholdEnabled = value;
50 }
56
58
61 inline const SuppressionConfidenceThreshold& GetOverallConfidenceThreshold() const { return m_overallConfidenceThreshold; }
62 inline bool OverallConfidenceThresholdHasBeenSet() const { return m_overallConfidenceThresholdHasBeenSet; }
63 template <typename OverallConfidenceThresholdT = SuppressionConfidenceThreshold>
64 void SetOverallConfidenceThreshold(OverallConfidenceThresholdT&& value) {
65 m_overallConfidenceThresholdHasBeenSet = true;
66 m_overallConfidenceThreshold = std::forward<OverallConfidenceThresholdT>(value);
67 }
68 template <typename OverallConfidenceThresholdT = SuppressionConfidenceThreshold>
69 SuppressionConditionThreshold& WithOverallConfidenceThreshold(OverallConfidenceThresholdT&& value) {
70 SetOverallConfidenceThreshold(std::forward<OverallConfidenceThresholdT>(value));
71 return *this;
72 }
74 private:
75 FeatureStatus m_conditionThresholdEnabled{FeatureStatus::NOT_SET};
76
77 SuppressionConfidenceThreshold m_overallConfidenceThreshold;
78 bool m_conditionThresholdEnabledHasBeenSet = false;
79 bool m_overallConfidenceThresholdHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace SESV2
84} // namespace Aws
AWS_SESV2_API SuppressionConditionThreshold & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API SuppressionConditionThreshold()=default
const SuppressionConfidenceThreshold & GetOverallConfidenceThreshold() const
SuppressionConditionThreshold & WithConditionThresholdEnabled(FeatureStatus value)
AWS_SESV2_API SuppressionConditionThreshold(Aws::Utils::Json::JsonView jsonValue)
void SetOverallConfidenceThreshold(OverallConfidenceThresholdT &&value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
SuppressionConditionThreshold & WithOverallConfidenceThreshold(OverallConfidenceThresholdT &&value)
Aws::Utils::Json::JsonValue JsonValue