AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CustomActionAttachmentCriteria.h
1
6#pragma once
7#include <aws/chatbot/Chatbot_EXPORTS.h>
8#include <aws/chatbot/model/CustomActionAttachmentCriteriaOperator.h>
9#include <aws/core/utils/memory/stl/AWSString.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 chatbot
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CHATBOT_API CustomActionAttachmentCriteria() = default;
39 AWS_CHATBOT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline CustomActionAttachmentCriteriaOperator GetOperator() const { return m_operator; }
47 inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; }
48 inline void SetOperator(CustomActionAttachmentCriteriaOperator value) { m_operatorHasBeenSet = true; m_operator = value; }
51
53
56 inline const Aws::String& GetVariableName() const { return m_variableName; }
57 inline bool VariableNameHasBeenSet() const { return m_variableNameHasBeenSet; }
58 template<typename VariableNameT = Aws::String>
59 void SetVariableName(VariableNameT&& value) { m_variableNameHasBeenSet = true; m_variableName = std::forward<VariableNameT>(value); }
60 template<typename VariableNameT = Aws::String>
61 CustomActionAttachmentCriteria& WithVariableName(VariableNameT&& value) { SetVariableName(std::forward<VariableNameT>(value)); return *this;}
63
65
69 inline const Aws::String& GetValue() const { return m_value; }
70 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
71 template<typename ValueT = Aws::String>
72 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
73 template<typename ValueT = Aws::String>
74 CustomActionAttachmentCriteria& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
76 private:
77
79 bool m_operatorHasBeenSet = false;
80
81 Aws::String m_variableName;
82 bool m_variableNameHasBeenSet = false;
83
84 Aws::String m_value;
85 bool m_valueHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace chatbot
90} // namespace Aws
CustomActionAttachmentCriteriaOperator GetOperator() const
void SetOperator(CustomActionAttachmentCriteriaOperator value)
AWS_CHATBOT_API CustomActionAttachmentCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomActionAttachmentCriteria & WithValue(ValueT &&value)
CustomActionAttachmentCriteria & WithOperator(CustomActionAttachmentCriteriaOperator value)
CustomActionAttachmentCriteria & WithVariableName(VariableNameT &&value)
AWS_CHATBOT_API CustomActionAttachmentCriteria(Aws::Utils::Json::JsonView jsonValue)
AWS_CHATBOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CHATBOT_API CustomActionAttachmentCriteria()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue