/** * 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 AccessAnalyzer { namespace Model { /** *

The response to the request to create an analyzer.

See Also:

* AWS * API Reference

*/ class AWS_ACCESSANALYZER_API CreateAnalyzerResult { public: CreateAnalyzerResult(); CreateAnalyzerResult(const Aws::AmazonWebServiceResult& result); CreateAnalyzerResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the analyzer that was created by the request.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The ARN of the analyzer that was created by the request.

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

The ARN of the analyzer that was created by the request.

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

The ARN of the analyzer that was created by the request.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The ARN of the analyzer that was created by the request.

*/ inline CreateAnalyzerResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The ARN of the analyzer that was created by the request.

*/ inline CreateAnalyzerResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The ARN of the analyzer that was created by the request.

*/ inline CreateAnalyzerResult& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_arn; }; } // namespace Model } // namespace AccessAnalyzer } // namespace Aws