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

An EncryptionConfig object that contains the KMS key ARN to use * for encryption.

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

An EncryptionConfig object that contains the KMS key ARN to use * for encryption.

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

An EncryptionConfig object that contains the KMS key ARN to use * for encryption.

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

An EncryptionConfig object that contains the KMS key ARN to use * for encryption.

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

An EncryptionConfig object that contains the KMS key ARN to use * for encryption.

*/ inline UpdateAccountConfigurationResult& WithEncryptionConfig(EncryptionConfig&& value) { SetEncryptionConfig(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 UpdateAccountConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateAccountConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateAccountConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: EncryptionConfig m_encryptionConfig; Aws::String m_requestId; }; } // namespace Model } // namespace CodeGuruSecurity } // namespace Aws