7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ecr/ECR_EXPORTS.h>
11#include <aws/ecr/model/Layer.h>
12#include <aws/ecr/model/LayerFailure.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
39 template <
typename LayersT = Aws::Vector<Layer>>
41 m_layersHasBeenSet =
true;
42 m_layers = std::forward<LayersT>(value);
44 template <
typename LayersT = Aws::Vector<Layer>>
49 template <
typename LayersT = Layer>
51 m_layersHasBeenSet =
true;
52 m_layers.emplace_back(std::forward<LayersT>(value));
62 template <
typename FailuresT = Aws::Vector<LayerFailure>>
64 m_failuresHasBeenSet =
true;
65 m_failures = std::forward<FailuresT>(value);
67 template <
typename FailuresT = Aws::Vector<LayerFailure>>
72 template <
typename FailuresT = LayerFailure>
74 m_failuresHasBeenSet =
true;
75 m_failures.emplace_back(std::forward<FailuresT>(value));
83 template <
typename RequestIdT = Aws::String>
85 m_requestIdHasBeenSet =
true;
86 m_requestId = std::forward<RequestIdT>(value);
88 template <
typename RequestIdT = Aws::String>
103 bool m_layersHasBeenSet =
false;
104 bool m_failuresHasBeenSet =
false;
105 bool m_requestIdHasBeenSet =
false;
const Aws::Vector< LayerFailure > & GetFailures() const
void SetLayers(LayersT &&value)
void SetRequestId(RequestIdT &&value)
void SetFailures(FailuresT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
BatchCheckLayerAvailabilityResult & WithLayers(LayersT &&value)
BatchCheckLayerAvailabilityResult & WithFailures(FailuresT &&value)
AWS_ECR_API BatchCheckLayerAvailabilityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchCheckLayerAvailabilityResult & AddFailures(FailuresT &&value)
AWS_ECR_API BatchCheckLayerAvailabilityResult()=default
const Aws::String & GetRequestId() const
const Aws::Vector< Layer > & GetLayers() const
AWS_ECR_API BatchCheckLayerAvailabilityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchCheckLayerAvailabilityResult & WithRequestId(RequestIdT &&value)
BatchCheckLayerAvailabilityResult & AddLayers(LayersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue