AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSpritesResult.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 GetSpritesResult();
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 GetSpritesResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
60 inline GetSpritesResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
61 inline GetSpritesResult& 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 GetSpritesResult& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;}
73 inline GetSpritesResult& WithCacheControl(Aws::String&& value) { SetCacheControl(std::move(value)); return *this;}
74 inline GetSpritesResult& 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 GetSpritesResult& WithETag(const Aws::String& value) { SetETag(value); return *this;}
86 inline GetSpritesResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
87 inline GetSpritesResult& WithETag(const char* value) { SetETag(value); return *this;}
89
91
92 inline const Aws::String& GetRequestId() const{ return m_requestId; }
93 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
94 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
95 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
96 inline GetSpritesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
97 inline GetSpritesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
98 inline GetSpritesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
100 private:
101
103
104 Aws::String m_contentType;
105
106 Aws::String m_cacheControl;
107
108 Aws::String m_eTag;
109
110 Aws::String m_requestId;
111 };
112
113} // namespace Model
114} // namespace GeoMaps
115} // namespace Aws
GetSpritesResult & WithRequestId(const char *value)
GetSpritesResult & WithContentType(Aws::String &&value)
AWS_GEOMAPS_API GetSpritesResult & operator=(GetSpritesResult &&)
void SetCacheControl(const Aws::String &value)
AWS_GEOMAPS_API GetSpritesResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetSpritesResult & WithETag(const char *value)
const Aws::String & GetCacheControl() const
GetSpritesResult & operator=(const GetSpritesResult &)=delete
void SetContentType(Aws::String &&value)
void ReplaceBody(Aws::IOStream *body)
GetSpritesResult & WithETag(Aws::String &&value)
GetSpritesResult & WithRequestId(const Aws::String &value)
GetSpritesResult & WithCacheControl(const char *value)
AWS_GEOMAPS_API GetSpritesResult(GetSpritesResult &&)
const Aws::String & GetETag() const
void SetContentType(const Aws::String &value)
void SetCacheControl(Aws::String &&value)
const Aws::String & GetContentType() const
GetSpritesResult & WithRequestId(Aws::String &&value)
AWS_GEOMAPS_API GetSpritesResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetSpritesResult & WithCacheControl(Aws::String &&value)
void SetCacheControl(const char *value)
GetSpritesResult & WithETag(const Aws::String &value)
const Aws::String & GetRequestId() const
GetSpritesResult & WithContentType(const Aws::String &value)
void SetRequestId(const Aws::String &value)
GetSpritesResult & WithCacheControl(const Aws::String &value)
void SetRequestId(Aws::String &&value)
GetSpritesResult(const GetSpritesResult &)=delete
GetSpritesResult & WithContentType(const char *value)
void SetETag(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