AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
CommandParameterValueCondition.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/CommandParameterValueComparisonOperand.h>
9#include <aws/iot/model/CommandParameterValueComparisonOperator.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoT {
21namespace Model {
22
30 public:
31 AWS_IOT_API CommandParameterValueCondition() = default;
35
37
41 inline CommandParameterValueComparisonOperator GetComparisonOperator() const { return m_comparisonOperator; }
42 inline bool ComparisonOperatorHasBeenSet() const { return m_comparisonOperatorHasBeenSet; }
44 m_comparisonOperatorHasBeenSet = true;
45 m_comparisonOperator = value;
46 }
49 return *this;
50 }
52
54
57 inline const CommandParameterValueComparisonOperand& GetOperand() const { return m_operand; }
58 inline bool OperandHasBeenSet() const { return m_operandHasBeenSet; }
59 template <typename OperandT = CommandParameterValueComparisonOperand>
60 void SetOperand(OperandT&& value) {
61 m_operandHasBeenSet = true;
62 m_operand = std::forward<OperandT>(value);
63 }
64 template <typename OperandT = CommandParameterValueComparisonOperand>
66 SetOperand(std::forward<OperandT>(value));
67 return *this;
68 }
70 private:
72
73 CommandParameterValueComparisonOperand m_operand;
74 bool m_comparisonOperatorHasBeenSet = false;
75 bool m_operandHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace IoT
80} // namespace Aws
void SetComparisonOperator(CommandParameterValueComparisonOperator value)
AWS_IOT_API CommandParameterValueCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
CommandParameterValueCondition & WithOperand(OperandT &&value)
AWS_IOT_API CommandParameterValueCondition(Aws::Utils::Json::JsonView jsonValue)
const CommandParameterValueComparisonOperand & GetOperand() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
CommandParameterValueComparisonOperator GetComparisonOperator() const
CommandParameterValueCondition & WithComparisonOperator(CommandParameterValueComparisonOperator value)
Aws::Utils::Json::JsonValue JsonValue