7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/Condition.h>
9#include <aws/codepipeline/model/Result.h>
10#include <aws/codepipeline/model/RetryConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace CodePipeline {
50 m_resultHasBeenSet =
true;
66 template <
typename RetryConfigurationT = RetryConfiguration>
68 m_retryConfigurationHasBeenSet =
true;
69 m_retryConfiguration = std::forward<RetryConfigurationT>(value);
71 template <
typename RetryConfigurationT = RetryConfiguration>
89 template <
typename ConditionsT = Aws::Vector<Condition>>
91 m_conditionsHasBeenSet =
true;
92 m_conditions = std::forward<ConditionsT>(value);
94 template <
typename ConditionsT = Aws::Vector<Condition>>
99 template <
typename ConditionsT = Condition>
101 m_conditionsHasBeenSet =
true;
102 m_conditions.emplace_back(std::forward<ConditionsT>(value));
109 RetryConfiguration m_retryConfiguration;
112 bool m_resultHasBeenSet =
false;
113 bool m_retryConfigurationHasBeenSet =
false;
114 bool m_conditionsHasBeenSet =
false;
const RetryConfiguration & GetRetryConfiguration() const
bool ConditionsHasBeenSet() const
AWS_CODEPIPELINE_API FailureConditions & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RetryConfigurationHasBeenSet() const
AWS_CODEPIPELINE_API FailureConditions()=default
FailureConditions & WithRetryConfiguration(RetryConfigurationT &&value)
AWS_CODEPIPELINE_API FailureConditions(Aws::Utils::Json::JsonView jsonValue)
void SetResult(Result value)
bool ResultHasBeenSet() const
void SetConditions(ConditionsT &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
FailureConditions & WithResult(Result value)
FailureConditions & AddConditions(ConditionsT &&value)
FailureConditions & WithConditions(ConditionsT &&value)
void SetRetryConfiguration(RetryConfigurationT &&value)
const Aws::Vector< Condition > & GetConditions() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue