AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateDatabaseRequest.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/DatabaseInput.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUE_API UpdateDatabaseRequest() = 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 "UpdateDatabase"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
44 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
45 template<typename CatalogIdT = Aws::String>
46 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::forward<CatalogIdT>(value); }
47 template<typename CatalogIdT = Aws::String>
48 UpdateDatabaseRequest& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
50
52
56 inline const Aws::String& GetName() const { return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 template<typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
60 template<typename NameT = Aws::String>
61 UpdateDatabaseRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
63
65
69 inline const DatabaseInput& GetDatabaseInput() const { return m_databaseInput; }
70 inline bool DatabaseInputHasBeenSet() const { return m_databaseInputHasBeenSet; }
71 template<typename DatabaseInputT = DatabaseInput>
72 void SetDatabaseInput(DatabaseInputT&& value) { m_databaseInputHasBeenSet = true; m_databaseInput = std::forward<DatabaseInputT>(value); }
73 template<typename DatabaseInputT = DatabaseInput>
74 UpdateDatabaseRequest& WithDatabaseInput(DatabaseInputT&& value) { SetDatabaseInput(std::forward<DatabaseInputT>(value)); return *this;}
76 private:
77
78 Aws::String m_catalogId;
79 bool m_catalogIdHasBeenSet = false;
80
81 Aws::String m_name;
82 bool m_nameHasBeenSet = false;
83
84 DatabaseInput m_databaseInput;
85 bool m_databaseInputHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Glue
90} // namespace Aws
virtual const char * GetServiceRequestName() const override
const DatabaseInput & GetDatabaseInput() const
UpdateDatabaseRequest & WithCatalogId(CatalogIdT &&value)
void SetDatabaseInput(DatabaseInputT &&value)
AWS_GLUE_API UpdateDatabaseRequest()=default
UpdateDatabaseRequest & WithName(NameT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateDatabaseRequest & WithDatabaseInput(DatabaseInputT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String