AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AvailMatchingCriteria.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediatailor/model/Operator.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaTailor
23{
24namespace Model
25{
26
48 {
49 public:
50 AWS_MEDIATAILOR_API AvailMatchingCriteria();
51 AWS_MEDIATAILOR_API AvailMatchingCriteria(Aws::Utils::Json::JsonView jsonValue);
53 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
54
55
57
66 inline const Aws::String& GetDynamicVariable() const{ return m_dynamicVariable; }
67 inline bool DynamicVariableHasBeenSet() const { return m_dynamicVariableHasBeenSet; }
68 inline void SetDynamicVariable(const Aws::String& value) { m_dynamicVariableHasBeenSet = true; m_dynamicVariable = value; }
69 inline void SetDynamicVariable(Aws::String&& value) { m_dynamicVariableHasBeenSet = true; m_dynamicVariable = std::move(value); }
70 inline void SetDynamicVariable(const char* value) { m_dynamicVariableHasBeenSet = true; m_dynamicVariable.assign(value); }
71 inline AvailMatchingCriteria& WithDynamicVariable(const Aws::String& value) { SetDynamicVariable(value); return *this;}
72 inline AvailMatchingCriteria& WithDynamicVariable(Aws::String&& value) { SetDynamicVariable(std::move(value)); return *this;}
73 inline AvailMatchingCriteria& WithDynamicVariable(const char* value) { SetDynamicVariable(value); return *this;}
75
77
82 inline const Operator& GetOperator() const{ return m_operator; }
83 inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; }
84 inline void SetOperator(const Operator& value) { m_operatorHasBeenSet = true; m_operator = value; }
85 inline void SetOperator(Operator&& value) { m_operatorHasBeenSet = true; m_operator = std::move(value); }
86 inline AvailMatchingCriteria& WithOperator(const Operator& value) { SetOperator(value); return *this;}
87 inline AvailMatchingCriteria& WithOperator(Operator&& value) { SetOperator(std::move(value)); return *this;}
89 private:
90
91 Aws::String m_dynamicVariable;
92 bool m_dynamicVariableHasBeenSet = false;
93
94 Operator m_operator;
95 bool m_operatorHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace MediaTailor
100} // namespace Aws
AWS_MEDIATAILOR_API AvailMatchingCriteria(Aws::Utils::Json::JsonView jsonValue)
AvailMatchingCriteria & WithDynamicVariable(const char *value)
AvailMatchingCriteria & WithOperator(const Operator &value)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
AvailMatchingCriteria & WithOperator(Operator &&value)
AvailMatchingCriteria & WithDynamicVariable(const Aws::String &value)
AvailMatchingCriteria & WithDynamicVariable(Aws::String &&value)
AWS_MEDIATAILOR_API AvailMatchingCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue