/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MigrationHubStrategyRecommendations { namespace Model { /** *

The anti-pattern report result.

See Also:

AWS * API Reference

*/ class AntipatternReportResult { public: AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AntipatternReportResult(); AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AntipatternReportResult(Aws::Utils::Json::JsonView jsonValue); AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AntipatternReportResult& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The analyzer name.

*/ inline const AnalyzerNameUnion& GetAnalyzerName() const{ return m_analyzerName; } /** *

The analyzer name.

*/ inline bool AnalyzerNameHasBeenSet() const { return m_analyzerNameHasBeenSet; } /** *

The analyzer name.

*/ inline void SetAnalyzerName(const AnalyzerNameUnion& value) { m_analyzerNameHasBeenSet = true; m_analyzerName = value; } /** *

The analyzer name.

*/ inline void SetAnalyzerName(AnalyzerNameUnion&& value) { m_analyzerNameHasBeenSet = true; m_analyzerName = std::move(value); } /** *

The analyzer name.

*/ inline AntipatternReportResult& WithAnalyzerName(const AnalyzerNameUnion& value) { SetAnalyzerName(value); return *this;} /** *

The analyzer name.

*/ inline AntipatternReportResult& WithAnalyzerName(AnalyzerNameUnion&& value) { SetAnalyzerName(std::move(value)); return *this;} inline const S3Object& GetAntiPatternReportS3Object() const{ return m_antiPatternReportS3Object; } inline bool AntiPatternReportS3ObjectHasBeenSet() const { return m_antiPatternReportS3ObjectHasBeenSet; } inline void SetAntiPatternReportS3Object(const S3Object& value) { m_antiPatternReportS3ObjectHasBeenSet = true; m_antiPatternReportS3Object = value; } inline void SetAntiPatternReportS3Object(S3Object&& value) { m_antiPatternReportS3ObjectHasBeenSet = true; m_antiPatternReportS3Object = std::move(value); } inline AntipatternReportResult& WithAntiPatternReportS3Object(const S3Object& value) { SetAntiPatternReportS3Object(value); return *this;} inline AntipatternReportResult& WithAntiPatternReportS3Object(S3Object&& value) { SetAntiPatternReportS3Object(std::move(value)); return *this;} /** *

The status of the anti-pattern report generation.

*/ inline const AntipatternReportStatus& GetAntipatternReportStatus() const{ return m_antipatternReportStatus; } /** *

The status of the anti-pattern report generation.

*/ inline bool AntipatternReportStatusHasBeenSet() const { return m_antipatternReportStatusHasBeenSet; } /** *

The status of the anti-pattern report generation.

*/ inline void SetAntipatternReportStatus(const AntipatternReportStatus& value) { m_antipatternReportStatusHasBeenSet = true; m_antipatternReportStatus = value; } /** *

The status of the anti-pattern report generation.

*/ inline void SetAntipatternReportStatus(AntipatternReportStatus&& value) { m_antipatternReportStatusHasBeenSet = true; m_antipatternReportStatus = std::move(value); } /** *

The status of the anti-pattern report generation.

*/ inline AntipatternReportResult& WithAntipatternReportStatus(const AntipatternReportStatus& value) { SetAntipatternReportStatus(value); return *this;} /** *

The status of the anti-pattern report generation.

*/ inline AntipatternReportResult& WithAntipatternReportStatus(AntipatternReportStatus&& value) { SetAntipatternReportStatus(std::move(value)); return *this;} /** *

The status message for the anti-pattern.

*/ inline const Aws::String& GetAntipatternReportStatusMessage() const{ return m_antipatternReportStatusMessage; } /** *

The status message for the anti-pattern.

*/ inline bool AntipatternReportStatusMessageHasBeenSet() const { return m_antipatternReportStatusMessageHasBeenSet; } /** *

The status message for the anti-pattern.

*/ inline void SetAntipatternReportStatusMessage(const Aws::String& value) { m_antipatternReportStatusMessageHasBeenSet = true; m_antipatternReportStatusMessage = value; } /** *

The status message for the anti-pattern.

*/ inline void SetAntipatternReportStatusMessage(Aws::String&& value) { m_antipatternReportStatusMessageHasBeenSet = true; m_antipatternReportStatusMessage = std::move(value); } /** *

The status message for the anti-pattern.

*/ inline void SetAntipatternReportStatusMessage(const char* value) { m_antipatternReportStatusMessageHasBeenSet = true; m_antipatternReportStatusMessage.assign(value); } /** *

The status message for the anti-pattern.

*/ inline AntipatternReportResult& WithAntipatternReportStatusMessage(const Aws::String& value) { SetAntipatternReportStatusMessage(value); return *this;} /** *

The status message for the anti-pattern.

*/ inline AntipatternReportResult& WithAntipatternReportStatusMessage(Aws::String&& value) { SetAntipatternReportStatusMessage(std::move(value)); return *this;} /** *

The status message for the anti-pattern.

*/ inline AntipatternReportResult& WithAntipatternReportStatusMessage(const char* value) { SetAntipatternReportStatusMessage(value); return *this;} private: AnalyzerNameUnion m_analyzerName; bool m_analyzerNameHasBeenSet = false; S3Object m_antiPatternReportS3Object; bool m_antiPatternReportS3ObjectHasBeenSet = false; AntipatternReportStatus m_antipatternReportStatus; bool m_antipatternReportStatusHasBeenSet = false; Aws::String m_antipatternReportStatusMessage; bool m_antipatternReportStatusMessageHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubStrategyRecommendations } // namespace Aws