AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
IngressStringToEvaluate.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/model/IngressAnalysis.h>
9#include <aws/mailmanager/model/IngressStringEmailAttribute.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MailManager {
21namespace Model {
22
30 public:
31 AWS_MAILMANAGER_API IngressStringToEvaluate() = default;
34 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline IngressStringEmailAttribute GetAttribute() const { return m_attribute; }
42 inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
44 m_attributeHasBeenSet = true;
45 m_attribute = value;
46 }
48 SetAttribute(value);
49 return *this;
50 }
52
54
58 inline const IngressAnalysis& GetAnalysis() const { return m_analysis; }
59 inline bool AnalysisHasBeenSet() const { return m_analysisHasBeenSet; }
60 template <typename AnalysisT = IngressAnalysis>
61 void SetAnalysis(AnalysisT&& value) {
62 m_analysisHasBeenSet = true;
63 m_analysis = std::forward<AnalysisT>(value);
64 }
65 template <typename AnalysisT = IngressAnalysis>
67 SetAnalysis(std::forward<AnalysisT>(value));
68 return *this;
69 }
71 private:
73
74 IngressAnalysis m_analysis;
75 bool m_attributeHasBeenSet = false;
76 bool m_analysisHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace MailManager
81} // namespace Aws
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
IngressStringToEvaluate & WithAttribute(IngressStringEmailAttribute value)
AWS_MAILMANAGER_API IngressStringToEvaluate()=default
AWS_MAILMANAGER_API IngressStringToEvaluate(Aws::Utils::Json::JsonView jsonValue)
void SetAttribute(IngressStringEmailAttribute value)
IngressStringToEvaluate & WithAnalysis(AnalysisT &&value)
AWS_MAILMANAGER_API IngressStringToEvaluate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue