AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetGlyphsResult.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 GetGlyphsResult();
26 //We have to define these because Microsoft doesn't auto generate them
27 AWS_GEOMAPS_API GetGlyphsResult(GetGlyphsResult&&);
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
44 inline Aws::IOStream& GetBlob() const { return m_blob.GetUnderlyingStream(); }
45 inline void ReplaceBody(Aws::IOStream* body) { m_blob = Aws::Utils::Stream::ResponseStream(body); }
46
48
50
54 inline const Aws::String& GetContentType() const{ return m_contentType; }
55 inline void SetContentType(const Aws::String& value) { m_contentType = value; }
56 inline void SetContentType(Aws::String&& value) { m_contentType = std::move(value); }
57 inline void SetContentType(const char* value) { m_contentType.assign(value); }
58 inline GetGlyphsResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
59 inline GetGlyphsResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
60 inline GetGlyphsResult& WithContentType(const char* value) { SetContentType(value); return *this;}
62
64
67 inline const Aws::String& GetCacheControl() const{ return m_cacheControl; }
68 inline void SetCacheControl(const Aws::String& value) { m_cacheControl = value; }
69 inline void SetCacheControl(Aws::String&& value) { m_cacheControl = std::move(value); }
70 inline void SetCacheControl(const char* value) { m_cacheControl.assign(value); }
71 inline GetGlyphsResult& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;}
72 inline GetGlyphsResult& WithCacheControl(Aws::String&& value) { SetCacheControl(std::move(value)); return *this;}
73 inline GetGlyphsResult& WithCacheControl(const char* value) { SetCacheControl(value); return *this;}
75
77
80 inline const Aws::String& GetETag() const{ return m_eTag; }
81 inline void SetETag(const Aws::String& value) { m_eTag = value; }
82 inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); }
83 inline void SetETag(const char* value) { m_eTag.assign(value); }
84 inline GetGlyphsResult& WithETag(const Aws::String& value) { SetETag(value); return *this;}
85 inline GetGlyphsResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
86 inline GetGlyphsResult& WithETag(const char* value) { SetETag(value); return *this;}
88
90
91 inline const Aws::String& GetRequestId() const{ return m_requestId; }
92 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
93 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
94 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
95 inline GetGlyphsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
96 inline GetGlyphsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
97 inline GetGlyphsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
99 private:
100
102
103 Aws::String m_contentType;
104
105 Aws::String m_cacheControl;
106
107 Aws::String m_eTag;
108
109 Aws::String m_requestId;
110 };
111
112} // namespace Model
113} // namespace GeoMaps
114} // namespace Aws
void SetContentType(Aws::String &&value)
const Aws::String & GetRequestId() const
GetGlyphsResult & operator=(const GetGlyphsResult &)=delete
GetGlyphsResult & WithContentType(const Aws::String &value)
GetGlyphsResult & WithETag(Aws::String &&value)
void SetETag(Aws::String &&value)
AWS_GEOMAPS_API GetGlyphsResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetGlyphsResult(const GetGlyphsResult &)=delete
void SetRequestId(const Aws::String &value)
GetGlyphsResult & WithRequestId(const Aws::String &value)
GetGlyphsResult & WithRequestId(const char *value)
GetGlyphsResult & WithContentType(Aws::String &&value)
void SetETag(const Aws::String &value)
AWS_GEOMAPS_API GetGlyphsResult(GetGlyphsResult &&)
AWS_GEOMAPS_API GetGlyphsResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
void ReplaceBody(Aws::IOStream *body)
GetGlyphsResult & WithCacheControl(Aws::String &&value)
AWS_GEOMAPS_API GetGlyphsResult & operator=(GetGlyphsResult &&)
GetGlyphsResult & WithETag(const char *value)
void SetCacheControl(const char *value)
void SetRequestId(Aws::String &&value)
GetGlyphsResult & WithETag(const Aws::String &value)
const Aws::String & GetCacheControl() const
GetGlyphsResult & WithCacheControl(const char *value)
void SetRequestId(const char *value)
void SetContentType(const char *value)
GetGlyphsResult & WithCacheControl(const Aws::String &value)
GetGlyphsResult & WithContentType(const char *value)
GetGlyphsResult & WithRequestId(Aws::String &&value)
const Aws::String & GetContentType() const
void SetCacheControl(const Aws::String &value)
const Aws::String & GetETag() const
void SetCacheControl(Aws::String &&value)
void SetContentType(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