AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace chatbot {
21namespace Model {
22
30 public:
31 AWS_CHATBOT_API CustomActionAttachmentCriteria() = default;
34 AWS_CHATBOT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline CustomActionAttachmentCriteriaOperator GetOperator() const { return m_operator; }
41 inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; }
43 m_operatorHasBeenSet = true;
44 m_operator = value;
45 }
47 SetOperator(value);
48 return *this;
49 }
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) {
60 m_variableNameHasBeenSet = true;
61 m_variableName = std::forward<VariableNameT>(value);
62 }
63 template <typename VariableNameT = Aws::String>
65 SetVariableName(std::forward<VariableNameT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetValue() const { return m_value; }
76 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
77 template <typename ValueT = Aws::String>
78 void SetValue(ValueT&& value) {
79 m_valueHasBeenSet = true;
80 m_value = std::forward<ValueT>(value);
81 }
82 template <typename ValueT = Aws::String>
84 SetValue(std::forward<ValueT>(value));
85 return *this;
86 }
88 private:
90
91 Aws::String m_variableName;
92
93 Aws::String m_value;
94 bool m_operatorHasBeenSet = false;
95 bool m_variableNameHasBeenSet = false;
96 bool m_valueHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace chatbot
101} // 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