AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetImageResult.h
1
6#pragma once
7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ecr/model/Image.h>
11#include <aws/ecr/model/ImageFailure.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 ECR
27{
28namespace Model
29{
31 {
32 public:
33 AWS_ECR_API BatchGetImageResult();
36
37
39
43 inline const Aws::Vector<Image>& GetImages() const{ return m_images; }
44 inline void SetImages(const Aws::Vector<Image>& value) { m_images = value; }
45 inline void SetImages(Aws::Vector<Image>&& value) { m_images = std::move(value); }
46 inline BatchGetImageResult& WithImages(const Aws::Vector<Image>& value) { SetImages(value); return *this;}
47 inline BatchGetImageResult& WithImages(Aws::Vector<Image>&& value) { SetImages(std::move(value)); return *this;}
48 inline BatchGetImageResult& AddImages(const Image& value) { m_images.push_back(value); return *this; }
49 inline BatchGetImageResult& AddImages(Image&& value) { m_images.push_back(std::move(value)); return *this; }
51
53
56 inline const Aws::Vector<ImageFailure>& GetFailures() const{ return m_failures; }
57 inline void SetFailures(const Aws::Vector<ImageFailure>& value) { m_failures = value; }
58 inline void SetFailures(Aws::Vector<ImageFailure>&& value) { m_failures = std::move(value); }
59 inline BatchGetImageResult& WithFailures(const Aws::Vector<ImageFailure>& value) { SetFailures(value); return *this;}
60 inline BatchGetImageResult& WithFailures(Aws::Vector<ImageFailure>&& value) { SetFailures(std::move(value)); return *this;}
61 inline BatchGetImageResult& AddFailures(const ImageFailure& value) { m_failures.push_back(value); return *this; }
62 inline BatchGetImageResult& AddFailures(ImageFailure&& 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 BatchGetImageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline BatchGetImageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline BatchGetImageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
77 Aws::Vector<Image> m_images;
78
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace ECR
86} // namespace Aws
BatchGetImageResult & WithImages(const Aws::Vector< Image > &value)
BatchGetImageResult & WithFailures(const Aws::Vector< ImageFailure > &value)
void SetFailures(const Aws::Vector< ImageFailure > &value)
BatchGetImageResult & AddFailures(const ImageFailure &value)
BatchGetImageResult & WithRequestId(Aws::String &&value)
const Aws::Vector< Image > & GetImages() const
BatchGetImageResult & WithRequestId(const char *value)
BatchGetImageResult & WithFailures(Aws::Vector< ImageFailure > &&value)
BatchGetImageResult & AddImages(const Image &value)
void SetFailures(Aws::Vector< ImageFailure > &&value)
BatchGetImageResult & AddFailures(ImageFailure &&value)
const Aws::Vector< ImageFailure > & GetFailures() const
BatchGetImageResult & WithImages(Aws::Vector< Image > &&value)
void SetImages(Aws::Vector< Image > &&value)
const Aws::String & GetRequestId() const
AWS_ECR_API BatchGetImageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ECR_API BatchGetImageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetImageResult & AddImages(Image &&value)
void SetImages(const Aws::Vector< Image > &value)
void SetRequestId(const Aws::String &value)
BatchGetImageResult & 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