AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetStaticMapResult.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 GetStaticMapResult();
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
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 GetStaticMapResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
60 inline GetStaticMapResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
61 inline GetStaticMapResult& 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 GetStaticMapResult& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;}
73 inline GetStaticMapResult& WithCacheControl(Aws::String&& value) { SetCacheControl(std::move(value)); return *this;}
74 inline GetStaticMapResult& 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 GetStaticMapResult& WithETag(const Aws::String& value) { SetETag(value); return *this;}
86 inline GetStaticMapResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
87 inline GetStaticMapResult& 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 GetStaticMapResult& WithPricingBucket(const Aws::String& value) { SetPricingBucket(value); return *this;}
99 inline GetStaticMapResult& WithPricingBucket(Aws::String&& value) { SetPricingBucket(std::move(value)); return *this;}
100 inline GetStaticMapResult& 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 GetStaticMapResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
110 inline GetStaticMapResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
111 inline GetStaticMapResult& 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
GetStaticMapResult & WithPricingBucket(Aws::String &&value)
GetStaticMapResult & WithContentType(const char *value)
const Aws::String & GetCacheControl() const
AWS_GEOMAPS_API GetStaticMapResult(GetStaticMapResult &&)
GetStaticMapResult & WithETag(Aws::String &&value)
const Aws::String & GetPricingBucket() const
GetStaticMapResult & WithRequestId(Aws::String &&value)
GetStaticMapResult & WithRequestId(const Aws::String &value)
GetStaticMapResult & WithPricingBucket(const char *value)
GetStaticMapResult & operator=(const GetStaticMapResult &)=delete
GetStaticMapResult & WithCacheControl(const Aws::String &value)
GetStaticMapResult & WithContentType(Aws::String &&value)
GetStaticMapResult & WithPricingBucket(const Aws::String &value)
void SetCacheControl(const Aws::String &value)
void SetRequestId(const Aws::String &value)
GetStaticMapResult & WithETag(const char *value)
AWS_GEOMAPS_API GetStaticMapResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetStaticMapResult & WithContentType(const Aws::String &value)
void SetContentType(const Aws::String &value)
GetStaticMapResult & WithCacheControl(const char *value)
const Aws::String & GetContentType() const
GetStaticMapResult & WithCacheControl(Aws::String &&value)
void SetPricingBucket(const Aws::String &value)
AWS_GEOMAPS_API GetStaticMapResult & operator=(GetStaticMapResult &&)
GetStaticMapResult(const GetStaticMapResult &)=delete
AWS_GEOMAPS_API GetStaticMapResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetStaticMapResult & WithRequestId(const char *value)
void SetETag(const Aws::String &value)
GetStaticMapResult & WithETag(const Aws::String &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