AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateCatalogRequest.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/AWSString.h>
10#include <aws/glue/model/CatalogInput.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUE_API UpdateCatalogRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateCatalog"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
43 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
44 template<typename CatalogIdT = Aws::String>
45 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::forward<CatalogIdT>(value); }
46 template<typename CatalogIdT = Aws::String>
47 UpdateCatalogRequest& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
49
51
55 inline const CatalogInput& GetCatalogInput() const { return m_catalogInput; }
56 inline bool CatalogInputHasBeenSet() const { return m_catalogInputHasBeenSet; }
57 template<typename CatalogInputT = CatalogInput>
58 void SetCatalogInput(CatalogInputT&& value) { m_catalogInputHasBeenSet = true; m_catalogInput = std::forward<CatalogInputT>(value); }
59 template<typename CatalogInputT = CatalogInput>
60 UpdateCatalogRequest& WithCatalogInput(CatalogInputT&& value) { SetCatalogInput(std::forward<CatalogInputT>(value)); return *this;}
62 private:
63
64 Aws::String m_catalogId;
65 bool m_catalogIdHasBeenSet = false;
66
67 CatalogInput m_catalogInput;
68 bool m_catalogInputHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Glue
73} // 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