AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InitiateMultipartUploadResult.h
1
6#pragma once
7#include <aws/glacier/Glacier_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 Glacier
24{
25namespace Model
26{
33 {
34 public:
38
39
41
45 inline const Aws::String& GetLocation() const{ return m_location; }
46 inline void SetLocation(const Aws::String& value) { m_location = value; }
47 inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
48 inline void SetLocation(const char* value) { m_location.assign(value); }
49 inline InitiateMultipartUploadResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
50 inline InitiateMultipartUploadResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
51 inline InitiateMultipartUploadResult& WithLocation(const char* value) { SetLocation(value); return *this;}
53
55
59 inline const Aws::String& GetUploadId() const{ return m_uploadId; }
60 inline void SetUploadId(const Aws::String& value) { m_uploadId = value; }
61 inline void SetUploadId(Aws::String&& value) { m_uploadId = std::move(value); }
62 inline void SetUploadId(const char* value) { m_uploadId.assign(value); }
63 inline InitiateMultipartUploadResult& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;}
64 inline InitiateMultipartUploadResult& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;}
65 inline InitiateMultipartUploadResult& WithUploadId(const char* value) { SetUploadId(value); return *this;}
67
69
70 inline const Aws::String& GetRequestId() const{ return m_requestId; }
71 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
72 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
73 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
74 inline InitiateMultipartUploadResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
75 inline InitiateMultipartUploadResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
76 inline InitiateMultipartUploadResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
78 private:
79
80 Aws::String m_location;
81
82 Aws::String m_uploadId;
83
84 Aws::String m_requestId;
85 };
86
87} // namespace Model
88} // namespace Glacier
89} // namespace Aws
InitiateMultipartUploadResult & WithLocation(const char *value)
InitiateMultipartUploadResult & WithLocation(const Aws::String &value)
InitiateMultipartUploadResult & WithUploadId(const Aws::String &value)
AWS_GLACIER_API InitiateMultipartUploadResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
InitiateMultipartUploadResult & WithRequestId(const Aws::String &value)
AWS_GLACIER_API InitiateMultipartUploadResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
InitiateMultipartUploadResult & WithRequestId(Aws::String &&value)
InitiateMultipartUploadResult & WithUploadId(const char *value)
InitiateMultipartUploadResult & WithRequestId(const char *value)
InitiateMultipartUploadResult & WithUploadId(Aws::String &&value)
InitiateMultipartUploadResult & WithLocation(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue