AWS SDK for C++  1.9.107
AWS SDK for C++
CompleteLayerUploadResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecr/ECR_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace ECR
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetRegistryId() const{ return m_registryId; }
39 
43  inline void SetRegistryId(const Aws::String& value) { m_registryId = value; }
44 
48  inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); }
49 
53  inline void SetRegistryId(const char* value) { m_registryId.assign(value); }
54 
58  inline CompleteLayerUploadResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
59 
63  inline CompleteLayerUploadResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
64 
68  inline CompleteLayerUploadResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
69 
70 
74  inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
75 
79  inline void SetRepositoryName(const Aws::String& value) { m_repositoryName = value; }
80 
84  inline void SetRepositoryName(Aws::String&& value) { m_repositoryName = std::move(value); }
85 
89  inline void SetRepositoryName(const char* value) { m_repositoryName.assign(value); }
90 
94  inline CompleteLayerUploadResult& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
95 
99  inline CompleteLayerUploadResult& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
100 
104  inline CompleteLayerUploadResult& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
105 
106 
110  inline const Aws::String& GetUploadId() const{ return m_uploadId; }
111 
115  inline void SetUploadId(const Aws::String& value) { m_uploadId = value; }
116 
120  inline void SetUploadId(Aws::String&& value) { m_uploadId = std::move(value); }
121 
125  inline void SetUploadId(const char* value) { m_uploadId.assign(value); }
126 
130  inline CompleteLayerUploadResult& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;}
131 
135  inline CompleteLayerUploadResult& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;}
136 
140  inline CompleteLayerUploadResult& WithUploadId(const char* value) { SetUploadId(value); return *this;}
141 
142 
146  inline const Aws::String& GetLayerDigest() const{ return m_layerDigest; }
147 
151  inline void SetLayerDigest(const Aws::String& value) { m_layerDigest = value; }
152 
156  inline void SetLayerDigest(Aws::String&& value) { m_layerDigest = std::move(value); }
157 
161  inline void SetLayerDigest(const char* value) { m_layerDigest.assign(value); }
162 
166  inline CompleteLayerUploadResult& WithLayerDigest(const Aws::String& value) { SetLayerDigest(value); return *this;}
167 
171  inline CompleteLayerUploadResult& WithLayerDigest(Aws::String&& value) { SetLayerDigest(std::move(value)); return *this;}
172 
176  inline CompleteLayerUploadResult& WithLayerDigest(const char* value) { SetLayerDigest(value); return *this;}
177 
178  private:
179 
180  Aws::String m_registryId;
181 
182  Aws::String m_repositoryName;
183 
184  Aws::String m_uploadId;
185 
186  Aws::String m_layerDigest;
187  };
188 
189 } // namespace Model
190 } // namespace ECR
191 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECR::Model::CompleteLayerUploadResult::SetUploadId
void SetUploadId(const Aws::String &value)
Definition: CompleteLayerUploadResult.h:115
Aws::ECR::Model::CompleteLayerUploadResult::WithLayerDigest
CompleteLayerUploadResult & WithLayerDigest(Aws::String &&value)
Definition: CompleteLayerUploadResult.h:171
Aws::ECR::Model::CompleteLayerUploadResult::WithLayerDigest
CompleteLayerUploadResult & WithLayerDigest(const char *value)
Definition: CompleteLayerUploadResult.h:176
Aws::ECR::Model::CompleteLayerUploadResult::GetRepositoryName
const Aws::String & GetRepositoryName() const
Definition: CompleteLayerUploadResult.h:74
Aws::ECR::Model::CompleteLayerUploadResult::WithUploadId
CompleteLayerUploadResult & WithUploadId(Aws::String &&value)
Definition: CompleteLayerUploadResult.h:135
Aws::ECR::Model::CompleteLayerUploadResult
Definition: CompleteLayerUploadResult.h:28
Aws::ECR::Model::CompleteLayerUploadResult::SetRepositoryName
void SetRepositoryName(const Aws::String &value)
Definition: CompleteLayerUploadResult.h:79
Aws::ECR::Model::CompleteLayerUploadResult::WithLayerDigest
CompleteLayerUploadResult & WithLayerDigest(const Aws::String &value)
Definition: CompleteLayerUploadResult.h:166
Aws::ECR::Model::CompleteLayerUploadResult::WithRegistryId
CompleteLayerUploadResult & WithRegistryId(const Aws::String &value)
Definition: CompleteLayerUploadResult.h:58
Aws::ECR::Model::CompleteLayerUploadResult::SetLayerDigest
void SetLayerDigest(const char *value)
Definition: CompleteLayerUploadResult.h:161
Aws::ECR::Model::CompleteLayerUploadResult::SetUploadId
void SetUploadId(Aws::String &&value)
Definition: CompleteLayerUploadResult.h:120
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
Aws::ECR::Model::CompleteLayerUploadResult::CompleteLayerUploadResult
CompleteLayerUploadResult()
Aws::ECR::Model::CompleteLayerUploadResult::SetLayerDigest
void SetLayerDigest(Aws::String &&value)
Definition: CompleteLayerUploadResult.h:156
Aws::ECR::Model::CompleteLayerUploadResult::SetRepositoryName
void SetRepositoryName(const char *value)
Definition: CompleteLayerUploadResult.h:89
ECR_EXPORTS.h
Aws::ECR::Model::CompleteLayerUploadResult::GetRegistryId
const Aws::String & GetRegistryId() const
Definition: CompleteLayerUploadResult.h:38
Aws::ECR::Model::CompleteLayerUploadResult::WithRegistryId
CompleteLayerUploadResult & WithRegistryId(Aws::String &&value)
Definition: CompleteLayerUploadResult.h:63
AWSString.h
Aws::ECR::Model::CompleteLayerUploadResult::SetLayerDigest
void SetLayerDigest(const Aws::String &value)
Definition: CompleteLayerUploadResult.h:151
Aws::ECR::Model::CompleteLayerUploadResult::GetUploadId
const Aws::String & GetUploadId() const
Definition: CompleteLayerUploadResult.h:110
Aws::ECR::Model::CompleteLayerUploadResult::SetRegistryId
void SetRegistryId(const char *value)
Definition: CompleteLayerUploadResult.h:53
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Aws::ECR::Model::CompleteLayerUploadResult::WithRepositoryName
CompleteLayerUploadResult & WithRepositoryName(Aws::String &&value)
Definition: CompleteLayerUploadResult.h:99
Aws::ECR::Model::CompleteLayerUploadResult::SetRegistryId
void SetRegistryId(const Aws::String &value)
Definition: CompleteLayerUploadResult.h:43
Aws::ECR::Model::CompleteLayerUploadResult::SetRegistryId
void SetRegistryId(Aws::String &&value)
Definition: CompleteLayerUploadResult.h:48
Aws::ECR::Model::CompleteLayerUploadResult::WithRepositoryName
CompleteLayerUploadResult & WithRepositoryName(const char *value)
Definition: CompleteLayerUploadResult.h:104
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::Model::CompleteLayerUploadResult::CompleteLayerUploadResult
CompleteLayerUploadResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::CompleteLayerUploadResult::WithRegistryId
CompleteLayerUploadResult & WithRegistryId(const char *value)
Definition: CompleteLayerUploadResult.h:68
Aws::ECR::Model::CompleteLayerUploadResult::WithUploadId
CompleteLayerUploadResult & WithUploadId(const char *value)
Definition: CompleteLayerUploadResult.h:140
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECR::Model::CompleteLayerUploadResult::GetLayerDigest
const Aws::String & GetLayerDigest() const
Definition: CompleteLayerUploadResult.h:146
Aws::ECR::Model::CompleteLayerUploadResult::WithRepositoryName
CompleteLayerUploadResult & WithRepositoryName(const Aws::String &value)
Definition: CompleteLayerUploadResult.h:94
Aws::ECR::Model::CompleteLayerUploadResult::SetRepositoryName
void SetRepositoryName(Aws::String &&value)
Definition: CompleteLayerUploadResult.h:84
Aws::ECR::Model::CompleteLayerUploadResult::WithUploadId
CompleteLayerUploadResult & WithUploadId(const Aws::String &value)
Definition: CompleteLayerUploadResult.h:130
Aws::ECR::Model::CompleteLayerUploadResult::SetUploadId
void SetUploadId(const char *value)
Definition: CompleteLayerUploadResult.h:125
Aws::ECR::Model::CompleteLayerUploadResult::operator=
CompleteLayerUploadResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)