AWS SDK for C++  1.9.73
AWS SDK for C++
BundleInstanceResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.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 EC2
25 {
26 namespace Model
27 {
34  {
35  public:
39 
40 
44  inline const BundleTask& GetBundleTask() const{ return m_bundleTask; }
45 
49  inline void SetBundleTask(const BundleTask& value) { m_bundleTask = value; }
50 
54  inline void SetBundleTask(BundleTask&& value) { m_bundleTask = std::move(value); }
55 
59  inline BundleInstanceResponse& WithBundleTask(const BundleTask& value) { SetBundleTask(value); return *this;}
60 
64  inline BundleInstanceResponse& WithBundleTask(BundleTask&& value) { SetBundleTask(std::move(value)); return *this;}
65 
66 
67 
68  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
69 
70 
71  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
72 
73 
74  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
75 
76 
77  inline BundleInstanceResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
78 
79 
80  inline BundleInstanceResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
81 
82  private:
83 
84  BundleTask m_bundleTask;
85 
86  ResponseMetadata m_responseMetadata;
87  };
88 
89 } // namespace Model
90 } // namespace EC2
91 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::BundleInstanceResponse
Definition: BundleInstanceResponse.h:34
Aws::EC2::Model::BundleInstanceResponse::BundleInstanceResponse
BundleInstanceResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::BundleInstanceResponse::GetBundleTask
const BundleTask & GetBundleTask() const
Definition: BundleInstanceResponse.h:44
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::BundleInstanceResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: BundleInstanceResponse.h:71
Aws::EC2::Model::BundleInstanceResponse::operator=
BundleInstanceResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::BundleInstanceResponse::SetBundleTask
void SetBundleTask(const BundleTask &value)
Definition: BundleInstanceResponse.h:49
BundleTask.h
Aws::EC2::Model::BundleInstanceResponse::SetBundleTask
void SetBundleTask(BundleTask &&value)
Definition: BundleInstanceResponse.h:54
Aws::EC2::Model::BundleInstanceResponse::WithResponseMetadata
BundleInstanceResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: BundleInstanceResponse.h:77
Aws::EC2::Model::BundleInstanceResponse::WithBundleTask
BundleInstanceResponse & WithBundleTask(const BundleTask &value)
Definition: BundleInstanceResponse.h:59
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::BundleInstanceResponse::WithResponseMetadata
BundleInstanceResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: BundleInstanceResponse.h:80
Aws::EC2::Model::BundleTask
Definition: BundleTask.h:36
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::BundleInstanceResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: BundleInstanceResponse.h:68
EC2_EXPORTS.h
Aws::EC2::Model::BundleInstanceResponse::WithBundleTask
BundleInstanceResponse & WithBundleTask(BundleTask &&value)
Definition: BundleInstanceResponse.h:64
Aws::EC2::Model::BundleInstanceResponse::BundleInstanceResponse
BundleInstanceResponse()
Aws::EC2::Model::BundleInstanceResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: BundleInstanceResponse.h:74