AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename AnalyzerNameT = AnalyzerNameUnion>
50 void SetAnalyzerName(AnalyzerNameT&& value) { m_analyzerNameHasBeenSet = true; m_analyzerName = std::forward<AnalyzerNameT>(value); }
51 template<typename AnalyzerNameT = AnalyzerNameUnion>
52 AntipatternReportResult& WithAnalyzerName(AnalyzerNameT&& value) { SetAnalyzerName(std::forward<AnalyzerNameT>(value)); return *this;}
54
56
57 inline const S3Object& GetAntiPatternReportS3Object() const { return m_antiPatternReportS3Object; }
58 inline bool AntiPatternReportS3ObjectHasBeenSet() const { return m_antiPatternReportS3ObjectHasBeenSet; }
59 template<typename AntiPatternReportS3ObjectT = S3Object>
60 void SetAntiPatternReportS3Object(AntiPatternReportS3ObjectT&& value) { m_antiPatternReportS3ObjectHasBeenSet = true; m_antiPatternReportS3Object = std::forward<AntiPatternReportS3ObjectT>(value); }
61 template<typename AntiPatternReportS3ObjectT = S3Object>
62 AntipatternReportResult& WithAntiPatternReportS3Object(AntiPatternReportS3ObjectT&& value) { SetAntiPatternReportS3Object(std::forward<AntiPatternReportS3ObjectT>(value)); return *this;}
64
66
69 inline AntipatternReportStatus GetAntipatternReportStatus() const { return m_antipatternReportStatus; }
70 inline bool AntipatternReportStatusHasBeenSet() const { return m_antipatternReportStatusHasBeenSet; }
71 inline void SetAntipatternReportStatus(AntipatternReportStatus value) { m_antipatternReportStatusHasBeenSet = true; m_antipatternReportStatus = value; }
74
76
79 inline const Aws::String& GetAntipatternReportStatusMessage() const { return m_antipatternReportStatusMessage; }
80 inline bool AntipatternReportStatusMessageHasBeenSet() const { return m_antipatternReportStatusMessageHasBeenSet; }
81 template<typename AntipatternReportStatusMessageT = Aws::String>
82 void SetAntipatternReportStatusMessage(AntipatternReportStatusMessageT&& value) { m_antipatternReportStatusMessageHasBeenSet = true; m_antipatternReportStatusMessage = std::forward<AntipatternReportStatusMessageT>(value); }
83 template<typename AntipatternReportStatusMessageT = Aws::String>
84 AntipatternReportResult& WithAntipatternReportStatusMessage(AntipatternReportStatusMessageT&& value) { SetAntipatternReportStatusMessage(std::forward<AntipatternReportStatusMessageT>(value)); return *this;}
86 private:
87
88 AnalyzerNameUnion m_analyzerName;
89 bool m_analyzerNameHasBeenSet = false;
90
91 S3Object m_antiPatternReportS3Object;
92 bool m_antiPatternReportS3ObjectHasBeenSet = false;
93
95 bool m_antipatternReportStatusHasBeenSet = false;
96
97 Aws::String m_antipatternReportStatusMessage;
98 bool m_antipatternReportStatusMessageHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace MigrationHubStrategyRecommendations
103} // namespace Aws
AntipatternReportResult & WithAntipatternReportStatus(AntipatternReportStatus value)
AntipatternReportResult & WithAntipatternReportStatusMessage(AntipatternReportStatusMessageT &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AntipatternReportResult(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AntipatternReportResult()=default
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AntipatternReportResult & WithAntiPatternReportS3Object(AntiPatternReportS3ObjectT &&value)
void SetAntipatternReportStatusMessage(AntipatternReportStatusMessageT &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AntipatternReportResult & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue