7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/connectcampaignsv2/model/EncryptionType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ConnectCampaignsV2
48 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
64 template<
typename KeyArnT = Aws::String>
65 void SetKeyArn(KeyArnT&& value) { m_keyArnHasBeenSet =
true; m_keyArn = std::forward<KeyArnT>(value); }
66 template<
typename KeyArnT = Aws::String>
71 bool m_enabled{
false};
72 bool m_enabledHasBeenSet =
false;
75 bool m_encryptionTypeHasBeenSet =
false;
78 bool m_keyArnHasBeenSet =
false;
bool KeyArnHasBeenSet() const
const Aws::String & GetKeyArn() const
EncryptionConfig & WithEncryptionType(EncryptionType value)
EncryptionConfig & WithKeyArn(KeyArnT &&value)
void SetKeyArn(KeyArnT &&value)
AWS_CONNECTCAMPAIGNSV2_API EncryptionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
EncryptionType GetEncryptionType() const
AWS_CONNECTCAMPAIGNSV2_API EncryptionConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNSV2_API EncryptionConfig()=default
bool EnabledHasBeenSet() const
void SetEncryptionType(EncryptionType value)
void SetEnabled(bool value)
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
EncryptionConfig & WithEnabled(bool value)
bool EncryptionTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue