68 lines
1.6 KiB
C
68 lines
1.6 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/cloudhsmv2/CloudHSMV2_EXPORTS.h>
|
|||
|
|
#include <aws/cloudhsmv2/model/Cluster.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace CloudHSMV2
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
class AWS_CLOUDHSMV2_API CreateClusterResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
CreateClusterResult();
|
|||
|
|
CreateClusterResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
CreateClusterResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about the cluster that was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Cluster& GetCluster() const{ return m_cluster; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about the cluster that was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCluster(const Cluster& value) { m_cluster = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about the cluster that was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCluster(Cluster&& value) { m_cluster = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about the cluster that was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateClusterResult& WithCluster(const Cluster& value) { SetCluster(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about the cluster that was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateClusterResult& WithCluster(Cluster&& value) { SetCluster(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Cluster m_cluster;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace CloudHSMV2
|
|||
|
|
} // namespace Aws
|