AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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