AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
CustomerManagedEncryption.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/credentialbroker-control/CredentialBrokerControl_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CredentialBrokerControl {
20namespace Model {
21
29 public:
30 AWS_CREDENTIALBROKERCONTROL_API CustomerManagedEncryption() = default;
31 AWS_CREDENTIALBROKERCONTROL_API CustomerManagedEncryption(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CREDENTIALBROKERCONTROL_API CustomerManagedEncryption& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CREDENTIALBROKERCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
48 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
49 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
50 template <typename KmsKeyIdentifierT = Aws::String>
51 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
52 m_kmsKeyIdentifierHasBeenSet = true;
53 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
54 }
55 template <typename KmsKeyIdentifierT = Aws::String>
56 CustomerManagedEncryption& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
57 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
58 return *this;
59 }
61 private:
62 Aws::String m_kmsKeyIdentifier;
63 bool m_kmsKeyIdentifierHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace CredentialBrokerControl
68} // namespace Aws
AWS_CREDENTIALBROKERCONTROL_API CustomerManagedEncryption(Aws::Utils::Json::JsonView jsonValue)
CustomerManagedEncryption & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
AWS_CREDENTIALBROKERCONTROL_API CustomerManagedEncryption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CREDENTIALBROKERCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CREDENTIALBROKERCONTROL_API CustomerManagedEncryption()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue