AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AttributeAndCondition.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/connect/model/HierarchyGroupCondition.h>
10#include <aws/connect/model/TagCondition.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Connect
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CONNECT_API AttributeAndCondition();
40 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<TagCondition>& GetTagConditions() const{ return m_tagConditions; }
48 inline bool TagConditionsHasBeenSet() const { return m_tagConditionsHasBeenSet; }
49 inline void SetTagConditions(const Aws::Vector<TagCondition>& value) { m_tagConditionsHasBeenSet = true; m_tagConditions = value; }
50 inline void SetTagConditions(Aws::Vector<TagCondition>&& value) { m_tagConditionsHasBeenSet = true; m_tagConditions = std::move(value); }
52 inline AttributeAndCondition& WithTagConditions(Aws::Vector<TagCondition>&& value) { SetTagConditions(std::move(value)); return *this;}
53 inline AttributeAndCondition& AddTagConditions(const TagCondition& value) { m_tagConditionsHasBeenSet = true; m_tagConditions.push_back(value); return *this; }
54 inline AttributeAndCondition& AddTagConditions(TagCondition&& value) { m_tagConditionsHasBeenSet = true; m_tagConditions.push_back(std::move(value)); return *this; }
56
58
59 inline const HierarchyGroupCondition& GetHierarchyGroupCondition() const{ return m_hierarchyGroupCondition; }
60 inline bool HierarchyGroupConditionHasBeenSet() const { return m_hierarchyGroupConditionHasBeenSet; }
61 inline void SetHierarchyGroupCondition(const HierarchyGroupCondition& value) { m_hierarchyGroupConditionHasBeenSet = true; m_hierarchyGroupCondition = value; }
62 inline void SetHierarchyGroupCondition(HierarchyGroupCondition&& value) { m_hierarchyGroupConditionHasBeenSet = true; m_hierarchyGroupCondition = std::move(value); }
66 private:
67
68 Aws::Vector<TagCondition> m_tagConditions;
69 bool m_tagConditionsHasBeenSet = false;
70
71 HierarchyGroupCondition m_hierarchyGroupCondition;
72 bool m_hierarchyGroupConditionHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Connect
77} // namespace Aws
const Aws::Vector< TagCondition > & GetTagConditions() const
void SetTagConditions(const Aws::Vector< TagCondition > &value)
void SetHierarchyGroupCondition(HierarchyGroupCondition &&value)
AttributeAndCondition & WithTagConditions(Aws::Vector< TagCondition > &&value)
void SetHierarchyGroupCondition(const HierarchyGroupCondition &value)
AttributeAndCondition & WithHierarchyGroupCondition(const HierarchyGroupCondition &value)
AWS_CONNECT_API AttributeAndCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
AttributeAndCondition & AddTagConditions(TagCondition &&value)
AWS_CONNECT_API AttributeAndCondition(Aws::Utils::Json::JsonView jsonValue)
void SetTagConditions(Aws::Vector< TagCondition > &&value)
AttributeAndCondition & AddTagConditions(const TagCondition &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AttributeAndCondition & WithHierarchyGroupCondition(HierarchyGroupCondition &&value)
AttributeAndCondition & WithTagConditions(const Aws::Vector< TagCondition > &value)
const HierarchyGroupCondition & GetHierarchyGroupCondition() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue