AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ArchiveStringExpression.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/model/ArchiveStringToEvaluate.h>
9#include <aws/mailmanager/model/ArchiveStringOperator.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 ArchiveStringExpression();
41 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const ArchiveStringToEvaluate& GetEvaluate() const{ return m_evaluate; }
49 inline bool EvaluateHasBeenSet() const { return m_evaluateHasBeenSet; }
50 inline void SetEvaluate(const ArchiveStringToEvaluate& value) { m_evaluateHasBeenSet = true; m_evaluate = value; }
51 inline void SetEvaluate(ArchiveStringToEvaluate&& value) { m_evaluateHasBeenSet = true; m_evaluate = std::move(value); }
52 inline ArchiveStringExpression& WithEvaluate(const ArchiveStringToEvaluate& value) { SetEvaluate(value); return *this;}
53 inline ArchiveStringExpression& WithEvaluate(ArchiveStringToEvaluate&& value) { SetEvaluate(std::move(value)); return *this;}
55
57
60 inline const ArchiveStringOperator& GetOperator() const{ return m_operator; }
61 inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; }
62 inline void SetOperator(const ArchiveStringOperator& value) { m_operatorHasBeenSet = true; m_operator = value; }
63 inline void SetOperator(ArchiveStringOperator&& value) { m_operatorHasBeenSet = true; m_operator = std::move(value); }
64 inline ArchiveStringExpression& WithOperator(const ArchiveStringOperator& value) { SetOperator(value); return *this;}
65 inline ArchiveStringExpression& WithOperator(ArchiveStringOperator&& 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 ArchiveStringExpression& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
77 inline ArchiveStringExpression& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
78 inline ArchiveStringExpression& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
79 inline ArchiveStringExpression& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
80 inline ArchiveStringExpression& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
82 private:
83
84 ArchiveStringToEvaluate m_evaluate;
85 bool m_evaluateHasBeenSet = false;
86
87 ArchiveStringOperator m_operator;
88 bool m_operatorHasBeenSet = false;
89
91 bool m_valuesHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace MailManager
96} // namespace Aws
const Aws::Vector< Aws::String > & GetValues() const
void SetOperator(const ArchiveStringOperator &value)
ArchiveStringExpression & WithValues(const Aws::Vector< Aws::String > &value)
ArchiveStringExpression & WithValues(Aws::Vector< Aws::String > &&value)
void SetEvaluate(const ArchiveStringToEvaluate &value)
const ArchiveStringOperator & GetOperator() const
ArchiveStringExpression & AddValues(Aws::String &&value)
ArchiveStringExpression & WithEvaluate(ArchiveStringToEvaluate &&value)
ArchiveStringExpression & AddValues(const char *value)
ArchiveStringExpression & WithOperator(ArchiveStringOperator &&value)
AWS_MAILMANAGER_API ArchiveStringExpression & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEvaluate(ArchiveStringToEvaluate &&value)
const ArchiveStringToEvaluate & GetEvaluate() const
void SetValues(Aws::Vector< Aws::String > &&value)
ArchiveStringExpression & WithEvaluate(const ArchiveStringToEvaluate &value)
AWS_MAILMANAGER_API ArchiveStringExpression(Aws::Utils::Json::JsonView jsonValue)
void SetValues(const Aws::Vector< Aws::String > &value)
ArchiveStringExpression & WithOperator(const ArchiveStringOperator &value)
ArchiveStringExpression & AddValues(const Aws::String &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