AWS SDK for C++

AWS SDK for C++ Version 1.11.849

Loading...
Searching...
No Matches
RuleAttributeAndCondition.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 RuleAttributeAndCondition() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
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 private:
61 Aws::Vector<TagCondition> m_tagConditions;
62 bool m_tagConditionsHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace Connect
67} // namespace Aws
RuleAttributeAndCondition & AddTagConditions(TagConditionsT &&value)
RuleAttributeAndCondition & WithTagConditions(TagConditionsT &&value)
const Aws::Vector< TagCondition > & GetTagConditions() const
AWS_CONNECT_API RuleAttributeAndCondition(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API RuleAttributeAndCondition()=default
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API RuleAttributeAndCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue