AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
RestoreObjectResult.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace S3
25{
26namespace Model
27{
29 {
30 public:
34
35
36
37 inline const RequestCharged& GetRequestCharged() const{ return m_requestCharged; }
38
39
40 inline void SetRequestCharged(const RequestCharged& value) { m_requestCharged = value; }
41
42
43 inline void SetRequestCharged(RequestCharged&& value) { m_requestCharged = std::move(value); }
44
45
46 inline RestoreObjectResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;}
47
48
49 inline RestoreObjectResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;}
50
51
56 inline const Aws::String& GetRestoreOutputPath() const{ return m_restoreOutputPath; }
57
62 inline void SetRestoreOutputPath(const Aws::String& value) { m_restoreOutputPath = value; }
63
68 inline void SetRestoreOutputPath(Aws::String&& value) { m_restoreOutputPath = std::move(value); }
69
74 inline void SetRestoreOutputPath(const char* value) { m_restoreOutputPath.assign(value); }
75
80 inline RestoreObjectResult& WithRestoreOutputPath(const Aws::String& value) { SetRestoreOutputPath(value); return *this;}
81
86 inline RestoreObjectResult& WithRestoreOutputPath(Aws::String&& value) { SetRestoreOutputPath(std::move(value)); return *this;}
87
92 inline RestoreObjectResult& WithRestoreOutputPath(const char* value) { SetRestoreOutputPath(value); return *this;}
93
94 private:
95
96 RequestCharged m_requestCharged;
97
98 Aws::String m_restoreOutputPath;
99 };
100
101} // namespace Model
102} // namespace S3
103} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
RestoreObjectResult & WithRestoreOutputPath(Aws::String &&value)
AWS_S3_API RestoreObjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetRestoreOutputPath() const
void SetRestoreOutputPath(const char *value)
RestoreObjectResult & WithRestoreOutputPath(const Aws::String &value)
RestoreObjectResult & WithRequestCharged(RequestCharged &&value)
void SetRestoreOutputPath(Aws::String &&value)
void SetRequestCharged(const RequestCharged &value)
const RequestCharged & GetRequestCharged() const
RestoreObjectResult & WithRestoreOutputPath(const char *value)
void SetRequestCharged(RequestCharged &&value)
void SetRestoreOutputPath(const Aws::String &value)
RestoreObjectResult & WithRequestCharged(const RequestCharged &value)
AWS_S3_API RestoreObjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String