1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/xray/XRay_EXPORTS.h> 8 #include <aws/xray/model/EncryptionConfig.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 template<typename RESULT_TYPE> 14 class AmazonWebServiceResult; 15 16 namespace Utils 17 { 18 namespace Json 19 { 20 class JsonValue; 21 } // namespace Json 22 } // namespace Utils 23 namespace XRay 24 { 25 namespace Model 26 { 27 class AWS_XRAY_API GetEncryptionConfigResult 28 { 29 public: 30 GetEncryptionConfigResult(); 31 GetEncryptionConfigResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 GetEncryptionConfigResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * <p>The encryption configuration document.</p> 37 */ GetEncryptionConfig()38 inline const EncryptionConfig& GetEncryptionConfig() const{ return m_encryptionConfig; } 39 40 /** 41 * <p>The encryption configuration document.</p> 42 */ SetEncryptionConfig(const EncryptionConfig & value)43 inline void SetEncryptionConfig(const EncryptionConfig& value) { m_encryptionConfig = value; } 44 45 /** 46 * <p>The encryption configuration document.</p> 47 */ SetEncryptionConfig(EncryptionConfig && value)48 inline void SetEncryptionConfig(EncryptionConfig&& value) { m_encryptionConfig = std::move(value); } 49 50 /** 51 * <p>The encryption configuration document.</p> 52 */ WithEncryptionConfig(const EncryptionConfig & value)53 inline GetEncryptionConfigResult& WithEncryptionConfig(const EncryptionConfig& value) { SetEncryptionConfig(value); return *this;} 54 55 /** 56 * <p>The encryption configuration document.</p> 57 */ WithEncryptionConfig(EncryptionConfig && value)58 inline GetEncryptionConfigResult& WithEncryptionConfig(EncryptionConfig&& value) { SetEncryptionConfig(std::move(value)); return *this;} 59 60 private: 61 62 EncryptionConfig m_encryptionConfig; 63 }; 64 65 } // namespace Model 66 } // namespace XRay 67 } // namespace Aws 68