AWS SDK for C++  1.9.104
AWS SDK for C++
UploadLayerPartResult.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 UploadLayerPartResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
59 
63  inline UploadLayerPartResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
64 
68  inline UploadLayerPartResult& 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 UploadLayerPartResult& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
95 
99  inline UploadLayerPartResult& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
100 
104  inline UploadLayerPartResult& 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 UploadLayerPartResult& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;}
131 
135  inline UploadLayerPartResult& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;}
136 
140  inline UploadLayerPartResult& WithUploadId(const char* value) { SetUploadId(value); return *this;}
141 
142 
146  inline long long GetLastByteReceived() const{ return m_lastByteReceived; }
147 
151  inline void SetLastByteReceived(long long value) { m_lastByteReceived = value; }
152 
156  inline UploadLayerPartResult& WithLastByteReceived(long long value) { SetLastByteReceived(value); return *this;}
157 
158  private:
159 
160  Aws::String m_registryId;
161 
162  Aws::String m_repositoryName;
163 
164  Aws::String m_uploadId;
165 
166  long long m_lastByteReceived;
167  };
168 
169 } // namespace Model
170 } // namespace ECR
171 } // namespace Aws
Aws::ECR::Model::UploadLayerPartResult::WithUploadId
UploadLayerPartResult & WithUploadId(const char *value)
Definition: UploadLayerPartResult.h:140
Aws::ECR::Model::UploadLayerPartResult::SetRepositoryName
void SetRepositoryName(const Aws::String &value)
Definition: UploadLayerPartResult.h:79
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECR::Model::UploadLayerPartResult::SetRegistryId
void SetRegistryId(const char *value)
Definition: UploadLayerPartResult.h:53
Aws::ECR::Model::UploadLayerPartResult::WithLastByteReceived
UploadLayerPartResult & WithLastByteReceived(long long value)
Definition: UploadLayerPartResult.h:156
Aws::ECR::Model::UploadLayerPartResult::GetUploadId
const Aws::String & GetUploadId() const
Definition: UploadLayerPartResult.h:110
Aws::ECR::Model::UploadLayerPartResult::SetRegistryId
void SetRegistryId(const Aws::String &value)
Definition: UploadLayerPartResult.h:43
Aws::ECR::Model::UploadLayerPartResult::SetUploadId
void SetUploadId(Aws::String &&value)
Definition: UploadLayerPartResult.h:120
Aws::ECR::Model::UploadLayerPartResult::operator=
UploadLayerPartResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::UploadLayerPartResult::SetRepositoryName
void SetRepositoryName(const char *value)
Definition: UploadLayerPartResult.h:89
Aws::ECR::Model::UploadLayerPartResult::GetRepositoryName
const Aws::String & GetRepositoryName() const
Definition: UploadLayerPartResult.h:74
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
Aws::ECR::Model::UploadLayerPartResult::SetLastByteReceived
void SetLastByteReceived(long long value)
Definition: UploadLayerPartResult.h:151
Aws::ECR::Model::UploadLayerPartResult::WithRepositoryName
UploadLayerPartResult & WithRepositoryName(Aws::String &&value)
Definition: UploadLayerPartResult.h:99
Aws::ECR::Model::UploadLayerPartResult::WithRegistryId
UploadLayerPartResult & WithRegistryId(Aws::String &&value)
Definition: UploadLayerPartResult.h:63
Aws::ECR::Model::UploadLayerPartResult::WithRepositoryName
UploadLayerPartResult & WithRepositoryName(const Aws::String &value)
Definition: UploadLayerPartResult.h:94
Aws::ECR::Model::UploadLayerPartResult
Definition: UploadLayerPartResult.h:28
Aws::ECR::Model::UploadLayerPartResult::WithRegistryId
UploadLayerPartResult & WithRegistryId(const Aws::String &value)
Definition: UploadLayerPartResult.h:58
Aws::ECR::Model::UploadLayerPartResult::WithUploadId
UploadLayerPartResult & WithUploadId(const Aws::String &value)
Definition: UploadLayerPartResult.h:130
ECR_EXPORTS.h
Aws::ECR::Model::UploadLayerPartResult::UploadLayerPartResult
UploadLayerPartResult()
Aws::ECR::Model::UploadLayerPartResult::SetUploadId
void SetUploadId(const char *value)
Definition: UploadLayerPartResult.h:125
AWSString.h
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Aws::ECR::Model::UploadLayerPartResult::SetRegistryId
void SetRegistryId(Aws::String &&value)
Definition: UploadLayerPartResult.h:48
Aws::ECR::Model::UploadLayerPartResult::SetRepositoryName
void SetRepositoryName(Aws::String &&value)
Definition: UploadLayerPartResult.h:84
Aws::ECR::Model::UploadLayerPartResult::WithUploadId
UploadLayerPartResult & WithUploadId(Aws::String &&value)
Definition: UploadLayerPartResult.h:135
Aws::ECR::Model::UploadLayerPartResult::GetLastByteReceived
long long GetLastByteReceived() const
Definition: UploadLayerPartResult.h:146
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::Model::UploadLayerPartResult::WithRegistryId
UploadLayerPartResult & WithRegistryId(const char *value)
Definition: UploadLayerPartResult.h:68
Aws::ECR::Model::UploadLayerPartResult::WithRepositoryName
UploadLayerPartResult & WithRepositoryName(const char *value)
Definition: UploadLayerPartResult.h:104
Aws::ECR::Model::UploadLayerPartResult::GetRegistryId
const Aws::String & GetRegistryId() const
Definition: UploadLayerPartResult.h:38
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECR::Model::UploadLayerPartResult::UploadLayerPartResult
UploadLayerPartResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::UploadLayerPartResult::SetUploadId
void SetUploadId(const Aws::String &value)
Definition: UploadLayerPartResult.h:115