AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDeleteImageResult.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/ImageIdentifier.h>
11#include <aws/ecr-public/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 ECRPublic
27{
28namespace Model
29{
31 {
32 public:
33 AWS_ECRPUBLIC_API BatchDeleteImageResult();
36
37
39
42 inline const Aws::Vector<ImageIdentifier>& GetImageIds() const{ return m_imageIds; }
43 inline void SetImageIds(const Aws::Vector<ImageIdentifier>& value) { m_imageIds = value; }
44 inline void SetImageIds(Aws::Vector<ImageIdentifier>&& value) { m_imageIds = std::move(value); }
45 inline BatchDeleteImageResult& WithImageIds(const Aws::Vector<ImageIdentifier>& value) { SetImageIds(value); return *this;}
46 inline BatchDeleteImageResult& WithImageIds(Aws::Vector<ImageIdentifier>&& value) { SetImageIds(std::move(value)); return *this;}
47 inline BatchDeleteImageResult& AddImageIds(const ImageIdentifier& value) { m_imageIds.push_back(value); return *this; }
48 inline BatchDeleteImageResult& AddImageIds(ImageIdentifier&& value) { m_imageIds.push_back(std::move(value)); return *this; }
50
52
55 inline const Aws::Vector<ImageFailure>& GetFailures() const{ return m_failures; }
56 inline void SetFailures(const Aws::Vector<ImageFailure>& value) { m_failures = value; }
57 inline void SetFailures(Aws::Vector<ImageFailure>&& value) { m_failures = std::move(value); }
58 inline BatchDeleteImageResult& WithFailures(const Aws::Vector<ImageFailure>& value) { SetFailures(value); return *this;}
59 inline BatchDeleteImageResult& WithFailures(Aws::Vector<ImageFailure>&& value) { SetFailures(std::move(value)); return *this;}
60 inline BatchDeleteImageResult& AddFailures(const ImageFailure& value) { m_failures.push_back(value); return *this; }
61 inline BatchDeleteImageResult& AddFailures(ImageFailure&& value) { m_failures.push_back(std::move(value)); return *this; }
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline BatchDeleteImageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline BatchDeleteImageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline BatchDeleteImageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
77
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace ECRPublic
85} // namespace Aws
const Aws::Vector< ImageIdentifier > & GetImageIds() const
AWS_ECRPUBLIC_API BatchDeleteImageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDeleteImageResult & AddImageIds(const ImageIdentifier &value)
BatchDeleteImageResult & AddFailures(const ImageFailure &value)
BatchDeleteImageResult & AddFailures(ImageFailure &&value)
const Aws::Vector< ImageFailure > & GetFailures() const
BatchDeleteImageResult & WithFailures(Aws::Vector< ImageFailure > &&value)
BatchDeleteImageResult & AddImageIds(ImageIdentifier &&value)
BatchDeleteImageResult & WithImageIds(Aws::Vector< ImageIdentifier > &&value)
void SetFailures(const Aws::Vector< ImageFailure > &value)
void SetFailures(Aws::Vector< ImageFailure > &&value)
AWS_ECRPUBLIC_API BatchDeleteImageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDeleteImageResult & WithFailures(const Aws::Vector< ImageFailure > &value)
void SetImageIds(const Aws::Vector< ImageIdentifier > &value)
BatchDeleteImageResult & WithRequestId(const char *value)
BatchDeleteImageResult & WithRequestId(const Aws::String &value)
void SetImageIds(Aws::Vector< ImageIdentifier > &&value)
BatchDeleteImageResult & WithRequestId(Aws::String &&value)
BatchDeleteImageResult & WithImageIds(const Aws::Vector< ImageIdentifier > &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