AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchCheckLayerAvailabilityResult.h
1
6#pragma once
7#include <aws/ecr-public/ECRPublic_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ecr-public/model/Layer.h>
11#include <aws/ecr-public/model/LayerFailure.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ECRPublic
27{
28namespace Model
29{
31 {
32 public:
36
37
39
43 inline const Aws::Vector<Layer>& GetLayers() const{ return m_layers; }
44 inline void SetLayers(const Aws::Vector<Layer>& value) { m_layers = value; }
45 inline void SetLayers(Aws::Vector<Layer>&& value) { m_layers = std::move(value); }
46 inline BatchCheckLayerAvailabilityResult& WithLayers(const Aws::Vector<Layer>& value) { SetLayers(value); return *this;}
47 inline BatchCheckLayerAvailabilityResult& WithLayers(Aws::Vector<Layer>&& value) { SetLayers(std::move(value)); return *this;}
48 inline BatchCheckLayerAvailabilityResult& AddLayers(const Layer& value) { m_layers.push_back(value); return *this; }
49 inline BatchCheckLayerAvailabilityResult& AddLayers(Layer&& value) { m_layers.push_back(std::move(value)); return *this; }
51
53
56 inline const Aws::Vector<LayerFailure>& GetFailures() const{ return m_failures; }
57 inline void SetFailures(const Aws::Vector<LayerFailure>& value) { m_failures = value; }
58 inline void SetFailures(Aws::Vector<LayerFailure>&& value) { m_failures = std::move(value); }
60 inline BatchCheckLayerAvailabilityResult& WithFailures(Aws::Vector<LayerFailure>&& value) { SetFailures(std::move(value)); return *this;}
61 inline BatchCheckLayerAvailabilityResult& AddFailures(const LayerFailure& value) { m_failures.push_back(value); return *this; }
62 inline BatchCheckLayerAvailabilityResult& AddFailures(LayerFailure&& value) { m_failures.push_back(std::move(value)); return *this; }
64
66
67 inline const Aws::String& GetRequestId() const{ return m_requestId; }
68 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
69 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
70 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
71 inline BatchCheckLayerAvailabilityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline BatchCheckLayerAvailabilityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline BatchCheckLayerAvailabilityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
77 Aws::Vector<Layer> m_layers;
78
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace ECRPublic
86} // namespace Aws
BatchCheckLayerAvailabilityResult & WithLayers(const Aws::Vector< Layer > &value)
BatchCheckLayerAvailabilityResult & WithLayers(Aws::Vector< Layer > &&value)
BatchCheckLayerAvailabilityResult & AddFailures(const LayerFailure &value)
BatchCheckLayerAvailabilityResult & WithFailures(const Aws::Vector< LayerFailure > &value)
BatchCheckLayerAvailabilityResult & AddFailures(LayerFailure &&value)
BatchCheckLayerAvailabilityResult & WithRequestId(const char *value)
AWS_ECRPUBLIC_API BatchCheckLayerAvailabilityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchCheckLayerAvailabilityResult & WithRequestId(Aws::String &&value)
BatchCheckLayerAvailabilityResult & WithFailures(Aws::Vector< LayerFailure > &&value)
BatchCheckLayerAvailabilityResult & AddLayers(Layer &&value)
AWS_ECRPUBLIC_API BatchCheckLayerAvailabilityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchCheckLayerAvailabilityResult & AddLayers(const Layer &value)
BatchCheckLayerAvailabilityResult & WithRequestId(const Aws::String &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