AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetMapSpritesResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/stream/ResponseStream.h>
11#include <aws/location/LocationService_EXPORTS.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace LocationService {
20namespace Model {
22 public:
23 AWS_LOCATIONSERVICE_API GetMapSpritesResult() = default;
24 AWS_LOCATIONSERVICE_API GetMapSpritesResult(GetMapSpritesResult&&) = default;
25 AWS_LOCATIONSERVICE_API GetMapSpritesResult& operator=(GetMapSpritesResult&&) = default;
26 // we delete these because Microsoft doesn't handle move generation correctly
27 // and we therefore don't trust them to get it right here either.
30
33
35
38 inline Aws::IOStream& GetBlob() const { return m_blob.GetUnderlyingStream(); }
39 inline void ReplaceBody(Aws::IOStream* body) { m_blob = Aws::Utils::Stream::ResponseStream(body); }
40
42
44
49 inline const Aws::String& GetContentType() const { return m_contentType; }
50 template <typename ContentTypeT = Aws::String>
51 void SetContentType(ContentTypeT&& value) {
52 m_contentTypeHasBeenSet = true;
53 m_contentType = std::forward<ContentTypeT>(value);
54 }
55 template <typename ContentTypeT = Aws::String>
56 GetMapSpritesResult& WithContentType(ContentTypeT&& value) {
57 SetContentType(std::forward<ContentTypeT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::String& GetCacheControl() const { return m_cacheControl; }
67 template <typename CacheControlT = Aws::String>
68 void SetCacheControl(CacheControlT&& value) {
69 m_cacheControlHasBeenSet = true;
70 m_cacheControl = std::forward<CacheControlT>(value);
71 }
72 template <typename CacheControlT = Aws::String>
73 GetMapSpritesResult& WithCacheControl(CacheControlT&& value) {
74 SetCacheControl(std::forward<CacheControlT>(value));
75 return *this;
76 }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template <typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) {
84 m_requestIdHasBeenSet = true;
85 m_requestId = std::forward<RequestIdT>(value);
86 }
87 template <typename RequestIdT = Aws::String>
88 GetMapSpritesResult& WithRequestId(RequestIdT&& value) {
89 SetRequestId(std::forward<RequestIdT>(value));
90 return *this;
91 }
93 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
94
95 private:
97
98 Aws::String m_contentType;
99
100 Aws::String m_cacheControl;
101
102 Aws::String m_requestId;
103 Aws::Http::HttpResponseCode m_HttpResponseCode;
104 bool m_blobHasBeenSet = false;
105 bool m_contentTypeHasBeenSet = false;
106 bool m_cacheControlHasBeenSet = false;
107 bool m_requestIdHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace LocationService
112} // namespace Aws
AWS_LOCATIONSERVICE_API GetMapSpritesResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetMapSpritesResult(const GetMapSpritesResult &)=delete
AWS_LOCATIONSERVICE_API GetMapSpritesResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_LOCATIONSERVICE_API GetMapSpritesResult()=default
AWS_LOCATIONSERVICE_API GetMapSpritesResult & operator=(GetMapSpritesResult &&)=default
AWS_LOCATIONSERVICE_API GetMapSpritesResult(GetMapSpritesResult &&)=default
GetMapSpritesResult & WithCacheControl(CacheControlT &&value)
GetMapSpritesResult & operator=(const GetMapSpritesResult &)=delete
GetMapSpritesResult & WithContentType(ContentTypeT &&value)
GetMapSpritesResult & WithRequestId(RequestIdT &&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