AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTagConditions(const Aws::Vector<TagCondition>& value) { m_tagConditionsHasBeenSet = true; m_tagConditions = value; }
49 inline void SetTagConditions(Aws::Vector<TagCondition>&& value) { m_tagConditionsHasBeenSet = true; m_tagConditions = std::move(value); }
52 inline CommonAttributeAndCondition& AddTagConditions(const TagCondition& value) { m_tagConditionsHasBeenSet = true; m_tagConditions.push_back(value); return *this; }
53 inline CommonAttributeAndCondition& AddTagConditions(TagCondition&& value) { m_tagConditionsHasBeenSet = true; m_tagConditions.push_back(std::move(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
CommonAttributeAndCondition & WithTagConditions(Aws::Vector< TagCondition > &&value)
CommonAttributeAndCondition & AddTagConditions(const TagCondition &value)
void SetTagConditions(const Aws::Vector< TagCondition > &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 & WithTagConditions(const Aws::Vector< TagCondition > &value)
void SetTagConditions(Aws::Vector< TagCondition > &&value)
CommonAttributeAndCondition & AddTagConditions(TagCondition &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue