AWS SDK for C++  1.9.159
AWS SDK for C++
CompleteSnapshotResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ebs/EBS_EXPORTS.h>
8 #include <aws/ebs/model/Status.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace EBS
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Status& GetStatus() const{ return m_status; }
39 
43  inline void SetStatus(const Status& value) { m_status = value; }
44 
48  inline void SetStatus(Status&& value) { m_status = std::move(value); }
49 
53  inline CompleteSnapshotResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
54 
58  inline CompleteSnapshotResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
59 
60  private:
61 
62  Status m_status;
63  };
64 
65 } // namespace Model
66 } // namespace EBS
67 } // namespace Aws
Aws::EBS::Model::CompleteSnapshotResult::SetStatus
void SetStatus(Status &&value)
Definition: CompleteSnapshotResult.h:48
Status.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EBS::Model::CompleteSnapshotResult::WithStatus
CompleteSnapshotResult & WithStatus(const Status &value)
Definition: CompleteSnapshotResult.h:53
Aws::EBS::Model::CompleteSnapshotResult::SetStatus
void SetStatus(const Status &value)
Definition: CompleteSnapshotResult.h:43
Aws::EBS::Model::CompleteSnapshotResult::operator=
CompleteSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
EBS_EXPORTS.h
Aws::EBS::Model::CompleteSnapshotResult
Definition: CompleteSnapshotResult.h:28
Aws::EBS::Model::CompleteSnapshotResult::WithStatus
CompleteSnapshotResult & WithStatus(Status &&value)
Definition: CompleteSnapshotResult.h:58
AWS_EBS_API
#define AWS_EBS_API
Definition: EBS_EXPORTS.h:28
Aws::EBS::Model::Status
Status
Definition: Status.h:17
Aws::EBS::Model::CompleteSnapshotResult::GetStatus
const Status & GetStatus() const
Definition: CompleteSnapshotResult.h:38
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::EBS::Model::CompleteSnapshotResult::CompleteSnapshotResult
CompleteSnapshotResult()
Aws::EBS::Model::CompleteSnapshotResult::CompleteSnapshotResult
CompleteSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)