AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
RemoveFromGlobalClusterRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/docdb/DocDBRequest.h>
9#include <aws/docdb/DocDB_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace DocDB {
15namespace Model {
16
24 public:
25 AWS_DOCDB_API RemoveFromGlobalClusterRequest() = 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 "RemoveFromGlobalCluster"; }
32
33 AWS_DOCDB_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
37
38 public:
40
44 inline const Aws::String& GetGlobalClusterIdentifier() const { return m_globalClusterIdentifier; }
45 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
46 template <typename GlobalClusterIdentifierT = Aws::String>
47 void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
48 m_globalClusterIdentifierHasBeenSet = true;
49 m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
50 }
51 template <typename GlobalClusterIdentifierT = Aws::String>
53 SetGlobalClusterIdentifier(std::forward<GlobalClusterIdentifierT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetDbClusterIdentifier() const { return m_dbClusterIdentifier; }
64 inline bool DbClusterIdentifierHasBeenSet() const { return m_dbClusterIdentifierHasBeenSet; }
65 template <typename DbClusterIdentifierT = Aws::String>
66 void SetDbClusterIdentifier(DbClusterIdentifierT&& value) {
67 m_dbClusterIdentifierHasBeenSet = true;
68 m_dbClusterIdentifier = std::forward<DbClusterIdentifierT>(value);
69 }
70 template <typename DbClusterIdentifierT = Aws::String>
72 SetDbClusterIdentifier(std::forward<DbClusterIdentifierT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_globalClusterIdentifier;
78
79 Aws::String m_dbClusterIdentifier;
80 bool m_globalClusterIdentifierHasBeenSet = false;
81 bool m_dbClusterIdentifierHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace DocDB
86} // namespace Aws
RemoveFromGlobalClusterRequest & WithDbClusterIdentifier(DbClusterIdentifierT &&value)
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_DOCDB_API RemoveFromGlobalClusterRequest()=default
RemoveFromGlobalClusterRequest & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
AWS_DOCDB_API Aws::String SerializePayload() const override
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String