/** * 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 Inspector2 { namespace Model { class GetEncryptionKeyResult { public: AWS_INSPECTOR2_API GetEncryptionKeyResult(); AWS_INSPECTOR2_API GetEncryptionKeyResult(const Aws::AmazonWebServiceResult& result); AWS_INSPECTOR2_API GetEncryptionKeyResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A kms key ID.

*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *

A kms key ID.

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

A kms key ID.

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

A kms key ID.

*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); } /** *

A kms key ID.

*/ inline GetEncryptionKeyResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *

A kms key ID.

*/ inline GetEncryptionKeyResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *

A kms key ID.

*/ inline GetEncryptionKeyResult& WithKmsKeyId(const char* value) { SetKmsKeyId(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 GetEncryptionKeyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetEncryptionKeyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetEncryptionKeyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_kmsKeyId; Aws::String m_requestId; }; } // namespace Model } // namespace Inspector2 } // namespace Aws