/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace LocationService { namespace Model { class GetMapGlyphsResult { public: AWS_LOCATIONSERVICE_API GetMapGlyphsResult(); //We have to define these because Microsoft doesn't auto generate them AWS_LOCATIONSERVICE_API GetMapGlyphsResult(GetMapGlyphsResult&&); AWS_LOCATIONSERVICE_API GetMapGlyphsResult& operator=(GetMapGlyphsResult&&); //we delete these because Microsoft doesn't handle move generation correctly //and we therefore don't trust them to get it right here either. GetMapGlyphsResult(const GetMapGlyphsResult&) = delete; GetMapGlyphsResult& operator=(const GetMapGlyphsResult&) = delete; AWS_LOCATIONSERVICE_API GetMapGlyphsResult(Aws::AmazonWebServiceResult&& result); AWS_LOCATIONSERVICE_API GetMapGlyphsResult& operator=(Aws::AmazonWebServiceResult&& result); /** *

The glyph, as binary blob.

*/ inline Aws::IOStream& GetBlob() const { return m_blob.GetUnderlyingStream(); } /** *

The glyph, as binary blob.

*/ inline void ReplaceBody(Aws::IOStream* body) { m_blob = Aws::Utils::Stream::ResponseStream(body); } /** *

The HTTP Cache-Control directive for the value.

*/ inline const Aws::String& GetCacheControl() const{ return m_cacheControl; } /** *

The HTTP Cache-Control directive for the value.

*/ inline void SetCacheControl(const Aws::String& value) { m_cacheControl = value; } /** *

The HTTP Cache-Control directive for the value.

*/ inline void SetCacheControl(Aws::String&& value) { m_cacheControl = std::move(value); } /** *

The HTTP Cache-Control directive for the value.

*/ inline void SetCacheControl(const char* value) { m_cacheControl.assign(value); } /** *

The HTTP Cache-Control directive for the value.

*/ inline GetMapGlyphsResult& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;} /** *

The HTTP Cache-Control directive for the value.

*/ inline GetMapGlyphsResult& WithCacheControl(Aws::String&& value) { SetCacheControl(std::move(value)); return *this;} /** *

The HTTP Cache-Control directive for the value.

*/ inline GetMapGlyphsResult& WithCacheControl(const char* value) { SetCacheControl(value); return *this;} /** *

The map glyph content type. For example, * application/octet-stream.

*/ inline const Aws::String& GetContentType() const{ return m_contentType; } /** *

The map glyph content type. For example, * application/octet-stream.

*/ inline void SetContentType(const Aws::String& value) { m_contentType = value; } /** *

The map glyph content type. For example, * application/octet-stream.

*/ inline void SetContentType(Aws::String&& value) { m_contentType = std::move(value); } /** *

The map glyph content type. For example, * application/octet-stream.

*/ inline void SetContentType(const char* value) { m_contentType.assign(value); } /** *

The map glyph content type. For example, * application/octet-stream.

*/ inline GetMapGlyphsResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;} /** *

The map glyph content type. For example, * application/octet-stream.

*/ inline GetMapGlyphsResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;} /** *

The map glyph content type. For example, * application/octet-stream.

*/ inline GetMapGlyphsResult& WithContentType(const char* value) { SetContentType(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetMapGlyphsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetMapGlyphsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetMapGlyphsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::Stream::ResponseStream m_blob; Aws::String m_cacheControl; Aws::String m_contentType; Aws::String m_requestId; }; } // namespace Model } // namespace LocationService } // namespace Aws