7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
9#include <aws/imagebuilder/model/ComponentFailureContext.h>
10#include <aws/imagebuilder/model/DistributionFailureContext.h>
11#include <aws/imagebuilder/model/ImageStatus.h>
22namespace imagebuilder {
48 m_imageStatusHasBeenSet =
true;
49 m_imageStatus = value;
64 template <
typename WorkflowExecutionIdT = Aws::String>
66 m_workflowExecutionIdHasBeenSet =
true;
67 m_workflowExecutionId = std::forward<WorkflowExecutionIdT>(value);
69 template <
typename WorkflowExecutionIdT = Aws::String>
83 template <
typename WorkflowArnT = Aws::String>
85 m_workflowArnHasBeenSet =
true;
86 m_workflowArn = std::forward<WorkflowArnT>(value);
88 template <
typename WorkflowArnT = Aws::String>
101 template <
typename StepExecutionIdT = Aws::String>
103 m_stepExecutionIdHasBeenSet =
true;
104 m_stepExecutionId = std::forward<StepExecutionIdT>(value);
106 template <
typename StepExecutionIdT = Aws::String>
120 template <
typename FailedStepT = Aws::String>
122 m_failedStepHasBeenSet =
true;
123 m_failedStep = std::forward<FailedStepT>(value);
125 template <
typename FailedStepT = Aws::String>
139 template <
typename ComponentFailureT = ComponentFailureContext>
141 m_componentFailureHasBeenSet =
true;
142 m_componentFailure = std::forward<ComponentFailureT>(value);
144 template <
typename ComponentFailureT = ComponentFailureContext>
158 template <
typename DistributionFailureT = DistributionFailureContext>
160 m_distributionFailureHasBeenSet =
true;
161 m_distributionFailure = std::forward<DistributionFailureT>(value);
163 template <
typename DistributionFailureT = DistributionFailureContext>
180 ComponentFailureContext m_componentFailure;
182 DistributionFailureContext m_distributionFailure;
183 bool m_imageStatusHasBeenSet =
false;
184 bool m_workflowExecutionIdHasBeenSet =
false;
185 bool m_workflowArnHasBeenSet =
false;
186 bool m_stepExecutionIdHasBeenSet =
false;
187 bool m_failedStepHasBeenSet =
false;
188 bool m_componentFailureHasBeenSet =
false;
189 bool m_distributionFailureHasBeenSet =
false;
void SetWorkflowArn(WorkflowArnT &&value)
ImageFailureContext & WithFailedStep(FailedStepT &&value)
ImageStatus GetImageStatus() const
const Aws::String & GetWorkflowExecutionId() const
bool ComponentFailureHasBeenSet() const
const Aws::String & GetStepExecutionId() const
const ComponentFailureContext & GetComponentFailure() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool FailedStepHasBeenSet() const
void SetFailedStep(FailedStepT &&value)
void SetDistributionFailure(DistributionFailureT &&value)
bool DistributionFailureHasBeenSet() const
void SetComponentFailure(ComponentFailureT &&value)
void SetImageStatus(ImageStatus value)
bool StepExecutionIdHasBeenSet() const
AWS_IMAGEBUILDER_API ImageFailureContext & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ImageStatusHasBeenSet() const
const Aws::String & GetWorkflowArn() const
ImageFailureContext & WithWorkflowArn(WorkflowArnT &&value)
ImageFailureContext & WithWorkflowExecutionId(WorkflowExecutionIdT &&value)
ImageFailureContext & WithComponentFailure(ComponentFailureT &&value)
void SetWorkflowExecutionId(WorkflowExecutionIdT &&value)
ImageFailureContext & WithDistributionFailure(DistributionFailureT &&value)
AWS_IMAGEBUILDER_API ImageFailureContext()=default
bool WorkflowExecutionIdHasBeenSet() const
const Aws::String & GetFailedStep() const
bool WorkflowArnHasBeenSet() const
const DistributionFailureContext & GetDistributionFailure() const
AWS_IMAGEBUILDER_API ImageFailureContext(Aws::Utils::Json::JsonView jsonValue)
ImageFailureContext & WithImageStatus(ImageStatus value)
void SetStepExecutionId(StepExecutionIdT &&value)
ImageFailureContext & WithStepExecutionId(StepExecutionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue