1 | /* |
---|---|
2 | * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
3 | * |
4 | * Licensed under the Apache License, Version 2.0 (the "License"). |
5 | * You may not use this file except in compliance with the License. |
6 | * A copy of the License is located at |
7 | * |
8 | * http://aws.amazon.com/apache2.0 |
9 | * |
10 | * or in the "license" file accompanying this file. This file is distributed |
11 | * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either |
12 | * express or implied. See the License for the specific language governing |
13 | * permissions and limitations under the License. |
14 | */ |
15 | |
16 | #pragma once |
17 | #include <aws/s3/S3_EXPORTS.h> |
18 | #include <aws/s3/model/RequestCharged.h> |
19 | #include <aws/core/utils/memory/stl/AWSString.h> |
20 | #include <utility> |
21 | |
22 | namespace Aws |
23 | { |
24 | template<typename RESULT_TYPE> |
25 | class AmazonWebServiceResult; |
26 | |
27 | namespace Utils |
28 | { |
29 | namespace Xml |
30 | { |
31 | class XmlDocument; |
32 | } // namespace Xml |
33 | } // namespace Utils |
34 | namespace S3 |
35 | { |
36 | namespace Model |
37 | { |
38 | class AWS_S3_API RestoreObjectResult |
39 | { |
40 | public: |
41 | RestoreObjectResult(); |
42 | RestoreObjectResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); |
43 | RestoreObjectResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); |
44 | |
45 | |
46 | |
47 | inline const RequestCharged& GetRequestCharged() const{ return m_requestCharged; } |
48 | |
49 | |
50 | inline void SetRequestCharged(const RequestCharged& value) { m_requestCharged = value; } |
51 | |
52 | |
53 | inline void SetRequestCharged(RequestCharged&& value) { m_requestCharged = std::move(value); } |
54 | |
55 | |
56 | inline RestoreObjectResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;} |
57 | |
58 | |
59 | inline RestoreObjectResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;} |
60 | |
61 | |
62 | /** |
63 | * <p>Indicates the path in the provided S3 output location where Select results |
64 | * will be restored to.</p> |
65 | */ |
66 | inline const Aws::String& GetRestoreOutputPath() const{ return m_restoreOutputPath; } |
67 | |
68 | /** |
69 | * <p>Indicates the path in the provided S3 output location where Select results |
70 | * will be restored to.</p> |
71 | */ |
72 | inline void SetRestoreOutputPath(const Aws::String& value) { m_restoreOutputPath = value; } |
73 | |
74 | /** |
75 | * <p>Indicates the path in the provided S3 output location where Select results |
76 | * will be restored to.</p> |
77 | */ |
78 | inline void SetRestoreOutputPath(Aws::String&& value) { m_restoreOutputPath = std::move(value); } |
79 | |
80 | /** |
81 | * <p>Indicates the path in the provided S3 output location where Select results |
82 | * will be restored to.</p> |
83 | */ |
84 | inline void SetRestoreOutputPath(const char* value) { m_restoreOutputPath.assign(value); } |
85 | |
86 | /** |
87 | * <p>Indicates the path in the provided S3 output location where Select results |
88 | * will be restored to.</p> |
89 | */ |
90 | inline RestoreObjectResult& WithRestoreOutputPath(const Aws::String& value) { SetRestoreOutputPath(value); return *this;} |
91 | |
92 | /** |
93 | * <p>Indicates the path in the provided S3 output location where Select results |
94 | * will be restored to.</p> |
95 | */ |
96 | inline RestoreObjectResult& WithRestoreOutputPath(Aws::String&& value) { SetRestoreOutputPath(std::move(value)); return *this;} |
97 | |
98 | /** |
99 | * <p>Indicates the path in the provided S3 output location where Select results |
100 | * will be restored to.</p> |
101 | */ |
102 | inline RestoreObjectResult& WithRestoreOutputPath(const char* value) { SetRestoreOutputPath(value); return *this;} |
103 | |
104 | private: |
105 | |
106 | RequestCharged m_requestCharged; |
107 | |
108 | Aws::String m_restoreOutputPath; |
109 | }; |
110 | |
111 | } // namespace Model |
112 | } // namespace S3 |
113 | } // namespace Aws |
114 |