AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ArchiveStringExpression.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mailmanager/MailManager_EXPORTS.h>
10#include <aws/mailmanager/model/ArchiveStringOperator.h>
11#include <aws/mailmanager/model/ArchiveStringToEvaluate.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MailManager {
23namespace Model {
24
32 public:
33 AWS_MAILMANAGER_API ArchiveStringExpression() = default;
36 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const ArchiveStringToEvaluate& GetEvaluate() const { return m_evaluate; }
43 inline bool EvaluateHasBeenSet() const { return m_evaluateHasBeenSet; }
44 template <typename EvaluateT = ArchiveStringToEvaluate>
45 void SetEvaluate(EvaluateT&& value) {
46 m_evaluateHasBeenSet = true;
47 m_evaluate = std::forward<EvaluateT>(value);
48 }
49 template <typename EvaluateT = ArchiveStringToEvaluate>
51 SetEvaluate(std::forward<EvaluateT>(value));
52 return *this;
53 }
55
57
60 inline ArchiveStringOperator GetOperator() const { return m_operator; }
61 inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; }
63 m_operatorHasBeenSet = true;
64 m_operator = value;
65 }
67 SetOperator(value);
68 return *this;
69 }
71
73
76 inline const Aws::Vector<Aws::String>& GetValues() const { return m_values; }
77 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
78 template <typename ValuesT = Aws::Vector<Aws::String>>
79 void SetValues(ValuesT&& value) {
80 m_valuesHasBeenSet = true;
81 m_values = std::forward<ValuesT>(value);
82 }
83 template <typename ValuesT = Aws::Vector<Aws::String>>
85 SetValues(std::forward<ValuesT>(value));
86 return *this;
87 }
88 template <typename ValuesT = Aws::String>
90 m_valuesHasBeenSet = true;
91 m_values.emplace_back(std::forward<ValuesT>(value));
92 return *this;
93 }
95 private:
96 ArchiveStringToEvaluate m_evaluate;
97
99
101 bool m_evaluateHasBeenSet = false;
102 bool m_operatorHasBeenSet = false;
103 bool m_valuesHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace MailManager
108} // namespace Aws
const Aws::Vector< Aws::String > & GetValues() const
ArchiveStringExpression & WithValues(ValuesT &&value)
AWS_MAILMANAGER_API ArchiveStringExpression()=default
ArchiveStringExpression & WithOperator(ArchiveStringOperator value)
ArchiveStringExpression & AddValues(ValuesT &&value)
AWS_MAILMANAGER_API ArchiveStringExpression & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const ArchiveStringToEvaluate & GetEvaluate() const
ArchiveStringExpression & WithEvaluate(EvaluateT &&value)
AWS_MAILMANAGER_API ArchiveStringExpression(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue