AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
CommonAttributeAndCondition.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/TagCondition.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
30 public:
31 AWS_CONNECT_API CommonAttributeAndCondition() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<TagCondition>& GetTagConditions() const { return m_tagConditions; }
41 inline bool TagConditionsHasBeenSet() const { return m_tagConditionsHasBeenSet; }
42 template <typename TagConditionsT = Aws::Vector<TagCondition>>
43 void SetTagConditions(TagConditionsT&& value) {
44 m_tagConditionsHasBeenSet = true;
45 m_tagConditions = std::forward<TagConditionsT>(value);
46 }
47 template <typename TagConditionsT = Aws::Vector<TagCondition>>
49 SetTagConditions(std::forward<TagConditionsT>(value));
50 return *this;
51 }
52 template <typename TagConditionsT = TagCondition>
54 m_tagConditionsHasBeenSet = true;
55 m_tagConditions.emplace_back(std::forward<TagConditionsT>(value));
56 return *this;
57 }
59 private:
60 Aws::Vector<TagCondition> m_tagConditions;
61 bool m_tagConditionsHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace Connect
66} // 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