7#include <aws/cloudhsmv2/CloudHSMV2Request.h>
8#include <aws/cloudhsmv2/CloudHSMV2_EXPORTS.h>
9#include <aws/cloudhsmv2/model/BackupRetentionPolicy.h>
10#include <aws/cloudhsmv2/model/ClusterMode.h>
11#include <aws/cloudhsmv2/model/NetworkType.h>
12#include <aws/cloudhsmv2/model/Tag.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
44 template <
typename BackupRetentionPolicyT = BackupRetentionPolicy>
46 m_backupRetentionPolicyHasBeenSet =
true;
47 m_backupRetentionPolicy = std::forward<BackupRetentionPolicyT>(value);
49 template <
typename BackupRetentionPolicyT = BackupRetentionPolicy>
63 template <
typename HsmTypeT = Aws::String>
65 m_hsmTypeHasBeenSet =
true;
66 m_hsmType = std::forward<HsmTypeT>(value);
68 template <
typename HsmTypeT = Aws::String>
85 template <
typename SourceBackupIdT = Aws::String>
87 m_sourceBackupIdHasBeenSet =
true;
88 m_sourceBackupId = std::forward<SourceBackupIdT>(value);
90 template <
typename SourceBackupIdT = Aws::String>
107 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
109 m_subnetIdsHasBeenSet =
true;
110 m_subnetIds = std::forward<SubnetIdsT>(value);
112 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
117 template <
typename SubnetIdsT = Aws::String>
119 m_subnetIdsHasBeenSet =
true;
120 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
133 m_networkTypeHasBeenSet =
true;
134 m_networkType = value;
148 template <
typename TagListT = Aws::Vector<Tag>>
150 m_tagListHasBeenSet =
true;
151 m_tagList = std::forward<TagListT>(value);
153 template <
typename TagListT = Aws::Vector<Tag>>
158 template <
typename TagListT = Tag>
160 m_tagListHasBeenSet =
true;
161 m_tagList.emplace_back(std::forward<TagListT>(value));
174 m_modeHasBeenSet =
true;
196 bool m_backupRetentionPolicyHasBeenSet =
false;
197 bool m_hsmTypeHasBeenSet =
false;
198 bool m_sourceBackupIdHasBeenSet =
false;
199 bool m_subnetIdsHasBeenSet =
false;
200 bool m_networkTypeHasBeenSet =
false;
201 bool m_tagListHasBeenSet =
false;
202 bool m_modeHasBeenSet =
false;
AWS_CLOUDHSMV2_API CreateClusterRequest()=default
void SetBackupRetentionPolicy(BackupRetentionPolicyT &&value)
bool BackupRetentionPolicyHasBeenSet() const
const Aws::String & GetSourceBackupId() const
bool SubnetIdsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
ClusterMode GetMode() const
bool NetworkTypeHasBeenSet() const
CreateClusterRequest & WithBackupRetentionPolicy(BackupRetentionPolicyT &&value)
bool SourceBackupIdHasBeenSet() const
AWS_CLOUDHSMV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const BackupRetentionPolicy & GetBackupRetentionPolicy() const
AWS_CLOUDHSMV2_API Aws::String SerializePayload() const override
CreateClusterRequest & AddTagList(TagListT &&value)
CreateClusterRequest & AddSubnetIds(SubnetIdsT &&value)
void SetSubnetIds(SubnetIdsT &&value)
CreateClusterRequest & WithHsmType(HsmTypeT &&value)
NetworkType GetNetworkType() const
CreateClusterRequest & WithSourceBackupId(SourceBackupIdT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
bool HsmTypeHasBeenSet() const
CreateClusterRequest & WithNetworkType(NetworkType value)
const Aws::Vector< Tag > & GetTagList() const
bool TagListHasBeenSet() const
void SetNetworkType(NetworkType value)
bool ModeHasBeenSet() const
CreateClusterRequest & WithSubnetIds(SubnetIdsT &&value)
const Aws::String & GetHsmType() const
CreateClusterRequest & WithMode(ClusterMode value)
CreateClusterRequest & WithTagList(TagListT &&value)
void SetMode(ClusterMode value)
void SetHsmType(HsmTypeT &&value)
void SetSourceBackupId(SourceBackupIdT &&value)
void SetTagList(TagListT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector