AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StringCondition.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/StringComparisonType.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 Connect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECT_API StringCondition();
37 AWS_CONNECT_API StringCondition(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetFieldName() const{ return m_fieldName; }
47 inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; }
48 inline void SetFieldName(const Aws::String& value) { m_fieldNameHasBeenSet = true; m_fieldName = value; }
49 inline void SetFieldName(Aws::String&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::move(value); }
50 inline void SetFieldName(const char* value) { m_fieldNameHasBeenSet = true; m_fieldName.assign(value); }
51 inline StringCondition& WithFieldName(const Aws::String& value) { SetFieldName(value); return *this;}
52 inline StringCondition& WithFieldName(Aws::String&& value) { SetFieldName(std::move(value)); return *this;}
53 inline StringCondition& WithFieldName(const char* value) { SetFieldName(value); return *this;}
55
57
60 inline const Aws::String& GetValue() const{ return m_value; }
61 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
62 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
63 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
64 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
65 inline StringCondition& WithValue(const Aws::String& value) { SetValue(value); return *this;}
66 inline StringCondition& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
67 inline StringCondition& WithValue(const char* value) { SetValue(value); return *this;}
69
71
74 inline const StringComparisonType& GetComparisonType() const{ return m_comparisonType; }
75 inline bool ComparisonTypeHasBeenSet() const { return m_comparisonTypeHasBeenSet; }
76 inline void SetComparisonType(const StringComparisonType& value) { m_comparisonTypeHasBeenSet = true; m_comparisonType = value; }
77 inline void SetComparisonType(StringComparisonType&& value) { m_comparisonTypeHasBeenSet = true; m_comparisonType = std::move(value); }
78 inline StringCondition& WithComparisonType(const StringComparisonType& value) { SetComparisonType(value); return *this;}
79 inline StringCondition& WithComparisonType(StringComparisonType&& value) { SetComparisonType(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_fieldName;
84 bool m_fieldNameHasBeenSet = false;
85
86 Aws::String m_value;
87 bool m_valueHasBeenSet = false;
88
89 StringComparisonType m_comparisonType;
90 bool m_comparisonTypeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Connect
95} // namespace Aws
StringCondition & WithValue(const Aws::String &value)
void SetFieldName(Aws::String &&value)
const Aws::String & GetValue() const
StringCondition & WithFieldName(Aws::String &&value)
const Aws::String & GetFieldName() const
void SetComparisonType(StringComparisonType &&value)
void SetComparisonType(const StringComparisonType &value)
AWS_CONNECT_API StringCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValue(const Aws::String &value)
StringCondition & WithFieldName(const Aws::String &value)
StringCondition & WithFieldName(const char *value)
StringCondition & WithValue(const char *value)
void SetFieldName(const char *value)
StringCondition & WithValue(Aws::String &&value)
const StringComparisonType & GetComparisonType() const
void SetValue(Aws::String &&value)
AWS_CONNECT_API StringCondition(Aws::Utils::Json::JsonView jsonValue)
void SetFieldName(const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
StringCondition & WithComparisonType(StringComparisonType &&value)
StringCondition & WithComparisonType(const StringComparisonType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue