AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPlanRequest.h
1
6#pragma once
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>
16#include <utility>
17
18namespace Aws
19{
20namespace Glue
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_GLUE_API GetPlanRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "GetPlan"; }
37
38 AWS_GLUE_API Aws::String SerializePayload() const override;
39
41
42
44
47 inline const Aws::Vector<MappingEntry>& GetMapping() const{ return m_mapping; }
48 inline bool MappingHasBeenSet() const { return m_mappingHasBeenSet; }
49 inline void SetMapping(const Aws::Vector<MappingEntry>& value) { m_mappingHasBeenSet = true; m_mapping = value; }
50 inline void SetMapping(Aws::Vector<MappingEntry>&& value) { m_mappingHasBeenSet = true; m_mapping = std::move(value); }
51 inline GetPlanRequest& WithMapping(const Aws::Vector<MappingEntry>& value) { SetMapping(value); return *this;}
52 inline GetPlanRequest& WithMapping(Aws::Vector<MappingEntry>&& value) { SetMapping(std::move(value)); return *this;}
53 inline GetPlanRequest& AddMapping(const MappingEntry& value) { m_mappingHasBeenSet = true; m_mapping.push_back(value); return *this; }
54 inline GetPlanRequest& AddMapping(MappingEntry&& value) { m_mappingHasBeenSet = true; m_mapping.push_back(std::move(value)); return *this; }
56
58
61 inline const CatalogEntry& GetSource() const{ return m_source; }
62 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
63 inline void SetSource(const CatalogEntry& value) { m_sourceHasBeenSet = true; m_source = value; }
64 inline void SetSource(CatalogEntry&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
65 inline GetPlanRequest& WithSource(const CatalogEntry& value) { SetSource(value); return *this;}
66 inline GetPlanRequest& WithSource(CatalogEntry&& value) { SetSource(std::move(value)); return *this;}
68
70
73 inline const Aws::Vector<CatalogEntry>& GetSinks() const{ return m_sinks; }
74 inline bool SinksHasBeenSet() const { return m_sinksHasBeenSet; }
75 inline void SetSinks(const Aws::Vector<CatalogEntry>& value) { m_sinksHasBeenSet = true; m_sinks = value; }
76 inline void SetSinks(Aws::Vector<CatalogEntry>&& value) { m_sinksHasBeenSet = true; m_sinks = std::move(value); }
77 inline GetPlanRequest& WithSinks(const Aws::Vector<CatalogEntry>& value) { SetSinks(value); return *this;}
78 inline GetPlanRequest& WithSinks(Aws::Vector<CatalogEntry>&& value) { SetSinks(std::move(value)); return *this;}
79 inline GetPlanRequest& AddSinks(const CatalogEntry& value) { m_sinksHasBeenSet = true; m_sinks.push_back(value); return *this; }
80 inline GetPlanRequest& AddSinks(CatalogEntry&& value) { m_sinksHasBeenSet = true; m_sinks.push_back(std::move(value)); return *this; }
82
84
87 inline const Location& GetLocation() const{ return m_location; }
88 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
89 inline void SetLocation(const Location& value) { m_locationHasBeenSet = true; m_location = value; }
90 inline void SetLocation(Location&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
91 inline GetPlanRequest& WithLocation(const Location& value) { SetLocation(value); return *this;}
92 inline GetPlanRequest& WithLocation(Location&& value) { SetLocation(std::move(value)); return *this;}
94
96
99 inline const Language& GetLanguage() const{ return m_language; }
100 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
101 inline void SetLanguage(const Language& value) { m_languageHasBeenSet = true; m_language = value; }
102 inline void SetLanguage(Language&& value) { m_languageHasBeenSet = true; m_language = std::move(value); }
103 inline GetPlanRequest& WithLanguage(const Language& value) { SetLanguage(value); return *this;}
104 inline GetPlanRequest& WithLanguage(Language&& value) { SetLanguage(std::move(value)); return *this;}
106
108
117 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalPlanOptionsMap() const{ return m_additionalPlanOptionsMap; }
118 inline bool AdditionalPlanOptionsMapHasBeenSet() const { return m_additionalPlanOptionsMapHasBeenSet; }
119 inline void SetAdditionalPlanOptionsMap(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalPlanOptionsMapHasBeenSet = true; m_additionalPlanOptionsMap = value; }
120 inline void SetAdditionalPlanOptionsMap(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalPlanOptionsMapHasBeenSet = true; m_additionalPlanOptionsMap = std::move(value); }
123 inline GetPlanRequest& AddAdditionalPlanOptionsMap(const Aws::String& key, const Aws::String& value) { m_additionalPlanOptionsMapHasBeenSet = true; m_additionalPlanOptionsMap.emplace(key, value); return *this; }
124 inline GetPlanRequest& AddAdditionalPlanOptionsMap(Aws::String&& key, const Aws::String& value) { m_additionalPlanOptionsMapHasBeenSet = true; m_additionalPlanOptionsMap.emplace(std::move(key), value); return *this; }
125 inline GetPlanRequest& AddAdditionalPlanOptionsMap(const Aws::String& key, Aws::String&& value) { m_additionalPlanOptionsMapHasBeenSet = true; m_additionalPlanOptionsMap.emplace(key, std::move(value)); return *this; }
126 inline GetPlanRequest& AddAdditionalPlanOptionsMap(Aws::String&& key, Aws::String&& value) { m_additionalPlanOptionsMapHasBeenSet = true; m_additionalPlanOptionsMap.emplace(std::move(key), std::move(value)); return *this; }
127 inline GetPlanRequest& AddAdditionalPlanOptionsMap(const char* key, Aws::String&& value) { m_additionalPlanOptionsMapHasBeenSet = true; m_additionalPlanOptionsMap.emplace(key, std::move(value)); return *this; }
128 inline GetPlanRequest& AddAdditionalPlanOptionsMap(Aws::String&& key, const char* value) { m_additionalPlanOptionsMapHasBeenSet = true; m_additionalPlanOptionsMap.emplace(std::move(key), value); return *this; }
129 inline GetPlanRequest& AddAdditionalPlanOptionsMap(const char* key, const char* value) { m_additionalPlanOptionsMapHasBeenSet = true; m_additionalPlanOptionsMap.emplace(key, value); return *this; }
131 private:
132
134 bool m_mappingHasBeenSet = false;
135
136 CatalogEntry m_source;
137 bool m_sourceHasBeenSet = false;
138
140 bool m_sinksHasBeenSet = false;
141
142 Location m_location;
143 bool m_locationHasBeenSet = false;
144
145 Language m_language;
146 bool m_languageHasBeenSet = false;
147
148 Aws::Map<Aws::String, Aws::String> m_additionalPlanOptionsMap;
149 bool m_additionalPlanOptionsMapHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace Glue
154} // namespace Aws
void SetMapping(const Aws::Vector< MappingEntry > &value)
GetPlanRequest & WithMapping(const Aws::Vector< MappingEntry > &value)
GetPlanRequest & AddMapping(const MappingEntry &value)
void SetMapping(Aws::Vector< MappingEntry > &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetAdditionalPlanOptionsMap(Aws::Map< Aws::String, Aws::String > &&value)
GetPlanRequest & WithSinks(Aws::Vector< CatalogEntry > &&value)
void SetLocation(const Location &value)
GetPlanRequest & WithLocation(const Location &value)
GetPlanRequest & AddAdditionalPlanOptionsMap(const Aws::String &key, Aws::String &&value)
void SetLanguage(Language &&value)
void SetSource(const CatalogEntry &value)
GetPlanRequest & WithMapping(Aws::Vector< MappingEntry > &&value)
void SetSinks(const Aws::Vector< CatalogEntry > &value)
GetPlanRequest & AddAdditionalPlanOptionsMap(const char *key, const char *value)
const Aws::Vector< CatalogEntry > & GetSinks() const
const Aws::Map< Aws::String, Aws::String > & GetAdditionalPlanOptionsMap() const
const Aws::Vector< MappingEntry > & GetMapping() const
GetPlanRequest & AddAdditionalPlanOptionsMap(Aws::String &&key, const char *value)
GetPlanRequest & WithSinks(const Aws::Vector< CatalogEntry > &value)
void SetLocation(Location &&value)
GetPlanRequest & WithSource(CatalogEntry &&value)
void SetSinks(Aws::Vector< CatalogEntry > &&value)
GetPlanRequest & WithAdditionalPlanOptionsMap(Aws::Map< Aws::String, Aws::String > &&value)
GetPlanRequest & AddSinks(CatalogEntry &&value)
GetPlanRequest & AddSinks(const CatalogEntry &value)
GetPlanRequest & WithSource(const CatalogEntry &value)
const Location & GetLocation() const
GetPlanRequest & AddAdditionalPlanOptionsMap(Aws::String &&key, const Aws::String &value)
GetPlanRequest & AddMapping(MappingEntry &&value)
const Language & GetLanguage() const
GetPlanRequest & WithLanguage(Language &&value)
GetPlanRequest & WithLocation(Location &&value)
virtual const char * GetServiceRequestName() const override
const CatalogEntry & GetSource() const
GetPlanRequest & WithAdditionalPlanOptionsMap(const Aws::Map< Aws::String, Aws::String > &value)
GetPlanRequest & AddAdditionalPlanOptionsMap(const Aws::String &key, const Aws::String &value)
GetPlanRequest & AddAdditionalPlanOptionsMap(Aws::String &&key, Aws::String &&value)
void SetLanguage(const Language &value)
GetPlanRequest & AddAdditionalPlanOptionsMap(const char *key, Aws::String &&value)
void SetSource(CatalogEntry &&value)
GetPlanRequest & WithLanguage(const Language &value)
AWS_GLUE_API Aws::String SerializePayload() const override
void SetAdditionalPlanOptionsMap(const Aws::Map< Aws::String, Aws::String > &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