AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateDBClusterSnapshotRequest.h
1
6#pragma once
7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/neptune/NeptuneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/neptune/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Neptune
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_NEPTUNE_API CreateDBClusterSnapshotRequest() = default;
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 "CreateDBClusterSnapshot"; }
33
34 AWS_NEPTUNE_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
49 inline const Aws::String& GetDBClusterSnapshotIdentifier() const { return m_dBClusterSnapshotIdentifier; }
50 inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; }
51 template<typename DBClusterSnapshotIdentifierT = Aws::String>
52 void SetDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::forward<DBClusterSnapshotIdentifierT>(value); }
53 template<typename DBClusterSnapshotIdentifierT = Aws::String>
54 CreateDBClusterSnapshotRequest& WithDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT&& value) { SetDBClusterSnapshotIdentifier(std::forward<DBClusterSnapshotIdentifierT>(value)); return *this;}
56
58
64 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
65 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
66 template<typename DBClusterIdentifierT = Aws::String>
67 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
68 template<typename DBClusterIdentifierT = Aws::String>
69 CreateDBClusterSnapshotRequest& WithDBClusterIdentifier(DBClusterIdentifierT&& value) { SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value)); return *this;}
71
73
76 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
77 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
78 template<typename TagsT = Aws::Vector<Tag>>
79 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
80 template<typename TagsT = Aws::Vector<Tag>>
81 CreateDBClusterSnapshotRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
82 template<typename TagsT = Tag>
83 CreateDBClusterSnapshotRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
85 private:
86
87 Aws::String m_dBClusterSnapshotIdentifier;
88 bool m_dBClusterSnapshotIdentifierHasBeenSet = false;
89
90 Aws::String m_dBClusterIdentifier;
91 bool m_dBClusterIdentifierHasBeenSet = false;
92
93 Aws::Vector<Tag> m_tags;
94 bool m_tagsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Neptune
99} // namespace Aws
CreateDBClusterSnapshotRequest & AddTags(TagsT &&value)
CreateDBClusterSnapshotRequest & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
void SetDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT &&value)
AWS_NEPTUNE_API CreateDBClusterSnapshotRequest()=default
CreateDBClusterSnapshotRequest & WithTags(TagsT &&value)
CreateDBClusterSnapshotRequest & WithDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT &&value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector