7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
43 template <
typename ArnT = Aws::String>
45 m_arnHasBeenSet =
true;
46 m_arn = std::forward<ArnT>(value);
48 template <
typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
61 template <
typename ReasonT = Aws::String>
63 m_reasonHasBeenSet =
true;
64 m_reason = std::forward<ReasonT>(value);
66 template <
typename ReasonT = Aws::String>
79 template <
typename DetailT = Aws::String>
81 m_detailHasBeenSet =
true;
82 m_detail = std::forward<DetailT>(value);
84 template <
typename DetailT = Aws::String>
96 bool m_arnHasBeenSet =
false;
97 bool m_reasonHasBeenSet =
false;
98 bool m_detailHasBeenSet =
false;
AWS_ECS_API Failure(Aws::Utils::Json::JsonView jsonValue)
bool ReasonHasBeenSet() const
const Aws::String & GetDetail() const
const Aws::String & GetReason() const
void SetDetail(DetailT &&value)
AWS_ECS_API Failure & operator=(Aws::Utils::Json::JsonView jsonValue)
Failure & WithDetail(DetailT &&value)
bool ArnHasBeenSet() const
void SetReason(ReasonT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API Failure()=default
bool DetailHasBeenSet() const
Failure & WithArn(ArnT &&value)
const Aws::String & GetArn() const
Failure & WithReason(ReasonT &&value)
void SetArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue