7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
9#include <aws/imagebuilder/model/ImageConfigurationStep.h>
10#include <aws/imagebuilder/model/RegionFailureStatus.h>
21namespace imagebuilder {
43 template <
typename RegionT = Aws::String>
45 m_regionHasBeenSet =
true;
46 m_region = std::forward<RegionT>(value);
48 template <
typename RegionT = Aws::String>
63 m_statusHasBeenSet =
true;
83 m_imageConfigurationStepHasBeenSet =
true;
84 m_imageConfigurationStep = value;
98 template <
typename ErrorMessageT = Aws::String>
100 m_errorMessageHasBeenSet =
true;
101 m_errorMessage = std::forward<ErrorMessageT>(value);
103 template <
typename ErrorMessageT = Aws::String>
117 template <
typename TargetAccountIdT = Aws::String>
119 m_targetAccountIdHasBeenSet =
true;
120 m_targetAccountId = std::forward<TargetAccountIdT>(value);
122 template <
typename TargetAccountIdT = Aws::String>
138 bool m_regionHasBeenSet =
false;
139 bool m_statusHasBeenSet =
false;
140 bool m_imageConfigurationStepHasBeenSet =
false;
141 bool m_errorMessageHasBeenSet =
false;
142 bool m_targetAccountIdHasBeenSet =
false;
bool ErrorMessageHasBeenSet() const
void SetRegion(RegionT &&value)
RegionFailure & WithErrorMessage(ErrorMessageT &&value)
AWS_IMAGEBUILDER_API RegionFailure(Aws::Utils::Json::JsonView jsonValue)
bool TargetAccountIdHasBeenSet() const
const Aws::String & GetErrorMessage() const
void SetImageConfigurationStep(ImageConfigurationStep value)
RegionFailure & WithImageConfigurationStep(ImageConfigurationStep value)
AWS_IMAGEBUILDER_API RegionFailure()=default
RegionFailure & WithStatus(RegionFailureStatus value)
RegionFailureStatus GetStatus() const
bool ImageConfigurationStepHasBeenSet() const
ImageConfigurationStep GetImageConfigurationStep() const
const Aws::String & GetTargetAccountId() const
AWS_IMAGEBUILDER_API RegionFailure & operator=(Aws::Utils::Json::JsonView jsonValue)
RegionFailure & WithTargetAccountId(TargetAccountIdT &&value)
bool RegionHasBeenSet() const
void SetErrorMessage(ErrorMessageT &&value)
bool StatusHasBeenSet() const
RegionFailure & WithRegion(RegionT &&value)
void SetTargetAccountId(TargetAccountIdT &&value)
const Aws::String & GetRegion() const
void SetStatus(RegionFailureStatus value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue