AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AntipatternReportResult.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/migrationhubstrategy/model/AnalyzerNameUnion.h>
9#include <aws/migrationhubstrategy/model/S3Object.h>
10#include <aws/migrationhubstrategy/model/AntipatternReportStatus.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MigrationHubStrategyRecommendations
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AntipatternReportResult();
38 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AntipatternReportResult(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AntipatternReportResult& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const AnalyzerNameUnion& GetAnalyzerName() const{ return m_analyzerName; }
48 inline bool AnalyzerNameHasBeenSet() const { return m_analyzerNameHasBeenSet; }
49 inline void SetAnalyzerName(const AnalyzerNameUnion& value) { m_analyzerNameHasBeenSet = true; m_analyzerName = value; }
50 inline void SetAnalyzerName(AnalyzerNameUnion&& value) { m_analyzerNameHasBeenSet = true; m_analyzerName = std::move(value); }
51 inline AntipatternReportResult& WithAnalyzerName(const AnalyzerNameUnion& value) { SetAnalyzerName(value); return *this;}
52 inline AntipatternReportResult& WithAnalyzerName(AnalyzerNameUnion&& value) { SetAnalyzerName(std::move(value)); return *this;}
54
56
57 inline const S3Object& GetAntiPatternReportS3Object() const{ return m_antiPatternReportS3Object; }
58 inline bool AntiPatternReportS3ObjectHasBeenSet() const { return m_antiPatternReportS3ObjectHasBeenSet; }
59 inline void SetAntiPatternReportS3Object(const S3Object& value) { m_antiPatternReportS3ObjectHasBeenSet = true; m_antiPatternReportS3Object = value; }
60 inline void SetAntiPatternReportS3Object(S3Object&& value) { m_antiPatternReportS3ObjectHasBeenSet = true; m_antiPatternReportS3Object = std::move(value); }
64
66
69 inline const AntipatternReportStatus& GetAntipatternReportStatus() const{ return m_antipatternReportStatus; }
70 inline bool AntipatternReportStatusHasBeenSet() const { return m_antipatternReportStatusHasBeenSet; }
71 inline void SetAntipatternReportStatus(const AntipatternReportStatus& value) { m_antipatternReportStatusHasBeenSet = true; m_antipatternReportStatus = value; }
72 inline void SetAntipatternReportStatus(AntipatternReportStatus&& value) { m_antipatternReportStatusHasBeenSet = true; m_antipatternReportStatus = std::move(value); }
76
78
81 inline const Aws::String& GetAntipatternReportStatusMessage() const{ return m_antipatternReportStatusMessage; }
82 inline bool AntipatternReportStatusMessageHasBeenSet() const { return m_antipatternReportStatusMessageHasBeenSet; }
83 inline void SetAntipatternReportStatusMessage(const Aws::String& value) { m_antipatternReportStatusMessageHasBeenSet = true; m_antipatternReportStatusMessage = value; }
84 inline void SetAntipatternReportStatusMessage(Aws::String&& value) { m_antipatternReportStatusMessageHasBeenSet = true; m_antipatternReportStatusMessage = std::move(value); }
85 inline void SetAntipatternReportStatusMessage(const char* value) { m_antipatternReportStatusMessageHasBeenSet = true; m_antipatternReportStatusMessage.assign(value); }
90 private:
91
92 AnalyzerNameUnion m_analyzerName;
93 bool m_analyzerNameHasBeenSet = false;
94
95 S3Object m_antiPatternReportS3Object;
96 bool m_antiPatternReportS3ObjectHasBeenSet = false;
97
98 AntipatternReportStatus m_antipatternReportStatus;
99 bool m_antipatternReportStatusHasBeenSet = false;
100
101 Aws::String m_antipatternReportStatusMessage;
102 bool m_antipatternReportStatusMessageHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace MigrationHubStrategyRecommendations
107} // namespace Aws
AntipatternReportResult & WithAntipatternReportStatusMessage(Aws::String &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AntipatternReportResult()
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AntipatternReportResult(Aws::Utils::Json::JsonView jsonValue)
AntipatternReportResult & WithAntipatternReportStatus(AntipatternReportStatus &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AntipatternReportResult & WithAntipatternReportStatus(const AntipatternReportStatus &value)
AntipatternReportResult & WithAntiPatternReportS3Object(const S3Object &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AntipatternReportResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AntipatternReportResult & WithAnalyzerName(const AnalyzerNameUnion &value)
AntipatternReportResult & WithAnalyzerName(AnalyzerNameUnion &&value)
AntipatternReportResult & WithAntipatternReportStatusMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue