7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ecs/ECS_EXPORTS.h>
10#include <aws/ecs/model/GatewayOperationError.h>
44 template <
typename ArnT = Aws::String>
46 m_arnHasBeenSet =
true;
47 m_arn = std::forward<ArnT>(value);
49 template <
typename ArnT = Aws::String>
51 SetArn(std::forward<ArnT>(value));
62 template <
typename ErrorsT = Aws::Vector<GatewayOperationError>>
64 m_errorsHasBeenSet =
true;
65 m_errors = std::forward<ErrorsT>(value);
67 template <
typename ErrorsT = Aws::Vector<GatewayOperationError>>
72 template <
typename ErrorsT = GatewayOperationError>
74 m_errorsHasBeenSet =
true;
75 m_errors.emplace_back(std::forward<ErrorsT>(value));
83 bool m_arnHasBeenSet =
false;
84 bool m_errorsHasBeenSet =
false;
bool ErrorsHasBeenSet() const
const Aws::Vector< GatewayOperationError > & GetErrors() const
void SetArn(ArnT &&value)
AWS_ECS_API GatewayResourceFailure(Aws::Utils::Json::JsonView jsonValue)
bool ArnHasBeenSet() const
const Aws::String & GetArn() const
AWS_ECS_API GatewayResourceFailure & operator=(Aws::Utils::Json::JsonView jsonValue)
GatewayResourceFailure & WithErrors(ErrorsT &&value)
void SetErrors(ErrorsT &&value)
AWS_ECS_API GatewayResourceFailure()=default
GatewayResourceFailure & AddErrors(ErrorsT &&value)
GatewayResourceFailure & WithArn(ArnT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue