7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ecr/ECR_EXPORTS.h>
10#include <aws/ecr/model/Layer.h>
11#include <aws/ecr/model/LayerFailure.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
38 template <
typename LayersT = Aws::Vector<Layer>>
40 m_layersHasBeenSet =
true;
41 m_layers = std::forward<LayersT>(value);
43 template <
typename LayersT = Aws::Vector<Layer>>
48 template <
typename LayersT = Layer>
50 m_layersHasBeenSet =
true;
51 m_layers.emplace_back(std::forward<LayersT>(value));
61 template <
typename FailuresT = Aws::Vector<LayerFailure>>
63 m_failuresHasBeenSet =
true;
64 m_failures = std::forward<FailuresT>(value);
66 template <
typename FailuresT = Aws::Vector<LayerFailure>>
71 template <
typename FailuresT = LayerFailure>
73 m_failuresHasBeenSet =
true;
74 m_failures.emplace_back(std::forward<FailuresT>(value));
82 template <
typename RequestIdT = Aws::String>
84 m_requestIdHasBeenSet =
true;
85 m_requestId = std::forward<RequestIdT>(value);
87 template <
typename RequestIdT = Aws::String>
99 bool m_layersHasBeenSet =
false;
100 bool m_failuresHasBeenSet =
false;
101 bool m_requestIdHasBeenSet =
false;
const Aws::Vector< LayerFailure > & GetFailures() const
void SetLayers(LayersT &&value)
void SetRequestId(RequestIdT &&value)
void SetFailures(FailuresT &&value)
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