7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Array.h>
10#include <aws/kms/model/KeySpec.h>
11#include <aws/kms/model/KeyUsageType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/kms/model/EncryptionAlgorithmSpec.h>
14#include <aws/kms/model/SigningAlgorithmSpec.h>
15#include <aws/kms/model/KeyAgreementAlgorithmSpec.h>
20template<
typename RESULT_TYPE>
21class AmazonWebServiceResult;
49 template<
typename KeyIdT = Aws::String>
50 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet =
true; m_keyId = std::forward<KeyIdT>(value); }
51 template<
typename KeyIdT = Aws::String>
64 template<
typename PublicKeyT = Aws::Utils::ByteBuffer>
65 void SetPublicKey(PublicKeyT&& value) { m_publicKeyHasBeenSet =
true; m_publicKey = std::forward<PublicKeyT>(value); }
66 template<
typename PublicKeyT = Aws::Utils::ByteBuffer>
101 template<
typename EncryptionAlgorithmsT = Aws::Vector<EncryptionAlgorithmSpec>>
102 void SetEncryptionAlgorithms(EncryptionAlgorithmsT&& value) { m_encryptionAlgorithmsHasBeenSet =
true; m_encryptionAlgorithms = std::forward<EncryptionAlgorithmsT>(value); }
103 template<
typename EncryptionAlgorithmsT = Aws::Vector<EncryptionAlgorithmSpec>>
115 template<
typename SigningAlgorithmsT = Aws::Vector<SigningAlgorithmSpec>>
116 void SetSigningAlgorithms(SigningAlgorithmsT&& value) { m_signingAlgorithmsHasBeenSet =
true; m_signingAlgorithms = std::forward<SigningAlgorithmsT>(value); }
117 template<
typename SigningAlgorithmsT = Aws::Vector<SigningAlgorithmSpec>>
129 template<
typename KeyAgreementAlgorithmsT = Aws::Vector<KeyAgreementAlgorithmSpec>>
130 void SetKeyAgreementAlgorithms(KeyAgreementAlgorithmsT&& value) { m_keyAgreementAlgorithmsHasBeenSet =
true; m_keyAgreementAlgorithms = std::forward<KeyAgreementAlgorithmsT>(value); }
131 template<
typename KeyAgreementAlgorithmsT = Aws::Vector<KeyAgreementAlgorithmSpec>>
139 template<
typename RequestIdT = Aws::String>
140 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
141 template<
typename RequestIdT = Aws::String>
147 bool m_keyIdHasBeenSet =
false;
150 bool m_publicKeyHasBeenSet =
false;
153 bool m_keySpecHasBeenSet =
false;
156 bool m_keyUsageHasBeenSet =
false;
159 bool m_encryptionAlgorithmsHasBeenSet =
false;
162 bool m_signingAlgorithmsHasBeenSet =
false;
165 bool m_keyAgreementAlgorithmsHasBeenSet =
false;
168 bool m_requestIdHasBeenSet =
false;
GetPublicKeyResult & WithPublicKey(PublicKeyT &&value)
GetPublicKeyResult & WithKeyUsage(KeyUsageType value)
void SetKeySpec(KeySpec value)
KeySpec GetKeySpec() const
void SetKeyUsage(KeyUsageType value)
AWS_KMS_API GetPublicKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KMS_API GetPublicKeyResult()=default
void SetPublicKey(PublicKeyT &&value)
GetPublicKeyResult & AddEncryptionAlgorithms(EncryptionAlgorithmSpec value)
void SetKeyId(KeyIdT &&value)
GetPublicKeyResult & WithKeyId(KeyIdT &&value)
void SetKeyAgreementAlgorithms(KeyAgreementAlgorithmsT &&value)
GetPublicKeyResult & WithRequestId(RequestIdT &&value)
GetPublicKeyResult & WithKeyAgreementAlgorithms(KeyAgreementAlgorithmsT &&value)
const Aws::Utils::ByteBuffer & GetPublicKey() const
GetPublicKeyResult & WithSigningAlgorithms(SigningAlgorithmsT &&value)
GetPublicKeyResult & WithKeySpec(KeySpec value)
void SetSigningAlgorithms(SigningAlgorithmsT &&value)
GetPublicKeyResult & WithEncryptionAlgorithms(EncryptionAlgorithmsT &&value)
void SetEncryptionAlgorithms(EncryptionAlgorithmsT &&value)
KeyUsageType GetKeyUsage() const
const Aws::Vector< KeyAgreementAlgorithmSpec > & GetKeyAgreementAlgorithms() const
const Aws::String & GetKeyId() const
GetPublicKeyResult & AddSigningAlgorithms(SigningAlgorithmSpec value)
const Aws::Vector< EncryptionAlgorithmSpec > & GetEncryptionAlgorithms() const
GetPublicKeyResult & AddKeyAgreementAlgorithms(KeyAgreementAlgorithmSpec value)
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
const Aws::Vector< SigningAlgorithmSpec > & GetSigningAlgorithms() const
AWS_KMS_API GetPublicKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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