AWS SDK for C++  1.9.157
AWS SDK for C++
StartDBInstanceRequest.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 "StartDBInstance"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
42  inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
43 
47  inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
48 
52  inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
53 
57  inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
58 
62  inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
63 
67  inline StartDBInstanceRequest& WithDBInstanceIdentifier(const Aws::String& value) { SetDBInstanceIdentifier(value); return *this;}
68 
72  inline StartDBInstanceRequest& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;}
73 
77  inline StartDBInstanceRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
78 
79  private:
80 
81  Aws::String m_dBInstanceIdentifier;
82  bool m_dBInstanceIdentifierHasBeenSet;
83  };
84 
85 } // namespace Model
86 } // namespace RDS
87 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::StartDBInstanceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartDBInstanceRequest.h:30
Aws::RDS::Model::StartDBInstanceRequest::SetDBInstanceIdentifier
void SetDBInstanceIdentifier(Aws::String &&value)
Definition: StartDBInstanceRequest.h:57
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::StartDBInstanceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::StartDBInstanceRequest::DBInstanceIdentifierHasBeenSet
bool DBInstanceIdentifierHasBeenSet() const
Definition: StartDBInstanceRequest.h:47
Aws::RDS::Model::StartDBInstanceRequest::StartDBInstanceRequest
StartDBInstanceRequest()
Aws::RDS::Model::StartDBInstanceRequest::GetDBInstanceIdentifier
const Aws::String & GetDBInstanceIdentifier() const
Definition: StartDBInstanceRequest.h:42
Aws::RDS::Model::StartDBInstanceRequest::WithDBInstanceIdentifier
StartDBInstanceRequest & WithDBInstanceIdentifier(const Aws::String &value)
Definition: StartDBInstanceRequest.h:67
Aws::RDS::Model::StartDBInstanceRequest::WithDBInstanceIdentifier
StartDBInstanceRequest & WithDBInstanceIdentifier(Aws::String &&value)
Definition: StartDBInstanceRequest.h:72
RDS_EXPORTS.h
Aws::RDS::Model::StartDBInstanceRequest::SetDBInstanceIdentifier
void SetDBInstanceIdentifier(const Aws::String &value)
Definition: StartDBInstanceRequest.h:52
AWSString.h
Aws::RDS::Model::StartDBInstanceRequest
Definition: StartDBInstanceRequest.h:22
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::StartDBInstanceRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::StartDBInstanceRequest::WithDBInstanceIdentifier
StartDBInstanceRequest & WithDBInstanceIdentifier(const char *value)
Definition: StartDBInstanceRequest.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RDSRequest.h
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::StartDBInstanceRequest::SetDBInstanceIdentifier
void SetDBInstanceIdentifier(const char *value)
Definition: StartDBInstanceRequest.h:62