AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SuccessConditions.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
34 {
35 public:
36 AWS_CODEPIPELINE_API SuccessConditions();
37 AWS_CODEPIPELINE_API SuccessConditions(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEPIPELINE_API SuccessConditions& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Condition>& GetConditions() const{ return m_conditions; }
47 inline bool ConditionsHasBeenSet() const { return m_conditionsHasBeenSet; }
48 inline void SetConditions(const Aws::Vector<Condition>& value) { m_conditionsHasBeenSet = true; m_conditions = value; }
49 inline void SetConditions(Aws::Vector<Condition>&& value) { m_conditionsHasBeenSet = true; m_conditions = std::move(value); }
50 inline SuccessConditions& WithConditions(const Aws::Vector<Condition>& value) { SetConditions(value); return *this;}
51 inline SuccessConditions& WithConditions(Aws::Vector<Condition>&& value) { SetConditions(std::move(value)); return *this;}
52 inline SuccessConditions& AddConditions(const Condition& value) { m_conditionsHasBeenSet = true; m_conditions.push_back(value); return *this; }
53 inline SuccessConditions& AddConditions(Condition&& value) { m_conditionsHasBeenSet = true; m_conditions.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<Condition> m_conditions;
58 bool m_conditionsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace CodePipeline
63} // namespace Aws
SuccessConditions & WithConditions(const Aws::Vector< Condition > &value)
void SetConditions(Aws::Vector< Condition > &&value)
AWS_CODEPIPELINE_API SuccessConditions(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEPIPELINE_API SuccessConditions & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Condition > & GetConditions() const
SuccessConditions & AddConditions(const Condition &value)
void SetConditions(const Aws::Vector< Condition > &value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
SuccessConditions & WithConditions(Aws::Vector< Condition > &&value)
SuccessConditions & AddConditions(Condition &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue