AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CommonAttributeAndCondition.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/TagCondition.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 CommonAttributeAndCondition() = default;
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<TagCondition>& GetTagConditions() const { return m_tagConditions; }
47 inline bool TagConditionsHasBeenSet() const { return m_tagConditionsHasBeenSet; }
48 template<typename TagConditionsT = Aws::Vector<TagCondition>>
49 void SetTagConditions(TagConditionsT&& value) { m_tagConditionsHasBeenSet = true; m_tagConditions = std::forward<TagConditionsT>(value); }
50 template<typename TagConditionsT = Aws::Vector<TagCondition>>
51 CommonAttributeAndCondition& WithTagConditions(TagConditionsT&& value) { SetTagConditions(std::forward<TagConditionsT>(value)); return *this;}
52 template<typename TagConditionsT = TagCondition>
53 CommonAttributeAndCondition& AddTagConditions(TagConditionsT&& value) { m_tagConditionsHasBeenSet = true; m_tagConditions.emplace_back(std::forward<TagConditionsT>(value)); return *this; }
55 private:
56
57 Aws::Vector<TagCondition> m_tagConditions;
58 bool m_tagConditionsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace Connect
63} // namespace Aws
AWS_CONNECT_API CommonAttributeAndCondition()=default
CommonAttributeAndCondition & WithTagConditions(TagConditionsT &&value)
const Aws::Vector< TagCondition > & GetTagConditions() const
AWS_CONNECT_API CommonAttributeAndCondition(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API CommonAttributeAndCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
CommonAttributeAndCondition & AddTagConditions(TagConditionsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue