AWS SDK for C++
AWS SDK for C++ Version 1.11.440
Main Page
Related Pages
Namespaces
Classes
Modules
Search
Loading...
Searching...
No Matches
generated
src
aws-cpp-sdk-rds
include
aws
rds
model
PromoteReadReplicaResult.h
1
6
#pragma once
7
#include <aws/rds/RDS_EXPORTS.h>
8
#include <aws/rds/model/DBInstance.h>
9
#include <aws/rds/model/ResponseMetadata.h>
10
#include <utility>
11
12
namespace
Aws
13
{
14
template
<
typename
RESULT_TYPE>
15
class
AmazonWebServiceResult;
16
17
namespace
Utils
18
{
19
namespace
Xml
20
{
21
class
XmlDocument
;
22
}
// namespace Xml
23
}
// namespace Utils
24
namespace
RDS
25
{
26
namespace
Model
27
{
28
class
PromoteReadReplicaResult
29
{
30
public
:
31
AWS_RDS_API
PromoteReadReplicaResult
();
32
AWS_RDS_API
PromoteReadReplicaResult
(
const
Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>
& result);
33
AWS_RDS_API
PromoteReadReplicaResult
&
operator=
(
const
Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>
& result);
34
35
37
38
inline
const
DBInstance
&
GetDBInstance
()
const
{
return
m_dBInstance; }
39
inline
void
SetDBInstance
(
const
DBInstance
& value) { m_dBInstance = value; }
40
inline
void
SetDBInstance
(
DBInstance
&& value) { m_dBInstance = std::move(value); }
41
inline
PromoteReadReplicaResult
&
WithDBInstance
(
const
DBInstance
& value) {
SetDBInstance
(value);
return
*
this
;}
42
inline
PromoteReadReplicaResult
&
WithDBInstance
(
DBInstance
&& value) {
SetDBInstance
(std::move(value));
return
*
this
;}
44
46
47
inline
const
ResponseMetadata
&
GetResponseMetadata
()
const
{
return
m_responseMetadata; }
48
inline
void
SetResponseMetadata
(
const
ResponseMetadata
& value) { m_responseMetadata = value; }
49
inline
void
SetResponseMetadata
(
ResponseMetadata
&& value) { m_responseMetadata = std::move(value); }
50
inline
PromoteReadReplicaResult
&
WithResponseMetadata
(
const
ResponseMetadata
& value) {
SetResponseMetadata
(value);
return
*
this
;}
51
inline
PromoteReadReplicaResult
&
WithResponseMetadata
(
ResponseMetadata
&& value) {
SetResponseMetadata
(std::move(value));
return
*
this
;}
53
private
:
54
55
DBInstance
m_dBInstance;
56
57
ResponseMetadata
m_responseMetadata;
58
};
59
60
}
// namespace Model
61
}
// namespace RDS
62
}
// namespace Aws
Aws::AmazonWebServiceResult
Aws::RDS::Model::DBInstance
Definition
DBInstance.h:62
Aws::RDS::Model::PromoteReadReplicaResult
Definition
PromoteReadReplicaResult.h:29
Aws::RDS::Model::PromoteReadReplicaResult::operator=
AWS_RDS_API PromoteReadReplicaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::PromoteReadReplicaResult::GetDBInstance
const DBInstance & GetDBInstance() const
Definition
PromoteReadReplicaResult.h:38
Aws::RDS::Model::PromoteReadReplicaResult::SetDBInstance
void SetDBInstance(const DBInstance &value)
Definition
PromoteReadReplicaResult.h:39
Aws::RDS::Model::PromoteReadReplicaResult::WithDBInstance
PromoteReadReplicaResult & WithDBInstance(DBInstance &&value)
Definition
PromoteReadReplicaResult.h:42
Aws::RDS::Model::PromoteReadReplicaResult::WithResponseMetadata
PromoteReadReplicaResult & WithResponseMetadata(ResponseMetadata &&value)
Definition
PromoteReadReplicaResult.h:51
Aws::RDS::Model::PromoteReadReplicaResult::PromoteReadReplicaResult
AWS_RDS_API PromoteReadReplicaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::PromoteReadReplicaResult::PromoteReadReplicaResult
AWS_RDS_API PromoteReadReplicaResult()
Aws::RDS::Model::PromoteReadReplicaResult::SetDBInstance
void SetDBInstance(DBInstance &&value)
Definition
PromoteReadReplicaResult.h:40
Aws::RDS::Model::PromoteReadReplicaResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition
PromoteReadReplicaResult.h:48
Aws::RDS::Model::PromoteReadReplicaResult::WithDBInstance
PromoteReadReplicaResult & WithDBInstance(const DBInstance &value)
Definition
PromoteReadReplicaResult.h:41
Aws::RDS::Model::PromoteReadReplicaResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition
PromoteReadReplicaResult.h:47
Aws::RDS::Model::PromoteReadReplicaResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition
PromoteReadReplicaResult.h:49
Aws::RDS::Model::PromoteReadReplicaResult::WithResponseMetadata
PromoteReadReplicaResult & WithResponseMetadata(const ResponseMetadata &value)
Definition
PromoteReadReplicaResult.h:50
Aws::RDS::Model::ResponseMetadata
Definition
ResponseMetadata.h:27
Aws
smithy::client::XmlDocument
Aws::Utils::Xml::XmlDocument XmlDocument
Generated by
1.9.8
Privacy |
Site terms |
Cookie preferences