AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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