/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies how a streaming image is encrypted.See Also:
AWS
* API Reference
The ARN for a KMS key that is used to encrypt studio data.
*/ inline const Aws::String& GetKeyArn() const{ return m_keyArn; } /** *The ARN for a KMS key that is used to encrypt studio data.
*/ inline bool KeyArnHasBeenSet() const { return m_keyArnHasBeenSet; } /** *The ARN for a KMS key that is used to encrypt studio data.
*/ inline void SetKeyArn(const Aws::String& value) { m_keyArnHasBeenSet = true; m_keyArn = value; } /** *The ARN for a KMS key that is used to encrypt studio data.
*/ inline void SetKeyArn(Aws::String&& value) { m_keyArnHasBeenSet = true; m_keyArn = std::move(value); } /** *The ARN for a KMS key that is used to encrypt studio data.
*/ inline void SetKeyArn(const char* value) { m_keyArnHasBeenSet = true; m_keyArn.assign(value); } /** *The ARN for a KMS key that is used to encrypt studio data.
*/ inline StreamingImageEncryptionConfiguration& WithKeyArn(const Aws::String& value) { SetKeyArn(value); return *this;} /** *The ARN for a KMS key that is used to encrypt studio data.
*/ inline StreamingImageEncryptionConfiguration& WithKeyArn(Aws::String&& value) { SetKeyArn(std::move(value)); return *this;} /** *The ARN for a KMS key that is used to encrypt studio data.
*/ inline StreamingImageEncryptionConfiguration& WithKeyArn(const char* value) { SetKeyArn(value); return *this;} /** *The type of KMS key that is used to encrypt studio data.
*/ inline const StreamingImageEncryptionConfigurationKeyType& GetKeyType() const{ return m_keyType; } /** *The type of KMS key that is used to encrypt studio data.
*/ inline bool KeyTypeHasBeenSet() const { return m_keyTypeHasBeenSet; } /** *The type of KMS key that is used to encrypt studio data.
*/ inline void SetKeyType(const StreamingImageEncryptionConfigurationKeyType& value) { m_keyTypeHasBeenSet = true; m_keyType = value; } /** *The type of KMS key that is used to encrypt studio data.
*/ inline void SetKeyType(StreamingImageEncryptionConfigurationKeyType&& value) { m_keyTypeHasBeenSet = true; m_keyType = std::move(value); } /** *The type of KMS key that is used to encrypt studio data.
*/ inline StreamingImageEncryptionConfiguration& WithKeyType(const StreamingImageEncryptionConfigurationKeyType& value) { SetKeyType(value); return *this;} /** *The type of KMS key that is used to encrypt studio data.
*/ inline StreamingImageEncryptionConfiguration& WithKeyType(StreamingImageEncryptionConfigurationKeyType&& value) { SetKeyType(std::move(value)); return *this;} private: Aws::String m_keyArn; bool m_keyArnHasBeenSet = false; StreamingImageEncryptionConfigurationKeyType m_keyType; bool m_keyTypeHasBeenSet = false; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws