AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BeforeEntryConditions.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/codepipeline/model/Condition.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 CodePipeline
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_CODEPIPELINE_API BeforeEntryConditions() = default;
41 AWS_CODEPIPELINE_API BeforeEntryConditions(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::Vector<Condition>& GetConditions() const { return m_conditions; }
51 inline bool ConditionsHasBeenSet() const { return m_conditionsHasBeenSet; }
52 template<typename ConditionsT = Aws::Vector<Condition>>
53 void SetConditions(ConditionsT&& value) { m_conditionsHasBeenSet = true; m_conditions = std::forward<ConditionsT>(value); }
54 template<typename ConditionsT = Aws::Vector<Condition>>
55 BeforeEntryConditions& WithConditions(ConditionsT&& value) { SetConditions(std::forward<ConditionsT>(value)); return *this;}
56 template<typename ConditionsT = Condition>
57 BeforeEntryConditions& AddConditions(ConditionsT&& value) { m_conditionsHasBeenSet = true; m_conditions.emplace_back(std::forward<ConditionsT>(value)); return *this; }
59 private:
60
61 Aws::Vector<Condition> m_conditions;
62 bool m_conditionsHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace CodePipeline
67} // namespace Aws
AWS_CODEPIPELINE_API BeforeEntryConditions()=default
AWS_CODEPIPELINE_API BeforeEntryConditions(Aws::Utils::Json::JsonView jsonValue)
void SetConditions(ConditionsT &&value)
bool ConditionsHasBeenSet() const
const Aws::Vector< Condition > & GetConditions() const
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
BeforeEntryConditions & WithConditions(ConditionsT &&value)
BeforeEntryConditions & AddConditions(ConditionsT &&value)
AWS_CODEPIPELINE_API BeforeEntryConditions & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue