7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/model/CatalogEntry.h>
11#include <aws/glue/model/Location.h>
12#include <aws/glue/model/Language.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/glue/model/MappingEntry.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
49 template<
typename MappingT = Aws::Vector<MappingEntry>>
50 void SetMapping(MappingT&& value) { m_mappingHasBeenSet =
true; m_mapping = std::forward<MappingT>(value); }
51 template<
typename MappingT = Aws::Vector<MappingEntry>>
53 template<
typename MappingT = MappingEntry>
54 GetPlanRequest&
AddMapping(MappingT&& value) { m_mappingHasBeenSet =
true; m_mapping.emplace_back(std::forward<MappingT>(value));
return *
this; }
63 template<
typename SourceT = CatalogEntry>
64 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
65 template<
typename SourceT = CatalogEntry>
75 template<
typename SinksT = Aws::Vector<CatalogEntry>>
76 void SetSinks(SinksT&& value) { m_sinksHasBeenSet =
true; m_sinks = std::forward<SinksT>(value); }
77 template<
typename SinksT = Aws::Vector<CatalogEntry>>
79 template<
typename SinksT = CatalogEntry>
80 GetPlanRequest&
AddSinks(SinksT&& value) { m_sinksHasBeenSet =
true; m_sinks.emplace_back(std::forward<SinksT>(value));
return *
this; }
89 template<
typename LocationT = Location>
90 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
91 template<
typename LocationT = Location>
117 template<
typename AdditionalPlanOptionsMapT = Aws::Map<Aws::String, Aws::String>>
118 void SetAdditionalPlanOptionsMap(AdditionalPlanOptionsMapT&& value) { m_additionalPlanOptionsMapHasBeenSet =
true; m_additionalPlanOptionsMap = std::forward<AdditionalPlanOptionsMapT>(value); }
119 template<
typename AdditionalPlanOptionsMapT = Aws::Map<Aws::String, Aws::String>>
121 template<
typename AdditionalPlanOptionsMapKeyT = Aws::String,
typename AdditionalPlanOptionsMapValueT = Aws::String>
123 m_additionalPlanOptionsMapHasBeenSet =
true; m_additionalPlanOptionsMap.emplace(std::forward<AdditionalPlanOptionsMapKeyT>(key), std::forward<AdditionalPlanOptionsMapValueT>(value));
return *
this;
129 bool m_mappingHasBeenSet =
false;
132 bool m_sourceHasBeenSet =
false;
135 bool m_sinksHasBeenSet =
false;
138 bool m_locationHasBeenSet =
false;
141 bool m_languageHasBeenSet =
false;
144 bool m_additionalPlanOptionsMapHasBeenSet =
false;
bool AdditionalPlanOptionsMapHasBeenSet() const
GetPlanRequest & WithSinks(SinksT &&value)
GetPlanRequest & WithLocation(LocationT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSource(SourceT &&value)
bool SourceHasBeenSet() const
void SetLanguage(Language value)
GetPlanRequest & AddMapping(MappingT &&value)
const Aws::Vector< CatalogEntry > & GetSinks() const
const Aws::Map< Aws::String, Aws::String > & GetAdditionalPlanOptionsMap() const
const Aws::Vector< MappingEntry > & GetMapping() const
bool SinksHasBeenSet() const
Language GetLanguage() const
GetPlanRequest & WithLanguage(Language value)
AWS_GLUE_API GetPlanRequest()=default
const Location & GetLocation() const
GetPlanRequest & AddAdditionalPlanOptionsMap(AdditionalPlanOptionsMapKeyT &&key, AdditionalPlanOptionsMapValueT &&value)
GetPlanRequest & WithAdditionalPlanOptionsMap(AdditionalPlanOptionsMapT &&value)
bool LanguageHasBeenSet() const
GetPlanRequest & WithMapping(MappingT &&value)
GetPlanRequest & AddSinks(SinksT &&value)
GetPlanRequest & WithSource(SourceT &&value)
virtual const char * GetServiceRequestName() const override
bool MappingHasBeenSet() const
const CatalogEntry & GetSource() const
void SetAdditionalPlanOptionsMap(AdditionalPlanOptionsMapT &&value)
void SetMapping(MappingT &&value)
bool LocationHasBeenSet() const
AWS_GLUE_API Aws::String SerializePayload() const override
void SetSinks(SinksT &&value)
void SetLocation(LocationT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector