AWS SDK for C++

AWS SDK for C++ Version 1.11.770

Loading...
Searching...
No Matches
NetworkMigrationAnalysisResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mgn/Mgn_EXPORTS.h>
9#include <aws/mgn/model/AnalyzerType.h>
10#include <aws/mgn/model/NetworkMigrationAnalysisResultSource.h>
11#include <aws/mgn/model/NetworkMigrationAnalysisResultStatus.h>
12#include <aws/mgn/model/NetworkMigrationAnalysisResultTarget.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace mgn {
24namespace Model {
25
33 public:
34 AWS_MGN_API NetworkMigrationAnalysisResult() = default;
38
40
43 inline const Aws::String& GetJobID() const { return m_jobID; }
44 inline bool JobIDHasBeenSet() const { return m_jobIDHasBeenSet; }
45 template <typename JobIDT = Aws::String>
46 void SetJobID(JobIDT&& value) {
47 m_jobIDHasBeenSet = true;
48 m_jobID = std::forward<JobIDT>(value);
49 }
50 template <typename JobIDT = Aws::String>
52 SetJobID(std::forward<JobIDT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetNetworkMigrationExecutionID() const { return m_networkMigrationExecutionID; }
62 inline bool NetworkMigrationExecutionIDHasBeenSet() const { return m_networkMigrationExecutionIDHasBeenSet; }
63 template <typename NetworkMigrationExecutionIDT = Aws::String>
64 void SetNetworkMigrationExecutionID(NetworkMigrationExecutionIDT&& value) {
65 m_networkMigrationExecutionIDHasBeenSet = true;
66 m_networkMigrationExecutionID = std::forward<NetworkMigrationExecutionIDT>(value);
67 }
68 template <typename NetworkMigrationExecutionIDT = Aws::String>
69 NetworkMigrationAnalysisResult& WithNetworkMigrationExecutionID(NetworkMigrationExecutionIDT&& value) {
70 SetNetworkMigrationExecutionID(std::forward<NetworkMigrationExecutionIDT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetNetworkMigrationDefinitionID() const { return m_networkMigrationDefinitionID; }
80 inline bool NetworkMigrationDefinitionIDHasBeenSet() const { return m_networkMigrationDefinitionIDHasBeenSet; }
81 template <typename NetworkMigrationDefinitionIDT = Aws::String>
82 void SetNetworkMigrationDefinitionID(NetworkMigrationDefinitionIDT&& value) {
83 m_networkMigrationDefinitionIDHasBeenSet = true;
84 m_networkMigrationDefinitionID = std::forward<NetworkMigrationDefinitionIDT>(value);
85 }
86 template <typename NetworkMigrationDefinitionIDT = Aws::String>
87 NetworkMigrationAnalysisResult& WithNetworkMigrationDefinitionID(NetworkMigrationDefinitionIDT&& value) {
88 SetNetworkMigrationDefinitionID(std::forward<NetworkMigrationDefinitionIDT>(value));
89 return *this;
90 }
92
94
97 inline AnalyzerType GetAnalyzerType() const { return m_analyzerType; }
98 inline bool AnalyzerTypeHasBeenSet() const { return m_analyzerTypeHasBeenSet; }
99 inline void SetAnalyzerType(AnalyzerType value) {
100 m_analyzerTypeHasBeenSet = true;
101 m_analyzerType = value;
102 }
104 SetAnalyzerType(value);
105 return *this;
106 }
108
110
113 inline const NetworkMigrationAnalysisResultSource& GetSource() const { return m_source; }
114 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
115 template <typename SourceT = NetworkMigrationAnalysisResultSource>
116 void SetSource(SourceT&& value) {
117 m_sourceHasBeenSet = true;
118 m_source = std::forward<SourceT>(value);
119 }
120 template <typename SourceT = NetworkMigrationAnalysisResultSource>
122 SetSource(std::forward<SourceT>(value));
123 return *this;
124 }
126
128
131 inline const NetworkMigrationAnalysisResultTarget& GetTarget() const { return m_target; }
132 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
133 template <typename TargetT = NetworkMigrationAnalysisResultTarget>
134 void SetTarget(TargetT&& value) {
135 m_targetHasBeenSet = true;
136 m_target = std::forward<TargetT>(value);
137 }
138 template <typename TargetT = NetworkMigrationAnalysisResultTarget>
140 SetTarget(std::forward<TargetT>(value));
141 return *this;
142 }
144
146
149 inline NetworkMigrationAnalysisResultStatus GetStatus() const { return m_status; }
150 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
152 m_statusHasBeenSet = true;
153 m_status = value;
154 }
156 SetStatus(value);
157 return *this;
158 }
160
162
165 inline const Aws::String& GetAnalysisResult() const { return m_analysisResult; }
166 inline bool AnalysisResultHasBeenSet() const { return m_analysisResultHasBeenSet; }
167 template <typename AnalysisResultT = Aws::String>
168 void SetAnalysisResult(AnalysisResultT&& value) {
169 m_analysisResultHasBeenSet = true;
170 m_analysisResult = std::forward<AnalysisResultT>(value);
171 }
172 template <typename AnalysisResultT = Aws::String>
174 SetAnalysisResult(std::forward<AnalysisResultT>(value));
175 return *this;
176 }
178 private:
179 Aws::String m_jobID;
180
181 Aws::String m_networkMigrationExecutionID;
182
183 Aws::String m_networkMigrationDefinitionID;
184
185 AnalyzerType m_analyzerType{AnalyzerType::NOT_SET};
186
187 NetworkMigrationAnalysisResultSource m_source;
188
189 NetworkMigrationAnalysisResultTarget m_target;
190
192
193 Aws::String m_analysisResult;
194 bool m_jobIDHasBeenSet = false;
195 bool m_networkMigrationExecutionIDHasBeenSet = false;
196 bool m_networkMigrationDefinitionIDHasBeenSet = false;
197 bool m_analyzerTypeHasBeenSet = false;
198 bool m_sourceHasBeenSet = false;
199 bool m_targetHasBeenSet = false;
200 bool m_statusHasBeenSet = false;
201 bool m_analysisResultHasBeenSet = false;
202};
203
204} // namespace Model
205} // namespace mgn
206} // namespace Aws
NetworkMigrationAnalysisResult & WithNetworkMigrationDefinitionID(NetworkMigrationDefinitionIDT &&value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkMigrationAnalysisResult & WithTarget(TargetT &&value)
void SetStatus(NetworkMigrationAnalysisResultStatus value)
AWS_MGN_API NetworkMigrationAnalysisResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNetworkMigrationExecutionID(NetworkMigrationExecutionIDT &&value)
NetworkMigrationAnalysisResult & WithSource(SourceT &&value)
AWS_MGN_API NetworkMigrationAnalysisResult(Aws::Utils::Json::JsonView jsonValue)
NetworkMigrationAnalysisResult & WithAnalysisResult(AnalysisResultT &&value)
const NetworkMigrationAnalysisResultTarget & GetTarget() const
const NetworkMigrationAnalysisResultSource & GetSource() const
NetworkMigrationAnalysisResult & WithJobID(JobIDT &&value)
NetworkMigrationAnalysisResultStatus GetStatus() const
void SetNetworkMigrationDefinitionID(NetworkMigrationDefinitionIDT &&value)
NetworkMigrationAnalysisResult & WithStatus(NetworkMigrationAnalysisResultStatus value)
NetworkMigrationAnalysisResult & WithNetworkMigrationExecutionID(NetworkMigrationExecutionIDT &&value)
NetworkMigrationAnalysisResult & WithAnalyzerType(AnalyzerType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue