AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
RestoreObjectResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3/S3_EXPORTS.h>
9#include <aws/s3/model/RequestCharged.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace S3 {
23namespace Model {
25 public:
26 AWS_S3_API RestoreObjectResult() = default;
29
31
32 inline RequestCharged GetRequestCharged() const { return m_requestCharged; }
33 inline void SetRequestCharged(RequestCharged value) {
34 m_requestChargedHasBeenSet = true;
35 m_requestCharged = value;
36 }
38 SetRequestCharged(value);
39 return *this;
40 }
42
44
48 inline const Aws::String& GetRestoreOutputPath() const { return m_restoreOutputPath; }
49 template <typename RestoreOutputPathT = Aws::String>
50 void SetRestoreOutputPath(RestoreOutputPathT&& value) {
51 m_restoreOutputPathHasBeenSet = true;
52 m_restoreOutputPath = std::forward<RestoreOutputPathT>(value);
53 }
54 template <typename RestoreOutputPathT = Aws::String>
55 RestoreObjectResult& WithRestoreOutputPath(RestoreOutputPathT&& value) {
56 SetRestoreOutputPath(std::forward<RestoreOutputPathT>(value));
57 return *this;
58 }
60
62
63 inline const Aws::String& GetRequestId() const { return m_requestId; }
64 template <typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) {
66 m_requestIdHasBeenSet = true;
67 m_requestId = std::forward<RequestIdT>(value);
68 }
69 template <typename RequestIdT = Aws::String>
70 RestoreObjectResult& WithRequestId(RequestIdT&& value) {
71 SetRequestId(std::forward<RequestIdT>(value));
72 return *this;
73 }
75 private:
77
78 Aws::String m_restoreOutputPath;
79
80 Aws::String m_requestId;
81 bool m_requestChargedHasBeenSet = false;
82 bool m_restoreOutputPathHasBeenSet = false;
83 bool m_requestIdHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace S3
88} // 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