AWS SDK for C++  1.9.102
AWS SDK for C++
InitiateMultipartUploadResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 Glacier
24 {
25 namespace Model
26 {
33  {
34  public:
38 
39 
44  inline const Aws::String& GetLocation() const{ return m_location; }
45 
50  inline void SetLocation(const Aws::String& value) { m_location = value; }
51 
56  inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
57 
62  inline void SetLocation(const char* value) { m_location.assign(value); }
63 
68  inline InitiateMultipartUploadResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
69 
74  inline InitiateMultipartUploadResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
75 
80  inline InitiateMultipartUploadResult& WithLocation(const char* value) { SetLocation(value); return *this;}
81 
82 
87  inline const Aws::String& GetUploadId() const{ return m_uploadId; }
88 
93  inline void SetUploadId(const Aws::String& value) { m_uploadId = value; }
94 
99  inline void SetUploadId(Aws::String&& value) { m_uploadId = std::move(value); }
100 
105  inline void SetUploadId(const char* value) { m_uploadId.assign(value); }
106 
111  inline InitiateMultipartUploadResult& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;}
112 
117  inline InitiateMultipartUploadResult& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;}
118 
123  inline InitiateMultipartUploadResult& WithUploadId(const char* value) { SetUploadId(value); return *this;}
124 
125  private:
126 
127  Aws::String m_location;
128 
129  Aws::String m_uploadId;
130  };
131 
132 } // namespace Model
133 } // namespace Glacier
134 } // namespace Aws
Aws::Glacier::Model::InitiateMultipartUploadResult::WithLocation
InitiateMultipartUploadResult & WithLocation(const char *value)
Definition: InitiateMultipartUploadResult.h:80
Aws::Glacier::Model::InitiateMultipartUploadResult::InitiateMultipartUploadResult
InitiateMultipartUploadResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Glacier::Model::InitiateMultipartUploadResult::InitiateMultipartUploadResult
InitiateMultipartUploadResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::InitiateMultipartUploadResult::GetUploadId
const Aws::String & GetUploadId() const
Definition: InitiateMultipartUploadResult.h:87
Aws::Glacier::Model::InitiateMultipartUploadResult::operator=
InitiateMultipartUploadResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::InitiateMultipartUploadResult::SetUploadId
void SetUploadId(const char *value)
Definition: InitiateMultipartUploadResult.h:105
Aws::Glacier::Model::InitiateMultipartUploadResult::SetUploadId
void SetUploadId(const Aws::String &value)
Definition: InitiateMultipartUploadResult.h:93
Aws::Glacier::Model::InitiateMultipartUploadResult::SetUploadId
void SetUploadId(Aws::String &&value)
Definition: InitiateMultipartUploadResult.h:99
AWSString.h
Aws::Glacier::Model::InitiateMultipartUploadResult::WithLocation
InitiateMultipartUploadResult & WithLocation(Aws::String &&value)
Definition: InitiateMultipartUploadResult.h:74
Aws::Glacier::Model::InitiateMultipartUploadResult::WithUploadId
InitiateMultipartUploadResult & WithUploadId(Aws::String &&value)
Definition: InitiateMultipartUploadResult.h:117
Aws::Glacier::Model::InitiateMultipartUploadResult::WithUploadId
InitiateMultipartUploadResult & WithUploadId(const Aws::String &value)
Definition: InitiateMultipartUploadResult.h:111
Aws::Glacier::Model::InitiateMultipartUploadResult::SetLocation
void SetLocation(const Aws::String &value)
Definition: InitiateMultipartUploadResult.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::InitiateMultipartUploadResult::WithUploadId
InitiateMultipartUploadResult & WithUploadId(const char *value)
Definition: InitiateMultipartUploadResult.h:123
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::InitiateMultipartUploadResult::SetLocation
void SetLocation(Aws::String &&value)
Definition: InitiateMultipartUploadResult.h:56
Aws::Glacier::Model::InitiateMultipartUploadResult::WithLocation
InitiateMultipartUploadResult & WithLocation(const Aws::String &value)
Definition: InitiateMultipartUploadResult.h:68
Aws::Glacier::Model::InitiateMultipartUploadResult
Definition: InitiateMultipartUploadResult.h:33
Aws::Glacier::Model::InitiateMultipartUploadResult::SetLocation
void SetLocation(const char *value)
Definition: InitiateMultipartUploadResult.h:62
Aws::Glacier::Model::InitiateMultipartUploadResult::GetLocation
const Aws::String & GetLocation() const
Definition: InitiateMultipartUploadResult.h:44
Glacier_EXPORTS.h