AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AttributeCondition.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/MatchCriteria.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 AttributeCondition();
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline AttributeCondition& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline AttributeCondition& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline AttributeCondition& WithName(const char* value) { SetName(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 AttributeCondition& WithValue(const Aws::String& value) { SetValue(value); return *this;}
66 inline AttributeCondition& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
67 inline AttributeCondition& WithValue(const char* value) { SetValue(value); return *this;}
69
71
74 inline double GetProficiencyLevel() const{ return m_proficiencyLevel; }
75 inline bool ProficiencyLevelHasBeenSet() const { return m_proficiencyLevelHasBeenSet; }
76 inline void SetProficiencyLevel(double value) { m_proficiencyLevelHasBeenSet = true; m_proficiencyLevel = value; }
77 inline AttributeCondition& WithProficiencyLevel(double value) { SetProficiencyLevel(value); return *this;}
79
81
84 inline const MatchCriteria& GetMatchCriteria() const{ return m_matchCriteria; }
85 inline bool MatchCriteriaHasBeenSet() const { return m_matchCriteriaHasBeenSet; }
86 inline void SetMatchCriteria(const MatchCriteria& value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria = value; }
87 inline void SetMatchCriteria(MatchCriteria&& value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria = std::move(value); }
88 inline AttributeCondition& WithMatchCriteria(const MatchCriteria& value) { SetMatchCriteria(value); return *this;}
89 inline AttributeCondition& WithMatchCriteria(MatchCriteria&& value) { SetMatchCriteria(std::move(value)); return *this;}
91
93
96 inline const Aws::String& GetComparisonOperator() const{ return m_comparisonOperator; }
97 inline bool ComparisonOperatorHasBeenSet() const { return m_comparisonOperatorHasBeenSet; }
98 inline void SetComparisonOperator(const Aws::String& value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator = value; }
99 inline void SetComparisonOperator(Aws::String&& value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator = std::move(value); }
100 inline void SetComparisonOperator(const char* value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator.assign(value); }
101 inline AttributeCondition& WithComparisonOperator(const Aws::String& value) { SetComparisonOperator(value); return *this;}
102 inline AttributeCondition& WithComparisonOperator(Aws::String&& value) { SetComparisonOperator(std::move(value)); return *this;}
103 inline AttributeCondition& WithComparisonOperator(const char* value) { SetComparisonOperator(value); return *this;}
105 private:
106
107 Aws::String m_name;
108 bool m_nameHasBeenSet = false;
109
110 Aws::String m_value;
111 bool m_valueHasBeenSet = false;
112
113 double m_proficiencyLevel;
114 bool m_proficiencyLevelHasBeenSet = false;
115
116 MatchCriteria m_matchCriteria;
117 bool m_matchCriteriaHasBeenSet = false;
118
119 Aws::String m_comparisonOperator;
120 bool m_comparisonOperatorHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Connect
125} // namespace Aws
AttributeCondition & WithMatchCriteria(MatchCriteria &&value)
void SetComparisonOperator(Aws::String &&value)
AttributeCondition & WithValue(const Aws::String &value)
void SetMatchCriteria(MatchCriteria &&value)
void SetName(const Aws::String &value)
void SetValue(const Aws::String &value)
AttributeCondition & WithProficiencyLevel(double value)
AttributeCondition & WithComparisonOperator(const Aws::String &value)
AttributeCondition & WithName(const char *value)
AttributeCondition & WithName(const Aws::String &value)
AttributeCondition & WithName(Aws::String &&value)
AttributeCondition & WithComparisonOperator(const char *value)
AWS_CONNECT_API AttributeCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
AttributeCondition & WithComparisonOperator(Aws::String &&value)
AWS_CONNECT_API AttributeCondition(Aws::Utils::Json::JsonView jsonValue)
AttributeCondition & WithValue(const char *value)
AttributeCondition & WithMatchCriteria(const MatchCriteria &value)
const MatchCriteria & GetMatchCriteria() const
const Aws::String & GetComparisonOperator() const
void SetMatchCriteria(const MatchCriteria &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetComparisonOperator(const Aws::String &value)
AttributeCondition & WithValue(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue