AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetDBClusterSnapshotIdentifier(const Aws::String& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = value; }
55 inline void SetDBClusterSnapshotIdentifier(Aws::String&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::move(value); }
56 inline void SetDBClusterSnapshotIdentifier(const char* value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier.assign(value); }
61
63
69 inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
70 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
71 inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
72 inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
73 inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
76 inline CreateDBClusterSnapshotRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
78
80
83 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
84 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
85 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
86 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
87 inline CreateDBClusterSnapshotRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
88 inline CreateDBClusterSnapshotRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
89 inline CreateDBClusterSnapshotRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
90 inline CreateDBClusterSnapshotRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
92 private:
93
94 Aws::String m_dBClusterSnapshotIdentifier;
95 bool m_dBClusterSnapshotIdentifierHasBeenSet = false;
96
97 Aws::String m_dBClusterIdentifier;
98 bool m_dBClusterIdentifierHasBeenSet = false;
99
100 Aws::Vector<Tag> m_tags;
101 bool m_tagsHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace RDS
106} // namespace Aws
virtual const char * GetServiceRequestName() const override
CreateDBClusterSnapshotRequest & WithTags(Aws::Vector< Tag > &&value)
CreateDBClusterSnapshotRequest & WithDBClusterIdentifier(const Aws::String &value)
CreateDBClusterSnapshotRequest & WithDBClusterSnapshotIdentifier(const char *value)
CreateDBClusterSnapshotRequest & WithDBClusterIdentifier(const char *value)
CreateDBClusterSnapshotRequest & WithDBClusterSnapshotIdentifier(const Aws::String &value)
CreateDBClusterSnapshotRequest & WithTags(const Aws::Vector< Tag > &value)
CreateDBClusterSnapshotRequest & WithDBClusterIdentifier(Aws::String &&value)
CreateDBClusterSnapshotRequest & AddTags(Tag &&value)
CreateDBClusterSnapshotRequest & WithDBClusterSnapshotIdentifier(Aws::String &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_RDS_API Aws::String SerializePayload() const override
CreateDBClusterSnapshotRequest & AddTags(const Tag &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector