AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalysisStatusUnion.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/migrationhubstrategy/model/RuntimeAnalysisStatus.h>
9#include <aws/migrationhubstrategy/model/SrcCodeOrDbAnalysisStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MigrationHubStrategyRecommendations
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AnalysisStatusUnion();
36 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AnalysisStatusUnion(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AnalysisStatusUnion& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const RuntimeAnalysisStatus& GetRuntimeAnalysisStatus() const{ return m_runtimeAnalysisStatus; }
46 inline bool RuntimeAnalysisStatusHasBeenSet() const { return m_runtimeAnalysisStatusHasBeenSet; }
47 inline void SetRuntimeAnalysisStatus(const RuntimeAnalysisStatus& value) { m_runtimeAnalysisStatusHasBeenSet = true; m_runtimeAnalysisStatus = value; }
48 inline void SetRuntimeAnalysisStatus(RuntimeAnalysisStatus&& value) { m_runtimeAnalysisStatusHasBeenSet = true; m_runtimeAnalysisStatus = std::move(value); }
52
54
57 inline const SrcCodeOrDbAnalysisStatus& GetSrcCodeOrDbAnalysisStatus() const{ return m_srcCodeOrDbAnalysisStatus; }
58 inline bool SrcCodeOrDbAnalysisStatusHasBeenSet() const { return m_srcCodeOrDbAnalysisStatusHasBeenSet; }
59 inline void SetSrcCodeOrDbAnalysisStatus(const SrcCodeOrDbAnalysisStatus& value) { m_srcCodeOrDbAnalysisStatusHasBeenSet = true; m_srcCodeOrDbAnalysisStatus = value; }
60 inline void SetSrcCodeOrDbAnalysisStatus(SrcCodeOrDbAnalysisStatus&& value) { m_srcCodeOrDbAnalysisStatusHasBeenSet = true; m_srcCodeOrDbAnalysisStatus = std::move(value); }
64 private:
65
66 RuntimeAnalysisStatus m_runtimeAnalysisStatus;
67 bool m_runtimeAnalysisStatusHasBeenSet = false;
68
69 SrcCodeOrDbAnalysisStatus m_srcCodeOrDbAnalysisStatus;
70 bool m_srcCodeOrDbAnalysisStatusHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace MigrationHubStrategyRecommendations
75} // namespace Aws
AnalysisStatusUnion & WithRuntimeAnalysisStatus(const RuntimeAnalysisStatus &value)
AnalysisStatusUnion & WithSrcCodeOrDbAnalysisStatus(const SrcCodeOrDbAnalysisStatus &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AnalysisStatusUnion & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSrcCodeOrDbAnalysisStatus(const SrcCodeOrDbAnalysisStatus &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AnalysisStatusUnion()
AnalysisStatusUnion & WithRuntimeAnalysisStatus(RuntimeAnalysisStatus &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AnalysisStatusUnion(Aws::Utils::Json::JsonView jsonValue)
AnalysisStatusUnion & WithSrcCodeOrDbAnalysisStatus(SrcCodeOrDbAnalysisStatus &&value)
Aws::Utils::Json::JsonValue JsonValue