AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RuleVerdictToEvaluate.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/model/Analysis.h>
9#include <aws/mailmanager/model/RuleVerdictAttribute.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 MailManager
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MAILMANAGER_API RuleVerdictToEvaluate();
37 AWS_MAILMANAGER_API RuleVerdictToEvaluate(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Analysis& GetAnalysis() const{ return m_analysis; }
48 inline bool AnalysisHasBeenSet() const { return m_analysisHasBeenSet; }
49 inline void SetAnalysis(const Analysis& value) { m_analysisHasBeenSet = true; m_analysis = value; }
50 inline void SetAnalysis(Analysis&& value) { m_analysisHasBeenSet = true; m_analysis = std::move(value); }
51 inline RuleVerdictToEvaluate& WithAnalysis(const Analysis& value) { SetAnalysis(value); return *this;}
52 inline RuleVerdictToEvaluate& WithAnalysis(Analysis&& value) { SetAnalysis(std::move(value)); return *this;}
54
56
59 inline const RuleVerdictAttribute& GetAttribute() const{ return m_attribute; }
60 inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
61 inline void SetAttribute(const RuleVerdictAttribute& value) { m_attributeHasBeenSet = true; m_attribute = value; }
62 inline void SetAttribute(RuleVerdictAttribute&& value) { m_attributeHasBeenSet = true; m_attribute = std::move(value); }
63 inline RuleVerdictToEvaluate& WithAttribute(const RuleVerdictAttribute& value) { SetAttribute(value); return *this;}
64 inline RuleVerdictToEvaluate& WithAttribute(RuleVerdictAttribute&& value) { SetAttribute(std::move(value)); return *this;}
66 private:
67
68 Analysis m_analysis;
69 bool m_analysisHasBeenSet = false;
70
71 RuleVerdictAttribute m_attribute;
72 bool m_attributeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace MailManager
77} // namespace Aws
void SetAttribute(const RuleVerdictAttribute &value)
AWS_MAILMANAGER_API RuleVerdictToEvaluate(Aws::Utils::Json::JsonView jsonValue)
const RuleVerdictAttribute & GetAttribute() const
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
RuleVerdictToEvaluate & WithAttribute(RuleVerdictAttribute &&value)
RuleVerdictToEvaluate & WithAnalysis(const Analysis &value)
RuleVerdictToEvaluate & WithAnalysis(Analysis &&value)
AWS_MAILMANAGER_API RuleVerdictToEvaluate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAttribute(RuleVerdictAttribute &&value)
RuleVerdictToEvaluate & WithAttribute(const RuleVerdictAttribute &value)
Aws::Utils::Json::JsonValue JsonValue