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

The ARN of the insight created.

*/ inline const Aws::String& GetInsightArn() const{ return m_insightArn; } /** *

The ARN of the insight created.

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

The ARN of the insight created.

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

The ARN of the insight created.

*/ inline void SetInsightArn(const char* value) { m_insightArn.assign(value); } /** *

The ARN of the insight created.

*/ inline CreateInsightResult& WithInsightArn(const Aws::String& value) { SetInsightArn(value); return *this;} /** *

The ARN of the insight created.

*/ inline CreateInsightResult& WithInsightArn(Aws::String&& value) { SetInsightArn(std::move(value)); return *this;} /** *

The ARN of the insight created.

*/ inline CreateInsightResult& WithInsightArn(const char* value) { SetInsightArn(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 CreateInsightResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateInsightResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateInsightResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_insightArn; Aws::String m_requestId; }; } // namespace Model } // namespace SecurityHub } // namespace Aws