AWS SDK for C++  1.8.129
AWS SDK for C++
DeleteClusterResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.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 ECS
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Cluster& GetCluster() const{ return m_cluster; }
39 
43  inline void SetCluster(const Cluster& value) { m_cluster = value; }
44 
48  inline void SetCluster(Cluster&& value) { m_cluster = std::move(value); }
49 
53  inline DeleteClusterResult& WithCluster(const Cluster& value) { SetCluster(value); return *this;}
54 
58  inline DeleteClusterResult& WithCluster(Cluster&& value) { SetCluster(std::move(value)); return *this;}
59 
60  private:
61 
62  Cluster m_cluster;
63  };
64 
65 } // namespace Model
66 } // namespace ECS
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECS::Model::DeleteClusterResult
Definition: DeleteClusterResult.h:28
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::DeleteClusterResult::GetCluster
const Cluster & GetCluster() const
Definition: DeleteClusterResult.h:38
Aws::ECS::Model::DeleteClusterResult::WithCluster
DeleteClusterResult & WithCluster(Cluster &&value)
Definition: DeleteClusterResult.h:58
Cluster.h
Aws::ECS::Model::DeleteClusterResult::operator=
DeleteClusterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECS::Model::Cluster
Definition: Cluster.h:41
Aws::ECS::Model::DeleteClusterResult::WithCluster
DeleteClusterResult & WithCluster(const Cluster &value)
Definition: DeleteClusterResult.h:53
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::DeleteClusterResult::DeleteClusterResult
DeleteClusterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECS::Model::DeleteClusterResult::DeleteClusterResult
DeleteClusterResult()
Aws::ECS::Model::DeleteClusterResult::SetCluster
void SetCluster(Cluster &&value)
Definition: DeleteClusterResult.h:48
ECS_EXPORTS.h
Aws::ECS::Model::DeleteClusterResult::SetCluster
void SetCluster(const Cluster &value)
Definition: DeleteClusterResult.h:43