AWS SDK for C++

AWS SDK for C++ Version 1.11.605

Loading...
Searching...
No Matches
CreateDBClusterSnapshotRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace RDS
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_RDS_API CreateDBClusterSnapshotRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateDBClusterSnapshot"; }
36
37 AWS_RDS_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
52 inline const Aws::String& GetDBClusterSnapshotIdentifier() const { return m_dBClusterSnapshotIdentifier; }
53 inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; }
54 template<typename DBClusterSnapshotIdentifierT = Aws::String>
55 void SetDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::forward<DBClusterSnapshotIdentifierT>(value); }
56 template<typename DBClusterSnapshotIdentifierT = Aws::String>
57 CreateDBClusterSnapshotRequest& WithDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT&& value) { SetDBClusterSnapshotIdentifier(std::forward<DBClusterSnapshotIdentifierT>(value)); return *this;}
59
61
67 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
68 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
69 template<typename DBClusterIdentifierT = Aws::String>
70 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
71 template<typename DBClusterIdentifierT = Aws::String>
72 CreateDBClusterSnapshotRequest& WithDBClusterIdentifier(DBClusterIdentifierT&& value) { SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value)); return *this;}
74
76
79 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
80 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
81 template<typename TagsT = Aws::Vector<Tag>>
82 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
83 template<typename TagsT = Aws::Vector<Tag>>
84 CreateDBClusterSnapshotRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
85 template<typename TagsT = Tag>
86 CreateDBClusterSnapshotRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
88 private:
89
90 Aws::String m_dBClusterSnapshotIdentifier;
91 bool m_dBClusterSnapshotIdentifierHasBeenSet = false;
92
93 Aws::String m_dBClusterIdentifier;
94 bool m_dBClusterIdentifierHasBeenSet = false;
95
96 Aws::Vector<Tag> m_tags;
97 bool m_tagsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace RDS
102} // namespace Aws
virtual const char * GetServiceRequestName() const override
CreateDBClusterSnapshotRequest & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
void SetDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT &&value)
CreateDBClusterSnapshotRequest & WithTags(TagsT &&value)
CreateDBClusterSnapshotRequest & WithDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT &&value)
CreateDBClusterSnapshotRequest & AddTags(TagsT &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_RDS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector