AWS SDK for C++  1.9.15
AWS SDK for C++
CreateClusterResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 CloudHSMV2
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 CreateClusterResult& WithCluster(const Cluster& value) { SetCluster(value); return *this;}
54 
58  inline CreateClusterResult& WithCluster(Cluster&& value) { SetCluster(std::move(value)); return *this;}
59 
60  private:
61 
62  Cluster m_cluster;
63  };
64 
65 } // namespace Model
66 } // namespace CloudHSMV2
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CloudHSMV2::Model::CreateClusterResult::SetCluster
void SetCluster(const Cluster &value)
Definition: CreateClusterResult.h:43
AWS_CLOUDHSMV2_API
#define AWS_CLOUDHSMV2_API
Definition: CloudHSMV2_EXPORTS.h:28
Aws::CloudHSMV2::Model::CreateClusterResult::WithCluster
CreateClusterResult & WithCluster(const Cluster &value)
Definition: CreateClusterResult.h:53
Aws::CloudHSMV2::Model::CreateClusterResult::CreateClusterResult
CreateClusterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CloudHSMV2::Model::CreateClusterResult::SetCluster
void SetCluster(Cluster &&value)
Definition: CreateClusterResult.h:48
Aws::CloudHSMV2::Model::CreateClusterResult::CreateClusterResult
CreateClusterResult()
Cluster.h
Aws::CloudHSMV2::Model::CreateClusterResult::WithCluster
CreateClusterResult & WithCluster(Cluster &&value)
Definition: CreateClusterResult.h:58
Aws::CloudHSMV2::Model::Cluster
Definition: Cluster.h:42
CloudHSMV2_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::CloudHSMV2::Model::CreateClusterResult::operator=
CreateClusterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CloudHSMV2::Model::CreateClusterResult
Definition: CreateClusterResult.h:28
Aws::CloudHSMV2::Model::CreateClusterResult::GetCluster
const Cluster & GetCluster() const
Definition: CreateClusterResult.h:38