7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/kms/model/KeyUsageType.h>
11#include <aws/kms/model/KeyState.h>
12#include <aws/kms/model/OriginType.h>
13#include <aws/kms/model/ExpirationModelType.h>
14#include <aws/kms/model/KeyManagerType.h>
15#include <aws/kms/model/KeySpec.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
17#include <aws/kms/model/MultiRegionConfiguration.h>
18#include <aws/kms/model/XksKeyConfigurationType.h>
19#include <aws/kms/model/EncryptionAlgorithmSpec.h>
20#include <aws/kms/model/SigningAlgorithmSpec.h>
21#include <aws/kms/model/KeyAgreementAlgorithmSpec.h>
22#include <aws/kms/model/MacAlgorithmSpec.h>
63 template<
typename AWSAccountIdT = Aws::String>
64 void SetAWSAccountId(AWSAccountIdT&& value) { m_aWSAccountIdHasBeenSet =
true; m_aWSAccountId = std::forward<AWSAccountIdT>(value); }
65 template<
typename AWSAccountIdT = Aws::String>
75 template<
typename KeyIdT = Aws::String>
76 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet =
true; m_keyId = std::forward<KeyIdT>(value); }
77 template<
typename KeyIdT = Aws::String>
90 template<
typename ArnT = Aws::String>
91 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
92 template<
typename ArnT = Aws::String>
102 template<
typename CreationDateT = Aws::Utils::DateTime>
103 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
104 template<
typename CreationDateT = Aws::Utils::DateTime>
115 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
125 template<
typename DescriptionT = Aws::String>
126 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
127 template<
typename DescriptionT = Aws::String>
168 template<
typename DeletionDateT = Aws::Utils::DateTime>
169 void SetDeletionDate(DeletionDateT&& value) { m_deletionDateHasBeenSet =
true; m_deletionDate = std::forward<DeletionDateT>(value); }
170 template<
typename DeletionDateT = Aws::Utils::DateTime>
185 template<
typename Val
idToT = Aws::Utils::DateTime>
186 void SetValidTo(ValidToT&& value) { m_validToHasBeenSet =
true; m_validTo = std::forward<ValidToT>(value); }
187 template<
typename Val
idToT = Aws::Utils::DateTime>
214 template<
typename CustomKeyStoreIdT = Aws::String>
215 void SetCustomKeyStoreId(CustomKeyStoreIdT&& value) { m_customKeyStoreIdHasBeenSet =
true; m_customKeyStoreId = std::forward<CustomKeyStoreIdT>(value); }
216 template<
typename CustomKeyStoreIdT = Aws::String>
231 template<
typename CloudHsmClusterIdT = Aws::String>
232 void SetCloudHsmClusterId(CloudHsmClusterIdT&& value) { m_cloudHsmClusterIdHasBeenSet =
true; m_cloudHsmClusterId = std::forward<CloudHsmClusterIdT>(value); }
233 template<
typename CloudHsmClusterIdT = Aws::String>
282 template<
typename EncryptionAlgorithmsT = Aws::Vector<EncryptionAlgorithmSpec>>
283 void SetEncryptionAlgorithms(EncryptionAlgorithmsT&& value) { m_encryptionAlgorithmsHasBeenSet =
true; m_encryptionAlgorithms = std::forward<EncryptionAlgorithmsT>(value); }
284 template<
typename EncryptionAlgorithmsT = Aws::Vector<EncryptionAlgorithmSpec>>
297 template<
typename SigningAlgorithmsT = Aws::Vector<SigningAlgorithmSpec>>
298 void SetSigningAlgorithms(SigningAlgorithmsT&& value) { m_signingAlgorithmsHasBeenSet =
true; m_signingAlgorithms = std::forward<SigningAlgorithmsT>(value); }
299 template<
typename SigningAlgorithmsT = Aws::Vector<SigningAlgorithmSpec>>
310 template<
typename KeyAgreementAlgorithmsT = Aws::Vector<KeyAgreementAlgorithmSpec>>
311 void SetKeyAgreementAlgorithms(KeyAgreementAlgorithmsT&& value) { m_keyAgreementAlgorithmsHasBeenSet =
true; m_keyAgreementAlgorithms = std::forward<KeyAgreementAlgorithmsT>(value); }
312 template<
typename KeyAgreementAlgorithmsT = Aws::Vector<KeyAgreementAlgorithmSpec>>
328 inline void SetMultiRegion(
bool value) { m_multiRegionHasBeenSet =
true; m_multiRegion = value; }
347 template<
typename MultiRegionConfigurationT = MultiRegionConfiguration>
348 void SetMultiRegionConfiguration(MultiRegionConfigurationT&& value) { m_multiRegionConfigurationHasBeenSet =
true; m_multiRegionConfiguration = std::forward<MultiRegionConfigurationT>(value); }
349 template<
typename MultiRegionConfigurationT = MultiRegionConfiguration>
384 template<
typename MacAlgorithmsT = Aws::Vector<MacAlgorithmSpec>>
385 void SetMacAlgorithms(MacAlgorithmsT&& value) { m_macAlgorithmsHasBeenSet =
true; m_macAlgorithms = std::forward<MacAlgorithmsT>(value); }
386 template<
typename MacAlgorithmsT = Aws::Vector<MacAlgorithmSpec>>
400 template<
typename XksKeyConfigurationT = XksKeyConfigurationType>
401 void SetXksKeyConfiguration(XksKeyConfigurationT&& value) { m_xksKeyConfigurationHasBeenSet =
true; m_xksKeyConfiguration = std::forward<XksKeyConfigurationT>(value); }
402 template<
typename XksKeyConfigurationT = XksKeyConfigurationType>
417 template<
typename CurrentKeyMaterialIdT = Aws::String>
418 void SetCurrentKeyMaterialId(CurrentKeyMaterialIdT&& value) { m_currentKeyMaterialIdHasBeenSet =
true; m_currentKeyMaterialId = std::forward<CurrentKeyMaterialIdT>(value); }
419 template<
typename CurrentKeyMaterialIdT = Aws::String>
425 bool m_aWSAccountIdHasBeenSet =
false;
428 bool m_keyIdHasBeenSet =
false;
431 bool m_arnHasBeenSet =
false;
434 bool m_creationDateHasBeenSet =
false;
436 bool m_enabled{
false};
437 bool m_enabledHasBeenSet =
false;
440 bool m_descriptionHasBeenSet =
false;
443 bool m_keyUsageHasBeenSet =
false;
446 bool m_keyStateHasBeenSet =
false;
449 bool m_deletionDateHasBeenSet =
false;
452 bool m_validToHasBeenSet =
false;
455 bool m_originHasBeenSet =
false;
458 bool m_customKeyStoreIdHasBeenSet =
false;
461 bool m_cloudHsmClusterIdHasBeenSet =
false;
464 bool m_expirationModelHasBeenSet =
false;
467 bool m_keyManagerHasBeenSet =
false;
470 bool m_keySpecHasBeenSet =
false;
473 bool m_encryptionAlgorithmsHasBeenSet =
false;
476 bool m_signingAlgorithmsHasBeenSet =
false;
479 bool m_keyAgreementAlgorithmsHasBeenSet =
false;
481 bool m_multiRegion{
false};
482 bool m_multiRegionHasBeenSet =
false;
484 MultiRegionConfiguration m_multiRegionConfiguration;
485 bool m_multiRegionConfigurationHasBeenSet =
false;
487 int m_pendingDeletionWindowInDays{0};
488 bool m_pendingDeletionWindowInDaysHasBeenSet =
false;
491 bool m_macAlgorithmsHasBeenSet =
false;
493 XksKeyConfigurationType m_xksKeyConfiguration;
494 bool m_xksKeyConfigurationHasBeenSet =
false;
497 bool m_currentKeyMaterialIdHasBeenSet =
false;
KeyAgreementAlgorithmSpec
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue