AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
UpdateCatalogRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/CatalogInput.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API UpdateCatalogRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateCatalog"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
39 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
40 template <typename CatalogIdT = Aws::String>
41 void SetCatalogId(CatalogIdT&& value) {
42 m_catalogIdHasBeenSet = true;
43 m_catalogId = std::forward<CatalogIdT>(value);
44 }
45 template <typename CatalogIdT = Aws::String>
46 UpdateCatalogRequest& WithCatalogId(CatalogIdT&& value) {
47 SetCatalogId(std::forward<CatalogIdT>(value));
48 return *this;
49 }
51
53
57 inline const CatalogInput& GetCatalogInput() const { return m_catalogInput; }
58 inline bool CatalogInputHasBeenSet() const { return m_catalogInputHasBeenSet; }
59 template <typename CatalogInputT = CatalogInput>
60 void SetCatalogInput(CatalogInputT&& value) {
61 m_catalogInputHasBeenSet = true;
62 m_catalogInput = std::forward<CatalogInputT>(value);
63 }
64 template <typename CatalogInputT = CatalogInput>
65 UpdateCatalogRequest& WithCatalogInput(CatalogInputT&& value) {
66 SetCatalogInput(std::forward<CatalogInputT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_catalogId;
72 bool m_catalogIdHasBeenSet = false;
73
74 CatalogInput m_catalogInput;
75 bool m_catalogInputHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Glue
80} // namespace Aws
AWS_GLUE_API UpdateCatalogRequest()=default
UpdateCatalogRequest & WithCatalogId(CatalogIdT &&value)
virtual const char * GetServiceRequestName() const override
void SetCatalogInput(CatalogInputT &&value)
const CatalogInput & GetCatalogInput() const
UpdateCatalogRequest & WithCatalogInput(CatalogInputT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GLUE_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String