7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
19namespace imagebuilder {
43 template <
typename ComponentArnT = Aws::String>
45 m_componentArnHasBeenSet =
true;
46 m_componentArn = std::forward<ComponentArnT>(value);
48 template <
typename ComponentArnT = Aws::String>
62 template <
typename PhaseNameT = Aws::String>
64 m_phaseNameHasBeenSet =
true;
65 m_phaseName = std::forward<PhaseNameT>(value);
67 template <
typename PhaseNameT = Aws::String>
80 template <
typename StepNameT = Aws::String>
82 m_stepNameHasBeenSet =
true;
83 m_stepName = std::forward<StepNameT>(value);
85 template <
typename StepNameT = Aws::String>
99 template <
typename ActionT = Aws::String>
101 m_actionHasBeenSet =
true;
102 m_action = std::forward<ActionT>(value);
104 template <
typename ActionT = Aws::String>
119 template <
typename ErrorMessageT = Aws::String>
121 m_errorMessageHasBeenSet =
true;
122 m_errorMessage = std::forward<ErrorMessageT>(value);
124 template <
typename ErrorMessageT = Aws::String>
140 bool m_componentArnHasBeenSet =
false;
141 bool m_phaseNameHasBeenSet =
false;
142 bool m_stepNameHasBeenSet =
false;
143 bool m_actionHasBeenSet =
false;
144 bool m_errorMessageHasBeenSet =
false;
ComponentFailureContext & WithComponentArn(ComponentArnT &&value)
const Aws::String & GetPhaseName() const
AWS_IMAGEBUILDER_API ComponentFailureContext(Aws::Utils::Json::JsonView jsonValue)
ComponentFailureContext & WithErrorMessage(ErrorMessageT &&value)
void SetStepName(StepNameT &&value)
const Aws::String & GetComponentArn() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAction() const
void SetPhaseName(PhaseNameT &&value)
const Aws::String & GetErrorMessage() const
void SetComponentArn(ComponentArnT &&value)
void SetErrorMessage(ErrorMessageT &&value)
bool ErrorMessageHasBeenSet() const
AWS_IMAGEBUILDER_API ComponentFailureContext & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StepNameHasBeenSet() const
const Aws::String & GetStepName() const
ComponentFailureContext & WithAction(ActionT &&value)
ComponentFailureContext & WithPhaseName(PhaseNameT &&value)
bool ActionHasBeenSet() const
AWS_IMAGEBUILDER_API ComponentFailureContext()=default
bool ComponentArnHasBeenSet() const
bool PhaseNameHasBeenSet() const
void SetAction(ActionT &&value)
ComponentFailureContext & WithStepName(StepNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue