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

The new encryption configuration.

*/ inline const EncryptionConfig& GetEncryptionConfig() const{ return m_encryptionConfig; } /** *

The new encryption configuration.

*/ inline void SetEncryptionConfig(const EncryptionConfig& value) { m_encryptionConfig = value; } /** *

The new encryption configuration.

*/ inline void SetEncryptionConfig(EncryptionConfig&& value) { m_encryptionConfig = std::move(value); } /** *

The new encryption configuration.

*/ inline PutEncryptionConfigResult& WithEncryptionConfig(const EncryptionConfig& value) { SetEncryptionConfig(value); return *this;} /** *

The new encryption configuration.

*/ inline PutEncryptionConfigResult& WithEncryptionConfig(EncryptionConfig&& value) { SetEncryptionConfig(std::move(value)); return *this;} private: EncryptionConfig m_encryptionConfig; }; } // namespace Model } // namespace XRay } // namespace Aws