AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
ProviderEncryptionConfiguration.h
1
6#pragma once
7#include <aws/credentialbroker-control/CredentialBrokerControl_EXPORTS.h>
8#include <aws/credentialbroker-control/model/CustomerManagedEncryption.h>
9#include <aws/credentialbroker-control/model/Unit.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CredentialBrokerControl {
21namespace Model {
22
32 public:
33 AWS_CREDENTIALBROKERCONTROL_API ProviderEncryptionConfiguration() = default;
34 AWS_CREDENTIALBROKERCONTROL_API ProviderEncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CREDENTIALBROKERCONTROL_API ProviderEncryptionConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CREDENTIALBROKERCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const CustomerManagedEncryption& GetCustomerManaged() const { return m_customerManaged; }
45 inline bool CustomerManagedHasBeenSet() const { return m_customerManagedHasBeenSet; }
46 template <typename CustomerManagedT = CustomerManagedEncryption>
47 void SetCustomerManaged(CustomerManagedT&& value) {
48 m_customerManagedHasBeenSet = true;
49 m_customerManaged = std::forward<CustomerManagedT>(value);
50 }
51 template <typename CustomerManagedT = CustomerManagedEncryption>
53 SetCustomerManaged(std::forward<CustomerManagedT>(value));
54 return *this;
55 }
57
59
62 inline const Unit& GetInheritFromPool() const { return m_inheritFromPool; }
63 inline bool InheritFromPoolHasBeenSet() const { return m_inheritFromPoolHasBeenSet; }
64 template <typename InheritFromPoolT = Unit>
65 void SetInheritFromPool(InheritFromPoolT&& value) {
66 m_inheritFromPoolHasBeenSet = true;
67 m_inheritFromPool = std::forward<InheritFromPoolT>(value);
68 }
69 template <typename InheritFromPoolT = Unit>
71 SetInheritFromPool(std::forward<InheritFromPoolT>(value));
72 return *this;
73 }
75 private:
76 CustomerManagedEncryption m_customerManaged;
77
78 Unit m_inheritFromPool;
79 bool m_customerManagedHasBeenSet = false;
80 bool m_inheritFromPoolHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace CredentialBrokerControl
85} // namespace Aws
ProviderEncryptionConfiguration & WithInheritFromPool(InheritFromPoolT &&value)
AWS_CREDENTIALBROKERCONTROL_API ProviderEncryptionConfiguration()=default
ProviderEncryptionConfiguration & WithCustomerManaged(CustomerManagedT &&value)
AWS_CREDENTIALBROKERCONTROL_API ProviderEncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CREDENTIALBROKERCONTROL_API ProviderEncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CREDENTIALBROKERCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue