AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateBlueGreenDeploymentResult.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/model/BlueGreenDeployment.h>
9#include <aws/rds/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace RDS
25{
26namespace Model
27{
29 {
30 public:
31 AWS_RDS_API CreateBlueGreenDeploymentResult() = default;
34
35
37
38 inline const BlueGreenDeployment& GetBlueGreenDeployment() const { return m_blueGreenDeployment; }
39 template<typename BlueGreenDeploymentT = BlueGreenDeployment>
40 void SetBlueGreenDeployment(BlueGreenDeploymentT&& value) { m_blueGreenDeploymentHasBeenSet = true; m_blueGreenDeployment = std::forward<BlueGreenDeploymentT>(value); }
41 template<typename BlueGreenDeploymentT = BlueGreenDeployment>
42 CreateBlueGreenDeploymentResult& WithBlueGreenDeployment(BlueGreenDeploymentT&& value) { SetBlueGreenDeployment(std::forward<BlueGreenDeploymentT>(value)); return *this;}
44
46
47 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
48 template<typename ResponseMetadataT = ResponseMetadata>
49 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
50 template<typename ResponseMetadataT = ResponseMetadata>
51 CreateBlueGreenDeploymentResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
53 private:
54
55 BlueGreenDeployment m_blueGreenDeployment;
56 bool m_blueGreenDeploymentHasBeenSet = false;
57
58 ResponseMetadata m_responseMetadata;
59 bool m_responseMetadataHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace RDS
64} // namespace Aws
CreateBlueGreenDeploymentResult & WithBlueGreenDeployment(BlueGreenDeploymentT &&value)
AWS_RDS_API CreateBlueGreenDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateBlueGreenDeploymentResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_RDS_API CreateBlueGreenDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Utils::Xml::XmlDocument XmlDocument