AWS SDK for C++

AWS SDK for C++ Version 1.11.849

Loading...
Searching...
No Matches
ContactEvaluationAttributeAndCondition.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ContactEvaluationAttributeCondition.h>
9#include <aws/connect/model/TagCondition.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect {
22namespace Model {
23
31 public:
32 AWS_CONNECT_API ContactEvaluationAttributeAndCondition() = default;
35 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<TagCondition>& GetTagConditions() const { return m_tagConditions; }
42 inline bool TagConditionsHasBeenSet() const { return m_tagConditionsHasBeenSet; }
43 template <typename TagConditionsT = Aws::Vector<TagCondition>>
44 void SetTagConditions(TagConditionsT&& value) {
45 m_tagConditionsHasBeenSet = true;
46 m_tagConditions = std::forward<TagConditionsT>(value);
47 }
48 template <typename TagConditionsT = Aws::Vector<TagCondition>>
50 SetTagConditions(std::forward<TagConditionsT>(value));
51 return *this;
52 }
53 template <typename TagConditionsT = TagCondition>
55 m_tagConditionsHasBeenSet = true;
56 m_tagConditions.emplace_back(std::forward<TagConditionsT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::Vector<ContactEvaluationAttributeCondition>& GetAttributeConditions() const { return m_attributeConditions; }
66 inline bool AttributeConditionsHasBeenSet() const { return m_attributeConditionsHasBeenSet; }
67 template <typename AttributeConditionsT = Aws::Vector<ContactEvaluationAttributeCondition>>
68 void SetAttributeConditions(AttributeConditionsT&& value) {
69 m_attributeConditionsHasBeenSet = true;
70 m_attributeConditions = std::forward<AttributeConditionsT>(value);
71 }
72 template <typename AttributeConditionsT = Aws::Vector<ContactEvaluationAttributeCondition>>
74 SetAttributeConditions(std::forward<AttributeConditionsT>(value));
75 return *this;
76 }
77 template <typename AttributeConditionsT = ContactEvaluationAttributeCondition>
79 m_attributeConditionsHasBeenSet = true;
80 m_attributeConditions.emplace_back(std::forward<AttributeConditionsT>(value));
81 return *this;
82 }
84 private:
85 Aws::Vector<TagCondition> m_tagConditions;
86
88 bool m_tagConditionsHasBeenSet = false;
89 bool m_attributeConditionsHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace Connect
94} // namespace Aws
AWS_CONNECT_API ContactEvaluationAttributeAndCondition(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ContactEvaluationAttributeAndCondition & AddAttributeConditions(AttributeConditionsT &&value)
AWS_CONNECT_API ContactEvaluationAttributeAndCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
ContactEvaluationAttributeAndCondition & WithTagConditions(TagConditionsT &&value)
ContactEvaluationAttributeAndCondition & AddTagConditions(TagConditionsT &&value)
const Aws::Vector< ContactEvaluationAttributeCondition > & GetAttributeConditions() const
ContactEvaluationAttributeAndCondition & WithAttributeConditions(AttributeConditionsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue