AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
StringCondition.h
1
6#pragma once
7#include <aws/backupsearch/BackupSearch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/backupsearch/model/StringConditionOperator.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 BackupSearch
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BACKUPSEARCH_API StringCondition() = default;
37 AWS_BACKUPSEARCH_API StringCondition(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BACKUPSEARCH_API StringCondition& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetValue() const { return m_value; }
47 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
48 template<typename ValueT = Aws::String>
49 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
50 template<typename ValueT = Aws::String>
51 StringCondition& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
53
55
62 inline StringConditionOperator GetOperator() const { return m_operator; }
63 inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; }
64 inline void SetOperator(StringConditionOperator value) { m_operatorHasBeenSet = true; m_operator = value; }
65 inline StringCondition& WithOperator(StringConditionOperator value) { SetOperator(value); return *this;}
67 private:
68
69 Aws::String m_value;
70 bool m_valueHasBeenSet = false;
71
73 bool m_operatorHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace BackupSearch
78} // namespace Aws
StringCondition & WithOperator(StringConditionOperator value)
AWS_BACKUPSEARCH_API StringCondition()=default
AWS_BACKUPSEARCH_API StringCondition(Aws::Utils::Json::JsonView jsonValue)
void SetOperator(StringConditionOperator value)
StringConditionOperator GetOperator() const
StringCondition & WithValue(ValueT &&value)
AWS_BACKUPSEARCH_API StringCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue