AWS SDK for C++  0.14.3
AWS SDK for C++
GetObjectTorrentResult.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>
18 #include <aws/core/utils/Array.h>
20 
21 namespace Aws
22 {
23 template<typename RESULT_TYPE>
24 class AmazonWebServiceResult;
25 
26 namespace S3
27 {
28 namespace Model
29 {
31  {
32  public:
34  //We have to define these because Microsoft doesn't auto generate them
37  //we delete these because Microsoft doesn't handle move generation correctly
38  //and we therefore don't trust them to get it right here either.
40  GetObjectTorrentResult& operator=(const GetObjectTorrentResult&) = delete;
41 
42 
45 
46 
47 
48  inline Aws::IOStream& GetBody() { return m_body.GetUnderlyingStream(); }
49 
50 
51  inline const RequestCharged& GetRequestCharged() const{ return m_requestCharged; }
52 
53 
54  inline void SetRequestCharged(const RequestCharged& value) { m_requestCharged = value; }
55 
56 
57  inline void SetRequestCharged(RequestCharged&& value) { m_requestCharged = value; }
58 
59 
60  inline GetObjectTorrentResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;}
61 
62 
63  inline GetObjectTorrentResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(value); return *this;}
64 
65  private:
67  RequestCharged m_requestCharged;
68  };
69 
70 } // namespace Model
71 } // namespace S3
72 } // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:37
std::basic_iostream< char, std::char_traits< char > > IOStream
Definition: AWSStreamFwd.h:32
GetObjectTorrentResult & WithRequestCharged(RequestCharged &&value)
void SetRequestCharged(const RequestCharged &value)
void SetRequestCharged(RequestCharged &&value)
const RequestCharged & GetRequestCharged() const
GetObjectTorrentResult & WithRequestCharged(const RequestCharged &value)
JSON (JavaScript Object Notation).