AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CompleteLayerUploadResult.h
1
6#pragma once
7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ECR
24{
25namespace Model
26{
28 {
29 public:
33
34
36
39 inline const Aws::String& GetRegistryId() const{ return m_registryId; }
40 inline void SetRegistryId(const Aws::String& value) { m_registryId = value; }
41 inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); }
42 inline void SetRegistryId(const char* value) { m_registryId.assign(value); }
43 inline CompleteLayerUploadResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
44 inline CompleteLayerUploadResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
45 inline CompleteLayerUploadResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
47
49
52 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
53 inline void SetRepositoryName(const Aws::String& value) { m_repositoryName = value; }
54 inline void SetRepositoryName(Aws::String&& value) { m_repositoryName = std::move(value); }
55 inline void SetRepositoryName(const char* value) { m_repositoryName.assign(value); }
56 inline CompleteLayerUploadResult& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
57 inline CompleteLayerUploadResult& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
58 inline CompleteLayerUploadResult& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
60
62
65 inline const Aws::String& GetUploadId() const{ return m_uploadId; }
66 inline void SetUploadId(const Aws::String& value) { m_uploadId = value; }
67 inline void SetUploadId(Aws::String&& value) { m_uploadId = std::move(value); }
68 inline void SetUploadId(const char* value) { m_uploadId.assign(value); }
69 inline CompleteLayerUploadResult& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;}
70 inline CompleteLayerUploadResult& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;}
71 inline CompleteLayerUploadResult& WithUploadId(const char* value) { SetUploadId(value); return *this;}
73
75
78 inline const Aws::String& GetLayerDigest() const{ return m_layerDigest; }
79 inline void SetLayerDigest(const Aws::String& value) { m_layerDigest = value; }
80 inline void SetLayerDigest(Aws::String&& value) { m_layerDigest = std::move(value); }
81 inline void SetLayerDigest(const char* value) { m_layerDigest.assign(value); }
82 inline CompleteLayerUploadResult& WithLayerDigest(const Aws::String& value) { SetLayerDigest(value); return *this;}
83 inline CompleteLayerUploadResult& WithLayerDigest(Aws::String&& value) { SetLayerDigest(std::move(value)); return *this;}
84 inline CompleteLayerUploadResult& WithLayerDigest(const char* value) { SetLayerDigest(value); return *this;}
86
88
89 inline const Aws::String& GetRequestId() const{ return m_requestId; }
90 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
91 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
92 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
93 inline CompleteLayerUploadResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
94 inline CompleteLayerUploadResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
95 inline CompleteLayerUploadResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
97 private:
98
99 Aws::String m_registryId;
100
101 Aws::String m_repositoryName;
102
103 Aws::String m_uploadId;
104
105 Aws::String m_layerDigest;
106
107 Aws::String m_requestId;
108 };
109
110} // namespace Model
111} // namespace ECR
112} // namespace Aws
CompleteLayerUploadResult & WithLayerDigest(const Aws::String &value)
CompleteLayerUploadResult & WithLayerDigest(Aws::String &&value)
CompleteLayerUploadResult & WithRegistryId(Aws::String &&value)
CompleteLayerUploadResult & WithRequestId(const Aws::String &value)
AWS_ECR_API CompleteLayerUploadResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CompleteLayerUploadResult & WithRepositoryName(const Aws::String &value)
CompleteLayerUploadResult & WithRegistryId(const char *value)
CompleteLayerUploadResult & WithUploadId(const char *value)
AWS_ECR_API CompleteLayerUploadResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CompleteLayerUploadResult & WithUploadId(Aws::String &&value)
CompleteLayerUploadResult & WithRequestId(Aws::String &&value)
CompleteLayerUploadResult & WithUploadId(const Aws::String &value)
CompleteLayerUploadResult & WithRequestId(const char *value)
CompleteLayerUploadResult & WithRepositoryName(const char *value)
CompleteLayerUploadResult & WithLayerDigest(const char *value)
CompleteLayerUploadResult & WithRegistryId(const Aws::String &value)
CompleteLayerUploadResult & WithRepositoryName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue