AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTileResult.h
1
6#pragma once
7#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
8#include <aws/core/utils/stream/ResponseStream.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace SageMakerGeospatial
19{
20namespace Model
21{
23 {
24 public:
25 AWS_SAGEMAKERGEOSPATIAL_API GetTileResult();
26 //We have to define these because Microsoft doesn't auto generate them
27 AWS_SAGEMAKERGEOSPATIAL_API GetTileResult(GetTileResult&&);
28 AWS_SAGEMAKERGEOSPATIAL_API GetTileResult& operator=(GetTileResult&&);
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.
31 GetTileResult(const GetTileResult&) = delete;
33
34
37
38
39
41
44 inline Aws::IOStream& GetBinaryFile() const { return m_binaryFile.GetUnderlyingStream(); }
45 inline void ReplaceBody(Aws::IOStream* body) { m_binaryFile = Aws::Utils::Stream::ResponseStream(body); }
46
48
50
51 inline const Aws::String& GetRequestId() const{ return m_requestId; }
52 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
53 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
54 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
55 inline GetTileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
56 inline GetTileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
57 inline GetTileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
59 private:
60
62
63 Aws::String m_requestId;
64 };
65
66} // namespace Model
67} // namespace SageMakerGeospatial
68} // namespace Aws
AWS_SAGEMAKERGEOSPATIAL_API GetTileResult(GetTileResult &&)
void SetRequestId(const Aws::String &value)
AWS_SAGEMAKERGEOSPATIAL_API GetTileResult()
GetTileResult & WithRequestId(Aws::String &&value)
AWS_SAGEMAKERGEOSPATIAL_API GetTileResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetTileResult(const GetTileResult &)=delete
GetTileResult & WithRequestId(const Aws::String &value)
GetTileResult & WithRequestId(const char *value)
AWS_SAGEMAKERGEOSPATIAL_API GetTileResult & operator=(GetTileResult &&)
GetTileResult & operator=(const GetTileResult &)=delete
AWS_SAGEMAKERGEOSPATIAL_API GetTileResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
Aws::IOStream & GetUnderlyingStream() const
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String