AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RestoreObjectResult.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/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 S3
25{
26namespace Model
27{
29 {
30 public:
31 AWS_S3_API RestoreObjectResult() = default;
34
35
37
38 inline RequestCharged GetRequestCharged() const { return m_requestCharged; }
39 inline void SetRequestCharged(RequestCharged value) { m_requestChargedHasBeenSet = true; m_requestCharged = value; }
42
44
48 inline const Aws::String& GetRestoreOutputPath() const { return m_restoreOutputPath; }
49 template<typename RestoreOutputPathT = Aws::String>
50 void SetRestoreOutputPath(RestoreOutputPathT&& value) { m_restoreOutputPathHasBeenSet = true; m_restoreOutputPath = std::forward<RestoreOutputPathT>(value); }
51 template<typename RestoreOutputPathT = Aws::String>
52 RestoreObjectResult& WithRestoreOutputPath(RestoreOutputPathT&& value) { SetRestoreOutputPath(std::forward<RestoreOutputPathT>(value)); return *this;}
54
56
57 inline const Aws::String& GetRequestId() const { return m_requestId; }
58 template<typename RequestIdT = Aws::String>
59 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
60 template<typename RequestIdT = Aws::String>
61 RestoreObjectResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
63 private:
64
66 bool m_requestChargedHasBeenSet = false;
67
68 Aws::String m_restoreOutputPath;
69 bool m_restoreOutputPathHasBeenSet = false;
70
71 Aws::String m_requestId;
72 bool m_requestIdHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace S3
77} // namespace Aws
void SetRequestCharged(RequestCharged value)
AWS_S3_API RestoreObjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
RestoreObjectResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRestoreOutputPath() const
RestoreObjectResult & WithRequestCharged(RequestCharged value)
void SetRestoreOutputPath(RestoreOutputPathT &&value)
const Aws::String & GetRequestId() const
RestoreObjectResult & WithRestoreOutputPath(RestoreOutputPathT &&value)
AWS_S3_API RestoreObjectResult()=default
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
Aws::Utils::Xml::XmlDocument XmlDocument