AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IngressStringExpression.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/model/IngressStringToEvaluate.h>
9#include <aws/mailmanager/model/IngressStringOperator.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MailManager
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_MAILMANAGER_API IngressStringExpression();
41 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const IngressStringToEvaluate& GetEvaluate() const{ return m_evaluate; }
49 inline bool EvaluateHasBeenSet() const { return m_evaluateHasBeenSet; }
50 inline void SetEvaluate(const IngressStringToEvaluate& value) { m_evaluateHasBeenSet = true; m_evaluate = value; }
51 inline void SetEvaluate(IngressStringToEvaluate&& value) { m_evaluateHasBeenSet = true; m_evaluate = std::move(value); }
52 inline IngressStringExpression& WithEvaluate(const IngressStringToEvaluate& value) { SetEvaluate(value); return *this;}
53 inline IngressStringExpression& WithEvaluate(IngressStringToEvaluate&& value) { SetEvaluate(std::move(value)); return *this;}
55
57
60 inline const IngressStringOperator& GetOperator() const{ return m_operator; }
61 inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; }
62 inline void SetOperator(const IngressStringOperator& value) { m_operatorHasBeenSet = true; m_operator = value; }
63 inline void SetOperator(IngressStringOperator&& value) { m_operatorHasBeenSet = true; m_operator = std::move(value); }
64 inline IngressStringExpression& WithOperator(const IngressStringOperator& value) { SetOperator(value); return *this;}
65 inline IngressStringExpression& WithOperator(IngressStringOperator&& value) { SetOperator(std::move(value)); return *this;}
67
69
72 inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
73 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
74 inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
75 inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
76 inline IngressStringExpression& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
77 inline IngressStringExpression& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
78 inline IngressStringExpression& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
79 inline IngressStringExpression& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
80 inline IngressStringExpression& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
82 private:
83
84 IngressStringToEvaluate m_evaluate;
85 bool m_evaluateHasBeenSet = false;
86
87 IngressStringOperator m_operator;
88 bool m_operatorHasBeenSet = false;
89
91 bool m_valuesHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace MailManager
96} // namespace Aws
IngressStringExpression & AddValues(Aws::String &&value)
const IngressStringToEvaluate & GetEvaluate() const
IngressStringExpression & WithValues(const Aws::Vector< Aws::String > &value)
IngressStringExpression & WithEvaluate(const IngressStringToEvaluate &value)
AWS_MAILMANAGER_API IngressStringExpression & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValues(Aws::Vector< Aws::String > &&value)
void SetValues(const Aws::Vector< Aws::String > &value)
AWS_MAILMANAGER_API IngressStringExpression(Aws::Utils::Json::JsonView jsonValue)
const IngressStringOperator & GetOperator() const
void SetEvaluate(IngressStringToEvaluate &&value)
IngressStringExpression & WithOperator(IngressStringOperator &&value)
IngressStringExpression & AddValues(const Aws::String &value)
void SetOperator(const IngressStringOperator &value)
IngressStringExpression & WithOperator(const IngressStringOperator &value)
IngressStringExpression & WithEvaluate(IngressStringToEvaluate &&value)
IngressStringExpression & WithValues(Aws::Vector< Aws::String > &&value)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEvaluate(const IngressStringToEvaluate &value)
const Aws::Vector< Aws::String > & GetValues() const
IngressStringExpression & AddValues(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue