AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetMapGlyphsResult.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 GetMapGlyphsResult() = default;
23 AWS_LOCATIONSERVICE_API GetMapGlyphsResult(GetMapGlyphsResult&&) = default;
24 AWS_LOCATIONSERVICE_API GetMapGlyphsResult& operator=(GetMapGlyphsResult&&) = 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
47 inline const Aws::String& GetContentType() const { return m_contentType; }
48 template <typename ContentTypeT = Aws::String>
49 void SetContentType(ContentTypeT&& value) {
50 m_contentTypeHasBeenSet = true;
51 m_contentType = std::forward<ContentTypeT>(value);
52 }
53 template <typename ContentTypeT = Aws::String>
54 GetMapGlyphsResult& WithContentType(ContentTypeT&& value) {
55 SetContentType(std::forward<ContentTypeT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetCacheControl() const { return m_cacheControl; }
65 template <typename CacheControlT = Aws::String>
66 void SetCacheControl(CacheControlT&& value) {
67 m_cacheControlHasBeenSet = true;
68 m_cacheControl = std::forward<CacheControlT>(value);
69 }
70 template <typename CacheControlT = Aws::String>
71 GetMapGlyphsResult& WithCacheControl(CacheControlT&& value) {
72 SetCacheControl(std::forward<CacheControlT>(value));
73 return *this;
74 }
76
78
79 inline const Aws::String& GetRequestId() const { return m_requestId; }
80 template <typename RequestIdT = Aws::String>
81 void SetRequestId(RequestIdT&& value) {
82 m_requestIdHasBeenSet = true;
83 m_requestId = std::forward<RequestIdT>(value);
84 }
85 template <typename RequestIdT = Aws::String>
86 GetMapGlyphsResult& WithRequestId(RequestIdT&& value) {
87 SetRequestId(std::forward<RequestIdT>(value));
88 return *this;
89 }
91 private:
93
94 Aws::String m_contentType;
95
96 Aws::String m_cacheControl;
97
98 Aws::String m_requestId;
99 bool m_blobHasBeenSet = false;
100 bool m_contentTypeHasBeenSet = false;
101 bool m_cacheControlHasBeenSet = false;
102 bool m_requestIdHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace LocationService
107} // namespace Aws
GetMapGlyphsResult & operator=(const GetMapGlyphsResult &)=delete
GetMapGlyphsResult & WithRequestId(RequestIdT &&value)
GetMapGlyphsResult(const GetMapGlyphsResult &)=delete
GetMapGlyphsResult & WithContentType(ContentTypeT &&value)
GetMapGlyphsResult & WithCacheControl(CacheControlT &&value)
AWS_LOCATIONSERVICE_API GetMapGlyphsResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
AWS_LOCATIONSERVICE_API GetMapGlyphsResult(GetMapGlyphsResult &&)=default
AWS_LOCATIONSERVICE_API GetMapGlyphsResult & operator=(GetMapGlyphsResult &&)=default
AWS_LOCATIONSERVICE_API GetMapGlyphsResult()=default
AWS_LOCATIONSERVICE_API GetMapGlyphsResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
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