7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codepipeline/model/RuleRevision.h>
10#include <aws/codepipeline/model/RuleExecution.h>
51 template<
typename RuleNameT = Aws::String>
52 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet =
true; m_ruleName = std::forward<RuleNameT>(value); }
53 template<
typename RuleNameT = Aws::String>
64 template<
typename CurrentRevisionT = RuleRevision>
65 void SetCurrentRevision(CurrentRevisionT&& value) { m_currentRevisionHasBeenSet =
true; m_currentRevision = std::forward<CurrentRevisionT>(value); }
66 template<
typename CurrentRevisionT = RuleRevision>
76 template<
typename LatestExecutionT = RuleExecution>
77 void SetLatestExecution(LatestExecutionT&& value) { m_latestExecutionHasBeenSet =
true; m_latestExecution = std::forward<LatestExecutionT>(value); }
78 template<
typename LatestExecutionT = RuleExecution>
89 template<
typename EntityUrlT = Aws::String>
90 void SetEntityUrl(EntityUrlT&& value) { m_entityUrlHasBeenSet =
true; m_entityUrl = std::forward<EntityUrlT>(value); }
91 template<
typename EntityUrlT = Aws::String>
102 template<
typename RevisionUrlT = Aws::String>
103 void SetRevisionUrl(RevisionUrlT&& value) { m_revisionUrlHasBeenSet =
true; m_revisionUrl = std::forward<RevisionUrlT>(value); }
104 template<
typename RevisionUrlT = Aws::String>
110 bool m_ruleNameHasBeenSet =
false;
113 bool m_currentRevisionHasBeenSet =
false;
116 bool m_latestExecutionHasBeenSet =
false;
119 bool m_entityUrlHasBeenSet =
false;
122 bool m_revisionUrlHasBeenSet =
false;
void SetRuleName(RuleNameT &&value)
void SetRevisionUrl(RevisionUrlT &&value)
bool RevisionUrlHasBeenSet() const
const Aws::String & GetRevisionUrl() const
RuleState & WithCurrentRevision(CurrentRevisionT &&value)
bool RuleNameHasBeenSet() const
AWS_CODEPIPELINE_API RuleState(Aws::Utils::Json::JsonView jsonValue)
RuleState & WithRuleName(RuleNameT &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRuleName() const
AWS_CODEPIPELINE_API RuleState & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLatestExecution(LatestExecutionT &&value)
AWS_CODEPIPELINE_API RuleState()=default
void SetEntityUrl(EntityUrlT &&value)
const Aws::String & GetEntityUrl() const
RuleState & WithEntityUrl(EntityUrlT &&value)
bool LatestExecutionHasBeenSet() const
void SetCurrentRevision(CurrentRevisionT &&value)
bool CurrentRevisionHasBeenSet() const
bool EntityUrlHasBeenSet() const
RuleState & WithLatestExecution(LatestExecutionT &&value)
const RuleExecution & GetLatestExecution() const
RuleState & WithRevisionUrl(RevisionUrlT &&value)
const RuleRevision & GetCurrentRevision() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue