AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InitiateLayerUploadResult.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
40 inline const Aws::String& GetUploadId() const{ return m_uploadId; }
41 inline void SetUploadId(const Aws::String& value) { m_uploadId = value; }
42 inline void SetUploadId(Aws::String&& value) { m_uploadId = std::move(value); }
43 inline void SetUploadId(const char* value) { m_uploadId.assign(value); }
44 inline InitiateLayerUploadResult& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;}
45 inline InitiateLayerUploadResult& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;}
46 inline InitiateLayerUploadResult& WithUploadId(const char* value) { SetUploadId(value); return *this;}
48
50
54 inline long long GetPartSize() const{ return m_partSize; }
55 inline void SetPartSize(long long value) { m_partSize = value; }
56 inline InitiateLayerUploadResult& WithPartSize(long long value) { SetPartSize(value); return *this;}
58
60
61 inline const Aws::String& GetRequestId() const{ return m_requestId; }
62 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
63 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
64 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
65 inline InitiateLayerUploadResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
66 inline InitiateLayerUploadResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline InitiateLayerUploadResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69 private:
70
71 Aws::String m_uploadId;
72
73 long long m_partSize;
74
75 Aws::String m_requestId;
76 };
77
78} // namespace Model
79} // namespace ECR
80} // namespace Aws
InitiateLayerUploadResult & WithRequestId(Aws::String &&value)
InitiateLayerUploadResult & WithPartSize(long long value)
AWS_ECR_API InitiateLayerUploadResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
InitiateLayerUploadResult & WithUploadId(const Aws::String &value)
InitiateLayerUploadResult & WithUploadId(Aws::String &&value)
InitiateLayerUploadResult & WithRequestId(const char *value)
InitiateLayerUploadResult & WithRequestId(const Aws::String &value)
InitiateLayerUploadResult & WithUploadId(const char *value)
AWS_ECR_API InitiateLayerUploadResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue