AWS SDK for C++  0.14.3
AWS SDK for C++
DeleteObjectResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 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 #pragma once
16 #include <aws/s3/S3_EXPORTS.h>
19 
20 namespace Aws
21 {
22 template<typename RESULT_TYPE>
23 class AmazonWebServiceResult;
24 
25 namespace Utils
26 {
27 namespace Xml
28 {
29  class XmlDocument;
30 } // namespace Xml
31 } // namespace Utils
32 namespace S3
33 {
34 namespace Model
35 {
37  {
38  public:
42 
47  inline bool GetDeleteMarker() const{ return m_deleteMarker; }
48 
53  inline void SetDeleteMarker(bool value) { m_deleteMarker = value; }
54 
59  inline DeleteObjectResult& WithDeleteMarker(bool value) { SetDeleteMarker(value); return *this;}
60 
65  inline const Aws::String& GetVersionId() const{ return m_versionId; }
66 
71  inline void SetVersionId(const Aws::String& value) { m_versionId = value; }
72 
77  inline void SetVersionId(Aws::String&& value) { m_versionId = value; }
78 
83  inline void SetVersionId(const char* value) { m_versionId.assign(value); }
84 
89  inline DeleteObjectResult& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
90 
95  inline DeleteObjectResult& WithVersionId(Aws::String&& value) { SetVersionId(value); return *this;}
96 
101  inline DeleteObjectResult& WithVersionId(const char* value) { SetVersionId(value); return *this;}
102 
103 
104  inline const RequestCharged& GetRequestCharged() const{ return m_requestCharged; }
105 
106 
107  inline void SetRequestCharged(const RequestCharged& value) { m_requestCharged = value; }
108 
109 
110  inline void SetRequestCharged(RequestCharged&& value) { m_requestCharged = value; }
111 
112 
113  inline DeleteObjectResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;}
114 
115 
116  inline DeleteObjectResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(value); return *this;}
117 
118  private:
119  bool m_deleteMarker;
120  Aws::String m_versionId;
121  RequestCharged m_requestCharged;
122  };
123 
124 } // namespace Model
125 } // namespace S3
126 } // namespace Aws
void SetVersionId(const Aws::String &value)
DeleteObjectResult & WithDeleteMarker(bool value)
void SetRequestCharged(const RequestCharged &value)
DeleteObjectResult & WithVersionId(const Aws::String &value)
#define AWS_S3_API
Definition: S3_EXPORTS.h:37
void SetVersionId(Aws::String &&value)
const Aws::String & GetVersionId() const
void SetVersionId(const char *value)
DeleteObjectResult & WithRequestCharged(RequestCharged &&value)
DeleteObjectResult & WithRequestCharged(const RequestCharged &value)
DeleteObjectResult & WithVersionId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetRequestCharged(RequestCharged &&value)
const RequestCharged & GetRequestCharged() const
JSON (JavaScript Object Notation).
DeleteObjectResult & WithVersionId(Aws::String &&value)