AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchCheckLayerAvailabilityRequest.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 <utility>
12
13namespace Aws
14{
15namespace ECRPublic
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "BatchCheckLayerAvailability"; }
32
33 AWS_ECRPUBLIC_API Aws::String SerializePayload() const override;
34
36
37
39
44 inline const Aws::String& GetRegistryId() const{ return m_registryId; }
45 inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; }
46 inline void SetRegistryId(const Aws::String& value) { m_registryIdHasBeenSet = true; m_registryId = value; }
47 inline void SetRegistryId(Aws::String&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); }
48 inline void SetRegistryId(const char* value) { m_registryIdHasBeenSet = true; m_registryId.assign(value); }
49 inline BatchCheckLayerAvailabilityRequest& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
50 inline BatchCheckLayerAvailabilityRequest& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
51 inline BatchCheckLayerAvailabilityRequest& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
53
55
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); }
65 inline BatchCheckLayerAvailabilityRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
66 inline BatchCheckLayerAvailabilityRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
68
70
73 inline const Aws::Vector<Aws::String>& GetLayerDigests() const{ return m_layerDigests; }
74 inline bool LayerDigestsHasBeenSet() const { return m_layerDigestsHasBeenSet; }
75 inline void SetLayerDigests(const Aws::Vector<Aws::String>& value) { m_layerDigestsHasBeenSet = true; m_layerDigests = value; }
76 inline void SetLayerDigests(Aws::Vector<Aws::String>&& value) { m_layerDigestsHasBeenSet = true; m_layerDigests = std::move(value); }
79 inline BatchCheckLayerAvailabilityRequest& AddLayerDigests(const Aws::String& value) { m_layerDigestsHasBeenSet = true; m_layerDigests.push_back(value); return *this; }
80 inline BatchCheckLayerAvailabilityRequest& AddLayerDigests(Aws::String&& value) { m_layerDigestsHasBeenSet = true; m_layerDigests.push_back(std::move(value)); return *this; }
81 inline BatchCheckLayerAvailabilityRequest& AddLayerDigests(const char* value) { m_layerDigestsHasBeenSet = true; m_layerDigests.push_back(value); return *this; }
83 private:
84
85 Aws::String m_registryId;
86 bool m_registryIdHasBeenSet = false;
87
88 Aws::String m_repositoryName;
89 bool m_repositoryNameHasBeenSet = false;
90
91 Aws::Vector<Aws::String> m_layerDigests;
92 bool m_layerDigestsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace ECRPublic
97} // namespace Aws
BatchCheckLayerAvailabilityRequest & WithRepositoryName(Aws::String &&value)
BatchCheckLayerAvailabilityRequest & WithRepositoryName(const Aws::String &value)
BatchCheckLayerAvailabilityRequest & WithRegistryId(Aws::String &&value)
BatchCheckLayerAvailabilityRequest & AddLayerDigests(Aws::String &&value)
BatchCheckLayerAvailabilityRequest & WithLayerDigests(const Aws::Vector< Aws::String > &value)
BatchCheckLayerAvailabilityRequest & WithRepositoryName(const char *value)
BatchCheckLayerAvailabilityRequest & WithRegistryId(const Aws::String &value)
BatchCheckLayerAvailabilityRequest & AddLayerDigests(const char *value)
BatchCheckLayerAvailabilityRequest & WithRegistryId(const char *value)
BatchCheckLayerAvailabilityRequest & AddLayerDigests(const Aws::String &value)
BatchCheckLayerAvailabilityRequest & WithLayerDigests(Aws::Vector< Aws::String > &&value)
AWS_ECRPUBLIC_API Aws::String SerializePayload() const override
AWS_ECRPUBLIC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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