/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTSiteWise { namespace Model { class DescribeDefaultEncryptionConfigurationResult { public: AWS_IOTSITEWISE_API DescribeDefaultEncryptionConfigurationResult(); AWS_IOTSITEWISE_API DescribeDefaultEncryptionConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_IOTSITEWISE_API DescribeDefaultEncryptionConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The type of encryption used for the encryption configuration.

*/ inline const EncryptionType& GetEncryptionType() const{ return m_encryptionType; } /** *

The type of encryption used for the encryption configuration.

*/ inline void SetEncryptionType(const EncryptionType& value) { m_encryptionType = value; } /** *

The type of encryption used for the encryption configuration.

*/ inline void SetEncryptionType(EncryptionType&& value) { m_encryptionType = std::move(value); } /** *

The type of encryption used for the encryption configuration.

*/ inline DescribeDefaultEncryptionConfigurationResult& WithEncryptionType(const EncryptionType& value) { SetEncryptionType(value); return *this;} /** *

The type of encryption used for the encryption configuration.

*/ inline DescribeDefaultEncryptionConfigurationResult& WithEncryptionType(EncryptionType&& value) { SetEncryptionType(std::move(value)); return *this;} /** *

The key ARN of the customer managed key used for KMS encryption if you use * KMS_BASED_ENCRYPTION.

*/ inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; } /** *

The key ARN of the customer managed key used for KMS encryption if you use * KMS_BASED_ENCRYPTION.

*/ inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArn = value; } /** *

The key ARN of the customer managed key used for KMS encryption if you use * KMS_BASED_ENCRYPTION.

*/ inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArn = std::move(value); } /** *

The key ARN of the customer managed key used for KMS encryption if you use * KMS_BASED_ENCRYPTION.

*/ inline void SetKmsKeyArn(const char* value) { m_kmsKeyArn.assign(value); } /** *

The key ARN of the customer managed key used for KMS encryption if you use * KMS_BASED_ENCRYPTION.

*/ inline DescribeDefaultEncryptionConfigurationResult& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;} /** *

The key ARN of the customer managed key used for KMS encryption if you use * KMS_BASED_ENCRYPTION.

*/ inline DescribeDefaultEncryptionConfigurationResult& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;} /** *

The key ARN of the customer managed key used for KMS encryption if you use * KMS_BASED_ENCRYPTION.

*/ inline DescribeDefaultEncryptionConfigurationResult& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} /** *

The status of the account configuration. This contains the * ConfigurationState. If there's an error, it also contains the * ErrorDetails.

*/ inline const ConfigurationStatus& GetConfigurationStatus() const{ return m_configurationStatus; } /** *

The status of the account configuration. This contains the * ConfigurationState. If there's an error, it also contains the * ErrorDetails.

*/ inline void SetConfigurationStatus(const ConfigurationStatus& value) { m_configurationStatus = value; } /** *

The status of the account configuration. This contains the * ConfigurationState. If there's an error, it also contains the * ErrorDetails.

*/ inline void SetConfigurationStatus(ConfigurationStatus&& value) { m_configurationStatus = std::move(value); } /** *

The status of the account configuration. This contains the * ConfigurationState. If there's an error, it also contains the * ErrorDetails.

*/ inline DescribeDefaultEncryptionConfigurationResult& WithConfigurationStatus(const ConfigurationStatus& value) { SetConfigurationStatus(value); return *this;} /** *

The status of the account configuration. This contains the * ConfigurationState. If there's an error, it also contains the * ErrorDetails.

*/ inline DescribeDefaultEncryptionConfigurationResult& WithConfigurationStatus(ConfigurationStatus&& value) { SetConfigurationStatus(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeDefaultEncryptionConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeDefaultEncryptionConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeDefaultEncryptionConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: EncryptionType m_encryptionType; Aws::String m_kmsKeyArn; ConfigurationStatus m_configurationStatus; Aws::String m_requestId; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws