/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { namespace Glue { namespace Model { /** */ class AWS_GLUE_API GetPlanRequest : public GlueRequest { public: GetPlanRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetPlan"; } Aws::String SerializePayload() const override; Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The list of mappings from a source table to target tables.

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

The list of mappings from a source table to target tables.

*/ inline bool MappingHasBeenSet() const { return m_mappingHasBeenSet; } /** *

The list of mappings from a source table to target tables.

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

The list of mappings from a source table to target tables.

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

The list of mappings from a source table to target tables.

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

The list of mappings from a source table to target tables.

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

The list of mappings from a source table to target tables.

*/ inline GetPlanRequest& AddMapping(const MappingEntry& value) { m_mappingHasBeenSet = true; m_mapping.push_back(value); return *this; } /** *

The list of mappings from a source table to target tables.

*/ inline GetPlanRequest& AddMapping(MappingEntry&& value) { m_mappingHasBeenSet = true; m_mapping.push_back(std::move(value)); return *this; } /** *

The source table.

*/ inline const CatalogEntry& GetSource() const{ return m_source; } /** *

The source table.

*/ inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } /** *

The source table.

*/ inline void SetSource(const CatalogEntry& value) { m_sourceHasBeenSet = true; m_source = value; } /** *

The source table.

*/ inline void SetSource(CatalogEntry&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } /** *

The source table.

*/ inline GetPlanRequest& WithSource(const CatalogEntry& value) { SetSource(value); return *this;} /** *

The source table.

*/ inline GetPlanRequest& WithSource(CatalogEntry&& value) { SetSource(std::move(value)); return *this;} /** *

The target tables.

*/ inline const Aws::Vector& GetSinks() const{ return m_sinks; } /** *

The target tables.

*/ inline bool SinksHasBeenSet() const { return m_sinksHasBeenSet; } /** *

The target tables.

*/ inline void SetSinks(const Aws::Vector& value) { m_sinksHasBeenSet = true; m_sinks = value; } /** *

The target tables.

*/ inline void SetSinks(Aws::Vector&& value) { m_sinksHasBeenSet = true; m_sinks = std::move(value); } /** *

The target tables.

*/ inline GetPlanRequest& WithSinks(const Aws::Vector& value) { SetSinks(value); return *this;} /** *

The target tables.

*/ inline GetPlanRequest& WithSinks(Aws::Vector&& value) { SetSinks(std::move(value)); return *this;} /** *

The target tables.

*/ inline GetPlanRequest& AddSinks(const CatalogEntry& value) { m_sinksHasBeenSet = true; m_sinks.push_back(value); return *this; } /** *

The target tables.

*/ inline GetPlanRequest& AddSinks(CatalogEntry&& value) { m_sinksHasBeenSet = true; m_sinks.push_back(std::move(value)); return *this; } /** *

The parameters for the mapping.

*/ inline const Location& GetLocation() const{ return m_location; } /** *

The parameters for the mapping.

*/ inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; } /** *

The parameters for the mapping.

*/ inline void SetLocation(const Location& value) { m_locationHasBeenSet = true; m_location = value; } /** *

The parameters for the mapping.

*/ inline void SetLocation(Location&& value) { m_locationHasBeenSet = true; m_location = std::move(value); } /** *

The parameters for the mapping.

*/ inline GetPlanRequest& WithLocation(const Location& value) { SetLocation(value); return *this;} /** *

The parameters for the mapping.

*/ inline GetPlanRequest& WithLocation(Location&& value) { SetLocation(std::move(value)); return *this;} /** *

The programming language of the code to perform the mapping.

*/ inline const Language& GetLanguage() const{ return m_language; } /** *

The programming language of the code to perform the mapping.

*/ inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; } /** *

The programming language of the code to perform the mapping.

*/ inline void SetLanguage(const Language& value) { m_languageHasBeenSet = true; m_language = value; } /** *

The programming language of the code to perform the mapping.

*/ inline void SetLanguage(Language&& value) { m_languageHasBeenSet = true; m_language = std::move(value); } /** *

The programming language of the code to perform the mapping.

*/ inline GetPlanRequest& WithLanguage(const Language& value) { SetLanguage(value); return *this;} /** *

The programming language of the code to perform the mapping.

*/ inline GetPlanRequest& WithLanguage(Language&& value) { SetLanguage(std::move(value)); return *this;} private: Aws::Vector m_mapping; bool m_mappingHasBeenSet; CatalogEntry m_source; bool m_sourceHasBeenSet; Aws::Vector m_sinks; bool m_sinksHasBeenSet; Location m_location; bool m_locationHasBeenSet; Language m_language; bool m_languageHasBeenSet; }; } // namespace Model } // namespace Glue } // namespace Aws