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/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();
26 //We have to define these because Microsoft doesn't auto generate them
27 AWS_GEOMAPS_API GetTileResult(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
45 inline Aws::IOStream& GetBlob() const { return m_blob.GetUnderlyingStream(); }
46 inline void ReplaceBody(Aws::IOStream* body) { m_blob = Aws::Utils::Stream::ResponseStream(body); }
47
49
51
55 inline const Aws::String& GetContentType() const{ return m_contentType; }
56 inline void SetContentType(const Aws::String& value) { m_contentType = value; }
57 inline void SetContentType(Aws::String&& value) { m_contentType = std::move(value); }
58 inline void SetContentType(const char* value) { m_contentType.assign(value); }
59 inline GetTileResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
60 inline GetTileResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
61 inline GetTileResult& WithContentType(const char* value) { SetContentType(value); return *this;}
63
65
68 inline const Aws::String& GetCacheControl() const{ return m_cacheControl; }
69 inline void SetCacheControl(const Aws::String& value) { m_cacheControl = value; }
70 inline void SetCacheControl(Aws::String&& value) { m_cacheControl = std::move(value); }
71 inline void SetCacheControl(const char* value) { m_cacheControl.assign(value); }
72 inline GetTileResult& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;}
73 inline GetTileResult& WithCacheControl(Aws::String&& value) { SetCacheControl(std::move(value)); return *this;}
74 inline GetTileResult& WithCacheControl(const char* value) { SetCacheControl(value); return *this;}
76
78
81 inline const Aws::String& GetETag() const{ return m_eTag; }
82 inline void SetETag(const Aws::String& value) { m_eTag = value; }
83 inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); }
84 inline void SetETag(const char* value) { m_eTag.assign(value); }
85 inline GetTileResult& WithETag(const Aws::String& value) { SetETag(value); return *this;}
86 inline GetTileResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
87 inline GetTileResult& WithETag(const char* value) { SetETag(value); return *this;}
89
91
94 inline const Aws::String& GetPricingBucket() const{ return m_pricingBucket; }
95 inline void SetPricingBucket(const Aws::String& value) { m_pricingBucket = value; }
96 inline void SetPricingBucket(Aws::String&& value) { m_pricingBucket = std::move(value); }
97 inline void SetPricingBucket(const char* value) { m_pricingBucket.assign(value); }
98 inline GetTileResult& WithPricingBucket(const Aws::String& value) { SetPricingBucket(value); return *this;}
99 inline GetTileResult& WithPricingBucket(Aws::String&& value) { SetPricingBucket(std::move(value)); return *this;}
100 inline GetTileResult& WithPricingBucket(const char* value) { SetPricingBucket(value); return *this;}
102
104
105 inline const Aws::String& GetRequestId() const{ return m_requestId; }
106 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
107 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
108 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
109 inline GetTileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
110 inline GetTileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
111 inline GetTileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
113 private:
114
116
117 Aws::String m_contentType;
118
119 Aws::String m_cacheControl;
120
121 Aws::String m_eTag;
122
123 Aws::String m_pricingBucket;
124
125 Aws::String m_requestId;
126 };
127
128} // namespace Model
129} // namespace GeoMaps
130} // namespace Aws
GetTileResult & WithRequestId(const Aws::String &value)
AWS_GEOMAPS_API GetTileResult(GetTileResult &&)
void ReplaceBody(Aws::IOStream *body)
GetTileResult & WithCacheControl(const Aws::String &value)
const Aws::String & GetRequestId() const
const Aws::String & GetPricingBucket() const
AWS_GEOMAPS_API GetTileResult & operator=(GetTileResult &&)
GetTileResult & WithPricingBucket(const char *value)
AWS_GEOMAPS_API GetTileResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetTileResult & WithPricingBucket(const Aws::String &value)
void SetContentType(Aws::String &&value)
void SetPricingBucket(Aws::String &&value)
void SetContentType(const char *value)
GetTileResult & WithETag(const Aws::String &value)
void SetCacheControl(const Aws::String &value)
void SetETag(const char *value)
void SetRequestId(const char *value)
GetTileResult & WithContentType(Aws::String &&value)
GetTileResult & WithPricingBucket(Aws::String &&value)
void SetCacheControl(Aws::String &&value)
GetTileResult(const GetTileResult &)=delete
GetTileResult & WithCacheControl(const char *value)
GetTileResult & WithCacheControl(Aws::String &&value)
GetTileResult & WithRequestId(Aws::String &&value)
void SetCacheControl(const char *value)
GetTileResult & WithETag(const char *value)
const Aws::String & GetContentType() const
const Aws::String & GetETag() const
void SetETag(Aws::String &&value)
Aws::IOStream & GetBlob() const
const Aws::String & GetCacheControl() const
GetTileResult & WithETag(Aws::String &&value)
GetTileResult & WithRequestId(const char *value)
GetTileResult & WithContentType(const Aws::String &value)
void SetContentType(const Aws::String &value)
void SetRequestId(Aws::String &&value)
GetTileResult & operator=(const GetTileResult &)=delete
void SetRequestId(const Aws::String &value)
void SetPricingBucket(const Aws::String &value)
void SetETag(const Aws::String &value)
void SetPricingBucket(const char *value)
AWS_GEOMAPS_API GetTileResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetTileResult & WithContentType(const char *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