AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
GetObjectTorrentResult.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace S3
19{
20namespace Model
21{
23 {
24 public:
26 //We have to define these because Microsoft doesn't auto generate them
29 //we delete these because Microsoft doesn't handle move generation correctly
30 //and we therefore don't trust them to get it right here either.
33
34
37
38
39
43 inline Aws::IOStream& GetBody() { return m_body.GetUnderlyingStream(); }
44
48 inline void ReplaceBody(Aws::IOStream* body) { m_body = Aws::Utils::Stream::ResponseStream(body); }
49
50
51
52 inline const RequestCharged& GetRequestCharged() const{ return m_requestCharged; }
53
54
55 inline void SetRequestCharged(const RequestCharged& value) { m_requestCharged = value; }
56
57
58 inline void SetRequestCharged(RequestCharged&& value) { m_requestCharged = std::move(value); }
59
60
61 inline GetObjectTorrentResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;}
62
63
64 inline GetObjectTorrentResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;}
65
66 private:
67
69
70 RequestCharged m_requestCharged;
71 };
72
73} // namespace Model
74} // namespace S3
75} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
void SetRequestCharged(RequestCharged &&value)
GetObjectTorrentResult & WithRequestCharged(RequestCharged &&value)
AWS_S3_API GetObjectTorrentResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetObjectTorrentResult & operator=(const GetObjectTorrentResult &)=delete
AWS_S3_API GetObjectTorrentResult(GetObjectTorrentResult &&)
GetObjectTorrentResult(const GetObjectTorrentResult &)=delete
const RequestCharged & GetRequestCharged() const
void SetRequestCharged(const RequestCharged &value)
AWS_S3_API GetObjectTorrentResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
AWS_S3_API GetObjectTorrentResult & operator=(GetObjectTorrentResult &&)
GetObjectTorrentResult & WithRequestCharged(const RequestCharged &value)
Aws::IOStream & GetUnderlyingStream() const
std::basic_iostream< char, std::char_traits< char > > IOStream