AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetTileResult.h
1
6#pragma once
7#include <aws/geo-maps/GeoMaps_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 GeoMaps
19{
20namespace Model
21{
23 {
24 public:
25 AWS_GEOMAPS_API GetTileResult() = default;
26 AWS_GEOMAPS_API GetTileResult(GetTileResult&&) = default;
27 AWS_GEOMAPS_API GetTileResult& operator=(GetTileResult&&) = default;
28 //we delete these because Microsoft doesn't handle move generation correctly
29 //and we therefore don't trust them to get it right here either.
30 GetTileResult(const GetTileResult&) = delete;
32
33
36
37
38
40
44 inline Aws::IOStream& GetBlob() const { return m_blob.GetUnderlyingStream(); }
45 inline void ReplaceBody(Aws::IOStream* body) { m_blob = Aws::Utils::Stream::ResponseStream(body); }
46
48
50
54 inline const Aws::String& GetContentType() const { return m_contentType; }
55 template<typename ContentTypeT = Aws::String>
56 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::forward<ContentTypeT>(value); }
57 template<typename ContentTypeT = Aws::String>
58 GetTileResult& WithContentType(ContentTypeT&& value) { SetContentType(std::forward<ContentTypeT>(value)); return *this;}
60
62
65 inline const Aws::String& GetCacheControl() const { return m_cacheControl; }
66 template<typename CacheControlT = Aws::String>
67 void SetCacheControl(CacheControlT&& value) { m_cacheControlHasBeenSet = true; m_cacheControl = std::forward<CacheControlT>(value); }
68 template<typename CacheControlT = Aws::String>
69 GetTileResult& WithCacheControl(CacheControlT&& value) { SetCacheControl(std::forward<CacheControlT>(value)); return *this;}
71
73
76 inline const Aws::String& GetETag() const { return m_eTag; }
77 template<typename ETagT = Aws::String>
78 void SetETag(ETagT&& value) { m_eTagHasBeenSet = true; m_eTag = std::forward<ETagT>(value); }
79 template<typename ETagT = Aws::String>
80 GetTileResult& WithETag(ETagT&& value) { SetETag(std::forward<ETagT>(value)); return *this;}
82
84
87 inline const Aws::String& GetPricingBucket() const { return m_pricingBucket; }
88 template<typename PricingBucketT = Aws::String>
89 void SetPricingBucket(PricingBucketT&& value) { m_pricingBucketHasBeenSet = true; m_pricingBucket = std::forward<PricingBucketT>(value); }
90 template<typename PricingBucketT = Aws::String>
91 GetTileResult& WithPricingBucket(PricingBucketT&& value) { SetPricingBucket(std::forward<PricingBucketT>(value)); return *this;}
93
95
96 inline const Aws::String& GetRequestId() const { return m_requestId; }
97 template<typename RequestIdT = Aws::String>
98 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
99 template<typename RequestIdT = Aws::String>
100 GetTileResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
102 private:
103
105 bool m_blobHasBeenSet = false;
106
107 Aws::String m_contentType;
108 bool m_contentTypeHasBeenSet = false;
109
110 Aws::String m_cacheControl;
111 bool m_cacheControlHasBeenSet = false;
112
113 Aws::String m_eTag;
114 bool m_eTagHasBeenSet = false;
115
116 Aws::String m_pricingBucket;
117 bool m_pricingBucketHasBeenSet = false;
118
119 Aws::String m_requestId;
120 bool m_requestIdHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace GeoMaps
125} // namespace Aws
AWS_GEOMAPS_API GetTileResult & operator=(GetTileResult &&)=default
void ReplaceBody(Aws::IOStream *body)
const Aws::String & GetRequestId() const
GetTileResult & WithETag(ETagT &&value)
const Aws::String & GetPricingBucket() const
AWS_GEOMAPS_API GetTileResult()=default
AWS_GEOMAPS_API GetTileResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
AWS_GEOMAPS_API GetTileResult(GetTileResult &&)=default
GetTileResult(const GetTileResult &)=delete
GetTileResult & WithPricingBucket(PricingBucketT &&value)
const Aws::String & GetContentType() const
void SetContentType(ContentTypeT &&value)
const Aws::String & GetETag() const
Aws::IOStream & GetBlob() const
const Aws::String & GetCacheControl() const
void SetPricingBucket(PricingBucketT &&value)
GetTileResult & operator=(const GetTileResult &)=delete
GetTileResult & WithContentType(ContentTypeT &&value)
void SetCacheControl(CacheControlT &&value)
void SetRequestId(RequestIdT &&value)
GetTileResult & WithRequestId(RequestIdT &&value)
AWS_GEOMAPS_API GetTileResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetTileResult & WithCacheControl(CacheControlT &&value)
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