7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codepipeline/model/RuleExecutionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/codepipeline/model/ErrorDetails.h>
51 template<
typename RuleExecutionIdT = Aws::String>
52 void SetRuleExecutionId(RuleExecutionIdT&& value) { m_ruleExecutionIdHasBeenSet =
true; m_ruleExecutionId = std::forward<RuleExecutionIdT>(value); }
53 template<
typename RuleExecutionIdT = Aws::String>
73 template<
typename SummaryT = Aws::String>
74 void SetSummary(SummaryT&& value) { m_summaryHasBeenSet =
true; m_summary = std::forward<SummaryT>(value); }
75 template<
typename SummaryT = Aws::String>
85 template<
typename LastStatusChangeT = Aws::Utils::DateTime>
86 void SetLastStatusChange(LastStatusChangeT&& value) { m_lastStatusChangeHasBeenSet =
true; m_lastStatusChange = std::forward<LastStatusChangeT>(value); }
87 template<
typename LastStatusChangeT = Aws::Utils::DateTime>
97 template<
typename TokenT = Aws::String>
98 void SetToken(TokenT&& value) { m_tokenHasBeenSet =
true; m_token = std::forward<TokenT>(value); }
99 template<
typename TokenT = Aws::String>
109 template<
typename LastUpdatedByT = Aws::String>
110 void SetLastUpdatedBy(LastUpdatedByT&& value) { m_lastUpdatedByHasBeenSet =
true; m_lastUpdatedBy = std::forward<LastUpdatedByT>(value); }
111 template<
typename LastUpdatedByT = Aws::String>
121 template<
typename ExternalExecutionIdT = Aws::String>
122 void SetExternalExecutionId(ExternalExecutionIdT&& value) { m_externalExecutionIdHasBeenSet =
true; m_externalExecutionId = std::forward<ExternalExecutionIdT>(value); }
123 template<
typename ExternalExecutionIdT = Aws::String>
134 template<
typename ExternalExecutionUrlT = Aws::String>
135 void SetExternalExecutionUrl(ExternalExecutionUrlT&& value) { m_externalExecutionUrlHasBeenSet =
true; m_externalExecutionUrl = std::forward<ExternalExecutionUrlT>(value); }
136 template<
typename ExternalExecutionUrlT = Aws::String>
144 template<
typename ErrorDetailsT = ErrorDetails>
145 void SetErrorDetails(ErrorDetailsT&& value) { m_errorDetailsHasBeenSet =
true; m_errorDetails = std::forward<ErrorDetailsT>(value); }
146 template<
typename ErrorDetailsT = ErrorDetails>
152 bool m_ruleExecutionIdHasBeenSet =
false;
155 bool m_statusHasBeenSet =
false;
158 bool m_summaryHasBeenSet =
false;
161 bool m_lastStatusChangeHasBeenSet =
false;
164 bool m_tokenHasBeenSet =
false;
167 bool m_lastUpdatedByHasBeenSet =
false;
170 bool m_externalExecutionIdHasBeenSet =
false;
173 bool m_externalExecutionUrlHasBeenSet =
false;
175 ErrorDetails m_errorDetails;
176 bool m_errorDetailsHasBeenSet =
false;
bool ErrorDetailsHasBeenSet() const
RuleExecution & WithStatus(RuleExecutionStatus value)
void SetToken(TokenT &&value)
const Aws::String & GetRuleExecutionId() const
RuleExecution & WithLastStatusChange(LastStatusChangeT &&value)
void SetRuleExecutionId(RuleExecutionIdT &&value)
bool ExternalExecutionIdHasBeenSet() const
RuleExecution & WithErrorDetails(ErrorDetailsT &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(RuleExecutionStatus value)
RuleExecution & WithExternalExecutionId(ExternalExecutionIdT &&value)
bool LastUpdatedByHasBeenSet() const
RuleExecution & WithRuleExecutionId(RuleExecutionIdT &&value)
const Aws::String & GetToken() const
const ErrorDetails & GetErrorDetails() const
bool ExternalExecutionUrlHasBeenSet() const
RuleExecution & WithLastUpdatedBy(LastUpdatedByT &&value)
RuleExecutionStatus GetStatus() const
void SetSummary(SummaryT &&value)
void SetLastStatusChange(LastStatusChangeT &&value)
const Aws::String & GetSummary() const
void SetErrorDetails(ErrorDetailsT &&value)
bool SummaryHasBeenSet() const
bool RuleExecutionIdHasBeenSet() const
AWS_CODEPIPELINE_API RuleExecution(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastStatusChange() const
const Aws::String & GetLastUpdatedBy() const
const Aws::String & GetExternalExecutionUrl() const
RuleExecution & WithToken(TokenT &&value)
AWS_CODEPIPELINE_API RuleExecution()=default
RuleExecution & WithSummary(SummaryT &&value)
bool StatusHasBeenSet() const
bool TokenHasBeenSet() const
RuleExecution & WithExternalExecutionUrl(ExternalExecutionUrlT &&value)
void SetLastUpdatedBy(LastUpdatedByT &&value)
AWS_CODEPIPELINE_API RuleExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LastStatusChangeHasBeenSet() const
void SetExternalExecutionId(ExternalExecutionIdT &&value)
void SetExternalExecutionUrl(ExternalExecutionUrlT &&value)
const Aws::String & GetExternalExecutionId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue