/** * 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 Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Glue { namespace Model { class GetMappingResult { public: AWS_GLUE_API GetMappingResult(); AWS_GLUE_API GetMappingResult(const Aws::AmazonWebServiceResult& result); AWS_GLUE_API GetMappingResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of mappings to the specified targets.

*/ inline const Aws::Vector& GetMapping() const{ return m_mapping; } /** *

A list of mappings to the specified targets.

*/ inline void SetMapping(const Aws::Vector& value) { m_mapping = value; } /** *

A list of mappings to the specified targets.

*/ inline void SetMapping(Aws::Vector&& value) { m_mapping = std::move(value); } /** *

A list of mappings to the specified targets.

*/ inline GetMappingResult& WithMapping(const Aws::Vector& value) { SetMapping(value); return *this;} /** *

A list of mappings to the specified targets.

*/ inline GetMappingResult& WithMapping(Aws::Vector&& value) { SetMapping(std::move(value)); return *this;} /** *

A list of mappings to the specified targets.

*/ inline GetMappingResult& AddMapping(const MappingEntry& value) { m_mapping.push_back(value); return *this; } /** *

A list of mappings to the specified targets.

*/ inline GetMappingResult& AddMapping(MappingEntry&& value) { m_mapping.push_back(std::move(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 GetMappingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetMappingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetMappingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_mapping; Aws::String m_requestId; }; } // namespace Model } // namespace Glue } // namespace Aws