AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrCondition.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/qconnect/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 QConnect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QCONNECT_API OrCondition();
37 AWS_QCONNECT_API OrCondition(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QCONNECT_API OrCondition& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<TagCondition>& GetAndConditions() const{ return m_andConditions; }
48 inline bool AndConditionsHasBeenSet() const { return m_andConditionsHasBeenSet; }
49 inline void SetAndConditions(const Aws::Vector<TagCondition>& value) { m_andConditionsHasBeenSet = true; m_andConditions = value; }
50 inline void SetAndConditions(Aws::Vector<TagCondition>&& value) { m_andConditionsHasBeenSet = true; m_andConditions = std::move(value); }
51 inline OrCondition& WithAndConditions(const Aws::Vector<TagCondition>& value) { SetAndConditions(value); return *this;}
52 inline OrCondition& WithAndConditions(Aws::Vector<TagCondition>&& value) { SetAndConditions(std::move(value)); return *this;}
53 inline OrCondition& AddAndConditions(const TagCondition& value) { m_andConditionsHasBeenSet = true; m_andConditions.push_back(value); return *this; }
54 inline OrCondition& AddAndConditions(TagCondition&& value) { m_andConditionsHasBeenSet = true; m_andConditions.push_back(std::move(value)); return *this; }
56
58
61 inline const TagCondition& GetTagCondition() const{ return m_tagCondition; }
62 inline bool TagConditionHasBeenSet() const { return m_tagConditionHasBeenSet; }
63 inline void SetTagCondition(const TagCondition& value) { m_tagConditionHasBeenSet = true; m_tagCondition = value; }
64 inline void SetTagCondition(TagCondition&& value) { m_tagConditionHasBeenSet = true; m_tagCondition = std::move(value); }
65 inline OrCondition& WithTagCondition(const TagCondition& value) { SetTagCondition(value); return *this;}
66 inline OrCondition& WithTagCondition(TagCondition&& value) { SetTagCondition(std::move(value)); return *this;}
68 private:
69
70 Aws::Vector<TagCondition> m_andConditions;
71 bool m_andConditionsHasBeenSet = false;
72
73 TagCondition m_tagCondition;
74 bool m_tagConditionHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace QConnect
79} // namespace Aws
OrCondition & AddAndConditions(const TagCondition &value)
Definition OrCondition.h:53
OrCondition & WithTagCondition(const TagCondition &value)
Definition OrCondition.h:65
OrCondition & WithAndConditions(Aws::Vector< TagCondition > &&value)
Definition OrCondition.h:52
const TagCondition & GetTagCondition() const
Definition OrCondition.h:61
void SetAndConditions(const Aws::Vector< TagCondition > &value)
Definition OrCondition.h:49
void SetTagCondition(TagCondition &&value)
Definition OrCondition.h:64
AWS_QCONNECT_API OrCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAndConditions(Aws::Vector< TagCondition > &&value)
Definition OrCondition.h:50
AWS_QCONNECT_API OrCondition(Aws::Utils::Json::JsonView jsonValue)
void SetTagCondition(const TagCondition &value)
Definition OrCondition.h:63
const Aws::Vector< TagCondition > & GetAndConditions() const
Definition OrCondition.h:47
OrCondition & AddAndConditions(TagCondition &&value)
Definition OrCondition.h:54
OrCondition & WithAndConditions(const Aws::Vector< TagCondition > &value)
Definition OrCondition.h:51
OrCondition & WithTagCondition(TagCondition &&value)
Definition OrCondition.h:66
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue