AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyDBSnapshotRequest.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 <utility>
11
12namespace Aws
13{
14namespace RDS
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ModifyDBSnapshot"; }
31
32 AWS_RDS_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
43 inline const Aws::String& GetDBSnapshotIdentifier() const{ return m_dBSnapshotIdentifier; }
44 inline bool DBSnapshotIdentifierHasBeenSet() const { return m_dBSnapshotIdentifierHasBeenSet; }
45 inline void SetDBSnapshotIdentifier(const Aws::String& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = value; }
46 inline void SetDBSnapshotIdentifier(Aws::String&& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = std::move(value); }
47 inline void SetDBSnapshotIdentifier(const char* value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier.assign(value); }
49 inline ModifyDBSnapshotRequest& WithDBSnapshotIdentifier(Aws::String&& value) { SetDBSnapshotIdentifier(std::move(value)); return *this;}
50 inline ModifyDBSnapshotRequest& WithDBSnapshotIdentifier(const char* value) { SetDBSnapshotIdentifier(value); return *this;}
52
54
74 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
75 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
76 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
77 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
78 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
79 inline ModifyDBSnapshotRequest& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
80 inline ModifyDBSnapshotRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
81 inline ModifyDBSnapshotRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
83
85
93 inline const Aws::String& GetOptionGroupName() const{ return m_optionGroupName; }
94 inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
95 inline void SetOptionGroupName(const Aws::String& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = value; }
96 inline void SetOptionGroupName(Aws::String&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::move(value); }
97 inline void SetOptionGroupName(const char* value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName.assign(value); }
98 inline ModifyDBSnapshotRequest& WithOptionGroupName(const Aws::String& value) { SetOptionGroupName(value); return *this;}
99 inline ModifyDBSnapshotRequest& WithOptionGroupName(Aws::String&& value) { SetOptionGroupName(std::move(value)); return *this;}
100 inline ModifyDBSnapshotRequest& WithOptionGroupName(const char* value) { SetOptionGroupName(value); return *this;}
102 private:
103
104 Aws::String m_dBSnapshotIdentifier;
105 bool m_dBSnapshotIdentifierHasBeenSet = false;
106
107 Aws::String m_engineVersion;
108 bool m_engineVersionHasBeenSet = false;
109
110 Aws::String m_optionGroupName;
111 bool m_optionGroupNameHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace RDS
116} // namespace Aws
ModifyDBSnapshotRequest & WithEngineVersion(const Aws::String &value)
ModifyDBSnapshotRequest & WithEngineVersion(const char *value)
ModifyDBSnapshotRequest & WithOptionGroupName(Aws::String &&value)
AWS_RDS_API Aws::String SerializePayload() const override
ModifyDBSnapshotRequest & WithOptionGroupName(const Aws::String &value)
ModifyDBSnapshotRequest & WithDBSnapshotIdentifier(Aws::String &&value)
void SetDBSnapshotIdentifier(const Aws::String &value)
const Aws::String & GetDBSnapshotIdentifier() const
void SetOptionGroupName(const Aws::String &value)
ModifyDBSnapshotRequest & WithDBSnapshotIdentifier(const Aws::String &value)
ModifyDBSnapshotRequest & WithOptionGroupName(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetEngineVersion(const Aws::String &value)
ModifyDBSnapshotRequest & WithDBSnapshotIdentifier(const char *value)
ModifyDBSnapshotRequest & WithEngineVersion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String