/** * 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 AWS_SECURITYHUB_API CreateInsightResult { public: CreateInsightResult(); CreateInsightResult(const Aws::AmazonWebServiceResult& result); 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;} private: Aws::String m_insightArn; }; } // namespace Model } // namespace SecurityHub } // namespace Aws