AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDeleteImageRequest.h
1
6#pragma once
7#include <aws/ecr-public/ECRPublic_EXPORTS.h>
8#include <aws/ecr-public/ECRPublicRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ecr-public/model/ImageIdentifier.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ECRPublic
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_ECRPUBLIC_API BatchDeleteImageRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "BatchDeleteImage"; }
33
34 AWS_ECRPUBLIC_API Aws::String SerializePayload() const override;
35
37
38
40
45 inline const Aws::String& GetRegistryId() const{ return m_registryId; }
46 inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; }
47 inline void SetRegistryId(const Aws::String& value) { m_registryIdHasBeenSet = true; m_registryId = value; }
48 inline void SetRegistryId(Aws::String&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); }
49 inline void SetRegistryId(const char* value) { m_registryIdHasBeenSet = true; m_registryId.assign(value); }
50 inline BatchDeleteImageRequest& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
51 inline BatchDeleteImageRequest& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
52 inline BatchDeleteImageRequest& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
54
56
59 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
60 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
61 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
62 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
63 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
64 inline BatchDeleteImageRequest& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
65 inline BatchDeleteImageRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
66 inline BatchDeleteImageRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
68
70
75 inline const Aws::Vector<ImageIdentifier>& GetImageIds() const{ return m_imageIds; }
76 inline bool ImageIdsHasBeenSet() const { return m_imageIdsHasBeenSet; }
77 inline void SetImageIds(const Aws::Vector<ImageIdentifier>& value) { m_imageIdsHasBeenSet = true; m_imageIds = value; }
78 inline void SetImageIds(Aws::Vector<ImageIdentifier>&& value) { m_imageIdsHasBeenSet = true; m_imageIds = std::move(value); }
80 inline BatchDeleteImageRequest& WithImageIds(Aws::Vector<ImageIdentifier>&& value) { SetImageIds(std::move(value)); return *this;}
81 inline BatchDeleteImageRequest& AddImageIds(const ImageIdentifier& value) { m_imageIdsHasBeenSet = true; m_imageIds.push_back(value); return *this; }
82 inline BatchDeleteImageRequest& AddImageIds(ImageIdentifier&& value) { m_imageIdsHasBeenSet = true; m_imageIds.push_back(std::move(value)); return *this; }
84 private:
85
86 Aws::String m_registryId;
87 bool m_registryIdHasBeenSet = false;
88
89 Aws::String m_repositoryName;
90 bool m_repositoryNameHasBeenSet = false;
91
93 bool m_imageIdsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace ECRPublic
98} // namespace Aws
BatchDeleteImageRequest & WithRepositoryName(const Aws::String &value)
BatchDeleteImageRequest & WithRepositoryName(const char *value)
BatchDeleteImageRequest & WithRegistryId(Aws::String &&value)
AWS_ECRPUBLIC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchDeleteImageRequest & WithImageIds(Aws::Vector< ImageIdentifier > &&value)
virtual const char * GetServiceRequestName() const override
BatchDeleteImageRequest & WithRegistryId(const Aws::String &value)
BatchDeleteImageRequest & AddImageIds(ImageIdentifier &&value)
BatchDeleteImageRequest & AddImageIds(const ImageIdentifier &value)
const Aws::Vector< ImageIdentifier > & GetImageIds() const
void SetImageIds(const Aws::Vector< ImageIdentifier > &value)
void SetImageIds(Aws::Vector< ImageIdentifier > &&value)
AWS_ECRPUBLIC_API Aws::String SerializePayload() const override
BatchDeleteImageRequest & WithImageIds(const Aws::Vector< ImageIdentifier > &value)
BatchDeleteImageRequest & WithRepositoryName(Aws::String &&value)
BatchDeleteImageRequest & WithRegistryId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector