/** * 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 GetMapSpritesResult { public: AWS_LOCATIONSERVICE_API GetMapSpritesResult(); //We have to define these because Microsoft doesn't auto generate them AWS_LOCATIONSERVICE_API GetMapSpritesResult(GetMapSpritesResult&&); AWS_LOCATIONSERVICE_API GetMapSpritesResult& operator=(GetMapSpritesResult&&); //we delete these because Microsoft doesn't handle move generation correctly //and we therefore don't trust them to get it right here either. GetMapSpritesResult(const GetMapSpritesResult&) = delete; GetMapSpritesResult& operator=(const GetMapSpritesResult&) = delete; AWS_LOCATIONSERVICE_API GetMapSpritesResult(Aws::AmazonWebServiceResult&& result); AWS_LOCATIONSERVICE_API GetMapSpritesResult& operator=(Aws::AmazonWebServiceResult&& result); /** *

Contains the body of the sprite sheet or JSON offset file.

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

Contains the body of the sprite sheet or JSON offset file.

*/ 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 GetMapSpritesResult& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;} /** *

The HTTP Cache-Control directive for the value.

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

The HTTP Cache-Control directive for the value.

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

The content type of the sprite sheet and offsets. For example, the sprite * sheet content type is image/png, and the sprite offset JSON * document is application/json.

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

The content type of the sprite sheet and offsets. For example, the sprite * sheet content type is image/png, and the sprite offset JSON * document is application/json.

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

The content type of the sprite sheet and offsets. For example, the sprite * sheet content type is image/png, and the sprite offset JSON * document is application/json.

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

The content type of the sprite sheet and offsets. For example, the sprite * sheet content type is image/png, and the sprite offset JSON * document is application/json.

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

The content type of the sprite sheet and offsets. For example, the sprite * sheet content type is image/png, and the sprite offset JSON * document is application/json.

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

The content type of the sprite sheet and offsets. For example, the sprite * sheet content type is image/png, and the sprite offset JSON * document is application/json.

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

The content type of the sprite sheet and offsets. For example, the sprite * sheet content type is image/png, and the sprite offset JSON * document is application/json.

*/ inline GetMapSpritesResult& 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 GetMapSpritesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetMapSpritesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetMapSpritesResult& 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