AWS SDK for C++  1.9.107
AWS SDK for C++
InitiateLayerUploadResult.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 
39  inline const Aws::String& GetUploadId() const{ return m_uploadId; }
40 
45  inline void SetUploadId(const Aws::String& value) { m_uploadId = value; }
46 
51  inline void SetUploadId(Aws::String&& value) { m_uploadId = std::move(value); }
52 
57  inline void SetUploadId(const char* value) { m_uploadId.assign(value); }
58 
63  inline InitiateLayerUploadResult& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;}
64 
69  inline InitiateLayerUploadResult& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;}
70 
75  inline InitiateLayerUploadResult& WithUploadId(const char* value) { SetUploadId(value); return *this;}
76 
77 
82  inline long long GetPartSize() const{ return m_partSize; }
83 
88  inline void SetPartSize(long long value) { m_partSize = value; }
89 
94  inline InitiateLayerUploadResult& WithPartSize(long long value) { SetPartSize(value); return *this;}
95 
96  private:
97 
98  Aws::String m_uploadId;
99 
100  long long m_partSize;
101  };
102 
103 } // namespace Model
104 } // namespace ECR
105 } // namespace Aws
Aws::ECR::Model::InitiateLayerUploadResult
Definition: InitiateLayerUploadResult.h:28
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECR::Model::InitiateLayerUploadResult::SetUploadId
void SetUploadId(const Aws::String &value)
Definition: InitiateLayerUploadResult.h:45
Aws::ECR::Model::InitiateLayerUploadResult::WithUploadId
InitiateLayerUploadResult & WithUploadId(const Aws::String &value)
Definition: InitiateLayerUploadResult.h:63
Aws::ECR::Model::InitiateLayerUploadResult::InitiateLayerUploadResult
InitiateLayerUploadResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::InitiateLayerUploadResult::GetUploadId
const Aws::String & GetUploadId() const
Definition: InitiateLayerUploadResult.h:39
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
ECR_EXPORTS.h
Aws::ECR::Model::InitiateLayerUploadResult::operator=
InitiateLayerUploadResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::ECR::Model::InitiateLayerUploadResult::GetPartSize
long long GetPartSize() const
Definition: InitiateLayerUploadResult.h:82
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Aws::ECR::Model::InitiateLayerUploadResult::InitiateLayerUploadResult
InitiateLayerUploadResult()
Aws::ECR::Model::InitiateLayerUploadResult::WithPartSize
InitiateLayerUploadResult & WithPartSize(long long value)
Definition: InitiateLayerUploadResult.h:94
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECR::Model::InitiateLayerUploadResult::SetUploadId
void SetUploadId(Aws::String &&value)
Definition: InitiateLayerUploadResult.h:51
Aws::ECR::Model::InitiateLayerUploadResult::SetPartSize
void SetPartSize(long long value)
Definition: InitiateLayerUploadResult.h:88
Aws::ECR::Model::InitiateLayerUploadResult::WithUploadId
InitiateLayerUploadResult & WithUploadId(const char *value)
Definition: InitiateLayerUploadResult.h:75
Aws::ECR::Model::InitiateLayerUploadResult::WithUploadId
InitiateLayerUploadResult & WithUploadId(Aws::String &&value)
Definition: InitiateLayerUploadResult.h:69
Aws::ECR::Model::InitiateLayerUploadResult::SetUploadId
void SetUploadId(const char *value)
Definition: InitiateLayerUploadResult.h:57