AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMappingRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/model/CatalogEntry.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/model/Location.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Glue
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_GLUE_API GetMappingRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "GetMapping"; }
33
34 AWS_GLUE_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const CatalogEntry& GetSource() const{ return m_source; }
44 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
45 inline void SetSource(const CatalogEntry& value) { m_sourceHasBeenSet = true; m_source = value; }
46 inline void SetSource(CatalogEntry&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
47 inline GetMappingRequest& WithSource(const CatalogEntry& value) { SetSource(value); return *this;}
48 inline GetMappingRequest& WithSource(CatalogEntry&& value) { SetSource(std::move(value)); return *this;}
50
52
55 inline const Aws::Vector<CatalogEntry>& GetSinks() const{ return m_sinks; }
56 inline bool SinksHasBeenSet() const { return m_sinksHasBeenSet; }
57 inline void SetSinks(const Aws::Vector<CatalogEntry>& value) { m_sinksHasBeenSet = true; m_sinks = value; }
58 inline void SetSinks(Aws::Vector<CatalogEntry>&& value) { m_sinksHasBeenSet = true; m_sinks = std::move(value); }
59 inline GetMappingRequest& WithSinks(const Aws::Vector<CatalogEntry>& value) { SetSinks(value); return *this;}
60 inline GetMappingRequest& WithSinks(Aws::Vector<CatalogEntry>&& value) { SetSinks(std::move(value)); return *this;}
61 inline GetMappingRequest& AddSinks(const CatalogEntry& value) { m_sinksHasBeenSet = true; m_sinks.push_back(value); return *this; }
62 inline GetMappingRequest& AddSinks(CatalogEntry&& value) { m_sinksHasBeenSet = true; m_sinks.push_back(std::move(value)); return *this; }
64
66
69 inline const Location& GetLocation() const{ return m_location; }
70 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
71 inline void SetLocation(const Location& value) { m_locationHasBeenSet = true; m_location = value; }
72 inline void SetLocation(Location&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
73 inline GetMappingRequest& WithLocation(const Location& value) { SetLocation(value); return *this;}
74 inline GetMappingRequest& WithLocation(Location&& value) { SetLocation(std::move(value)); return *this;}
76 private:
77
78 CatalogEntry m_source;
79 bool m_sourceHasBeenSet = false;
80
82 bool m_sinksHasBeenSet = false;
83
84 Location m_location;
85 bool m_locationHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Glue
90} // namespace Aws
const Aws::Vector< CatalogEntry > & GetSinks() const
const Location & GetLocation() const
void SetSinks(const Aws::Vector< CatalogEntry > &value)
void SetSource(const CatalogEntry &value)
void SetSinks(Aws::Vector< CatalogEntry > &&value)
void SetLocation(const Location &value)
const CatalogEntry & GetSource() const
GetMappingRequest & WithLocation(const Location &value)
GetMappingRequest & WithSource(const CatalogEntry &value)
GetMappingRequest & AddSinks(CatalogEntry &&value)
GetMappingRequest & WithSinks(const Aws::Vector< CatalogEntry > &value)
virtual const char * GetServiceRequestName() const override
GetMappingRequest & AddSinks(const CatalogEntry &value)
AWS_GLUE_API Aws::String SerializePayload() const override
GetMappingRequest & WithSource(CatalogEntry &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetMappingRequest & WithSinks(Aws::Vector< CatalogEntry > &&value)
GetMappingRequest & WithLocation(Location &&value)
void SetSource(CatalogEntry &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector