AWS SDK for C++  1.9.104
AWS SDK for C++
StopDBInstanceAutomatedBackupsReplicationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace RDS
15 {
16 namespace 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 "StopDBInstanceAutomatedBackupsReplication"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
44  inline const Aws::String& GetSourceDBInstanceArn() const{ return m_sourceDBInstanceArn; }
45 
51  inline bool SourceDBInstanceArnHasBeenSet() const { return m_sourceDBInstanceArnHasBeenSet; }
52 
58  inline void SetSourceDBInstanceArn(const Aws::String& value) { m_sourceDBInstanceArnHasBeenSet = true; m_sourceDBInstanceArn = value; }
59 
65  inline void SetSourceDBInstanceArn(Aws::String&& value) { m_sourceDBInstanceArnHasBeenSet = true; m_sourceDBInstanceArn = std::move(value); }
66 
72  inline void SetSourceDBInstanceArn(const char* value) { m_sourceDBInstanceArnHasBeenSet = true; m_sourceDBInstanceArn.assign(value); }
73 
79  inline StopDBInstanceAutomatedBackupsReplicationRequest& WithSourceDBInstanceArn(const Aws::String& value) { SetSourceDBInstanceArn(value); return *this;}
80 
86  inline StopDBInstanceAutomatedBackupsReplicationRequest& WithSourceDBInstanceArn(Aws::String&& value) { SetSourceDBInstanceArn(std::move(value)); return *this;}
87 
93  inline StopDBInstanceAutomatedBackupsReplicationRequest& WithSourceDBInstanceArn(const char* value) { SetSourceDBInstanceArn(value); return *this;}
94 
95  private:
96 
97  Aws::String m_sourceDBInstanceArn;
98  bool m_sourceDBInstanceArnHasBeenSet;
99  };
100 
101 } // namespace Model
102 } // namespace RDS
103 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::StopDBInstanceAutomatedBackupsReplicationRequest::GetSourceDBInstanceArn
const Aws::String & GetSourceDBInstanceArn() const
Definition: StopDBInstanceAutomatedBackupsReplicationRequest.h:44
Aws::RDS::Model::StopDBInstanceAutomatedBackupsReplicationRequest::WithSourceDBInstanceArn
StopDBInstanceAutomatedBackupsReplicationRequest & WithSourceDBInstanceArn(const char *value)
Definition: StopDBInstanceAutomatedBackupsReplicationRequest.h:93
Aws::RDS::Model::StopDBInstanceAutomatedBackupsReplicationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StopDBInstanceAutomatedBackupsReplicationRequest.h:30
Aws::RDS::Model::StopDBInstanceAutomatedBackupsReplicationRequest::StopDBInstanceAutomatedBackupsReplicationRequest
StopDBInstanceAutomatedBackupsReplicationRequest()
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::StopDBInstanceAutomatedBackupsReplicationRequest::SetSourceDBInstanceArn
void SetSourceDBInstanceArn(Aws::String &&value)
Definition: StopDBInstanceAutomatedBackupsReplicationRequest.h:65
Aws::RDS::Model::StopDBInstanceAutomatedBackupsReplicationRequest::WithSourceDBInstanceArn
StopDBInstanceAutomatedBackupsReplicationRequest & WithSourceDBInstanceArn(const Aws::String &value)
Definition: StopDBInstanceAutomatedBackupsReplicationRequest.h:79
RDS_EXPORTS.h
Aws::RDS::Model::StopDBInstanceAutomatedBackupsReplicationRequest
Definition: StopDBInstanceAutomatedBackupsReplicationRequest.h:22
AWSString.h
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::StopDBInstanceAutomatedBackupsReplicationRequest::SourceDBInstanceArnHasBeenSet
bool SourceDBInstanceArnHasBeenSet() const
Definition: StopDBInstanceAutomatedBackupsReplicationRequest.h:51
Aws::RDS::Model::StopDBInstanceAutomatedBackupsReplicationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::StopDBInstanceAutomatedBackupsReplicationRequest::WithSourceDBInstanceArn
StopDBInstanceAutomatedBackupsReplicationRequest & WithSourceDBInstanceArn(Aws::String &&value)
Definition: StopDBInstanceAutomatedBackupsReplicationRequest.h:86
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RDSRequest.h
Aws::RDS::Model::StopDBInstanceAutomatedBackupsReplicationRequest::SetSourceDBInstanceArn
void SetSourceDBInstanceArn(const char *value)
Definition: StopDBInstanceAutomatedBackupsReplicationRequest.h:72
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::StopDBInstanceAutomatedBackupsReplicationRequest::SetSourceDBInstanceArn
void SetSourceDBInstanceArn(const Aws::String &value)
Definition: StopDBInstanceAutomatedBackupsReplicationRequest.h:58
Aws::RDS::Model::StopDBInstanceAutomatedBackupsReplicationRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override