AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RestoreObjectResult.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/RequestCharged.h>
9#include <aws/core/utils/memory/stl/AWSString.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 S3Crt
25{
26namespace Model
27{
29 {
30 public:
31 AWS_S3CRT_API RestoreObjectResult();
34
35
37
38 inline const RequestCharged& GetRequestCharged() const{ return m_requestCharged; }
39 inline void SetRequestCharged(const RequestCharged& value) { m_requestCharged = value; }
40 inline void SetRequestCharged(RequestCharged&& value) { m_requestCharged = std::move(value); }
41 inline RestoreObjectResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;}
42 inline RestoreObjectResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;}
44
46
50 inline const Aws::String& GetRestoreOutputPath() const{ return m_restoreOutputPath; }
51 inline void SetRestoreOutputPath(const Aws::String& value) { m_restoreOutputPath = value; }
52 inline void SetRestoreOutputPath(Aws::String&& value) { m_restoreOutputPath = std::move(value); }
53 inline void SetRestoreOutputPath(const char* value) { m_restoreOutputPath.assign(value); }
54 inline RestoreObjectResult& WithRestoreOutputPath(const Aws::String& value) { SetRestoreOutputPath(value); return *this;}
55 inline RestoreObjectResult& WithRestoreOutputPath(Aws::String&& value) { SetRestoreOutputPath(std::move(value)); return *this;}
56 inline RestoreObjectResult& WithRestoreOutputPath(const char* value) { SetRestoreOutputPath(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 RestoreObjectResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
66 inline RestoreObjectResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline RestoreObjectResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69 private:
70
71 RequestCharged m_requestCharged;
72
73 Aws::String m_restoreOutputPath;
74
75 Aws::String m_requestId;
76 };
77
78} // namespace Model
79} // namespace S3Crt
80} // namespace Aws
const Aws::String & GetRequestId() const
void SetRequestId(const Aws::String &value)
RestoreObjectResult & WithRequestCharged(const RequestCharged &value)
AWS_S3CRT_API RestoreObjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetRestoreOutputPath(const Aws::String &value)
RestoreObjectResult & WithRestoreOutputPath(Aws::String &&value)
RestoreObjectResult & WithRequestId(const Aws::String &value)
RestoreObjectResult & WithRequestId(const char *value)
void SetRestoreOutputPath(Aws::String &&value)
RestoreObjectResult & WithRestoreOutputPath(const char *value)
RestoreObjectResult & WithRestoreOutputPath(const Aws::String &value)
RestoreObjectResult & WithRequestCharged(RequestCharged &&value)
void SetRequestCharged(const RequestCharged &value)
const RequestCharged & GetRequestCharged() const
const Aws::String & GetRestoreOutputPath() const
void SetRequestCharged(RequestCharged &&value)
RestoreObjectResult & WithRequestId(Aws::String &&value)
AWS_S3CRT_API RestoreObjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument