AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ContactFlowAttributeAndCondition.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ContactFlowTypeCondition.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 ContactFlowAttributeAndCondition() = 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 ContactFlowTypeCondition& GetContactFlowTypeCondition() const { return m_contactFlowTypeCondition; }
66 inline bool ContactFlowTypeConditionHasBeenSet() const { return m_contactFlowTypeConditionHasBeenSet; }
67 template <typename ContactFlowTypeConditionT = ContactFlowTypeCondition>
68 void SetContactFlowTypeCondition(ContactFlowTypeConditionT&& value) {
69 m_contactFlowTypeConditionHasBeenSet = true;
70 m_contactFlowTypeCondition = std::forward<ContactFlowTypeConditionT>(value);
71 }
72 template <typename ContactFlowTypeConditionT = ContactFlowTypeCondition>
74 SetContactFlowTypeCondition(std::forward<ContactFlowTypeConditionT>(value));
75 return *this;
76 }
78 private:
79 Aws::Vector<TagCondition> m_tagConditions;
80
81 ContactFlowTypeCondition m_contactFlowTypeCondition;
82 bool m_tagConditionsHasBeenSet = false;
83 bool m_contactFlowTypeConditionHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace Connect
88} // namespace Aws
AWS_CONNECT_API ContactFlowAttributeAndCondition(Aws::Utils::Json::JsonView jsonValue)
ContactFlowAttributeAndCondition & AddTagConditions(TagConditionsT &&value)
ContactFlowAttributeAndCondition & WithTagConditions(TagConditionsT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ContactFlowAttributeAndCondition & WithContactFlowTypeCondition(ContactFlowTypeConditionT &&value)
AWS_CONNECT_API ContactFlowAttributeAndCondition()=default
AWS_CONNECT_API ContactFlowAttributeAndCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue