7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/ConditionExecution.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codepipeline/model/RuleState.h>
48 template<
typename LatestExecutionT = ConditionExecution>
49 void SetLatestExecution(LatestExecutionT&& value) { m_latestExecutionHasBeenSet =
true; m_latestExecution = std::forward<LatestExecutionT>(value); }
50 template<
typename LatestExecutionT = ConditionExecution>
60 template<
typename RuleStatesT = Aws::Vector<RuleState>>
61 void SetRuleStates(RuleStatesT&& value) { m_ruleStatesHasBeenSet =
true; m_ruleStates = std::forward<RuleStatesT>(value); }
62 template<
typename RuleStatesT = Aws::Vector<RuleState>>
64 template<
typename RuleStatesT = RuleState>
65 ConditionState&
AddRuleStates(RuleStatesT&& value) { m_ruleStatesHasBeenSet =
true; m_ruleStates.emplace_back(std::forward<RuleStatesT>(value));
return *
this; }
70 bool m_latestExecutionHasBeenSet =
false;
73 bool m_ruleStatesHasBeenSet =
false;
void SetLatestExecution(LatestExecutionT &&value)
AWS_CODEPIPELINE_API ConditionState & operator=(Aws::Utils::Json::JsonView jsonValue)
ConditionState & WithLatestExecution(LatestExecutionT &&value)
const ConditionExecution & GetLatestExecution() const
void SetRuleStates(RuleStatesT &&value)
const Aws::Vector< RuleState > & GetRuleStates() const
ConditionState & WithRuleStates(RuleStatesT &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
bool LatestExecutionHasBeenSet() const
AWS_CODEPIPELINE_API ConditionState(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEPIPELINE_API ConditionState()=default
ConditionState & AddRuleStates(RuleStatesT &&value)
bool RuleStatesHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue