AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
AutoUpgradeMetadata.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/AutoUpgradeStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
30 public:
31 AWS_GLUE_API AutoUpgradeMetadata() = default;
35
37
40 inline const Aws::String& GetTargetVersion() const { return m_targetVersion; }
41 inline bool TargetVersionHasBeenSet() const { return m_targetVersionHasBeenSet; }
42 template <typename TargetVersionT = Aws::String>
43 void SetTargetVersion(TargetVersionT&& value) {
44 m_targetVersionHasBeenSet = true;
45 m_targetVersion = std::forward<TargetVersionT>(value);
46 }
47 template <typename TargetVersionT = Aws::String>
48 AutoUpgradeMetadata& WithTargetVersion(TargetVersionT&& value) {
49 SetTargetVersion(std::forward<TargetVersionT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetSourceVersion() const { return m_sourceVersion; }
60 inline bool SourceVersionHasBeenSet() const { return m_sourceVersionHasBeenSet; }
61 template <typename SourceVersionT = Aws::String>
62 void SetSourceVersion(SourceVersionT&& value) {
63 m_sourceVersionHasBeenSet = true;
64 m_sourceVersion = std::forward<SourceVersionT>(value);
65 }
66 template <typename SourceVersionT = Aws::String>
67 AutoUpgradeMetadata& WithSourceVersion(SourceVersionT&& value) {
68 SetSourceVersion(std::forward<SourceVersionT>(value));
69 return *this;
70 }
72
74
78 inline AutoUpgradeStatus GetStatus() const { return m_status; }
79 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
80 inline void SetStatus(AutoUpgradeStatus value) {
81 m_statusHasBeenSet = true;
82 m_status = value;
83 }
85 SetStatus(value);
86 return *this;
87 }
89
91
94 inline const Aws::String& GetAnalysisId() const { return m_analysisId; }
95 inline bool AnalysisIdHasBeenSet() const { return m_analysisIdHasBeenSet; }
96 template <typename AnalysisIdT = Aws::String>
97 void SetAnalysisId(AnalysisIdT&& value) {
98 m_analysisIdHasBeenSet = true;
99 m_analysisId = std::forward<AnalysisIdT>(value);
100 }
101 template <typename AnalysisIdT = Aws::String>
102 AutoUpgradeMetadata& WithAnalysisId(AnalysisIdT&& value) {
103 SetAnalysisId(std::forward<AnalysisIdT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_targetVersion;
109
110 Aws::String m_sourceVersion;
111
113
114 Aws::String m_analysisId;
115 bool m_targetVersionHasBeenSet = false;
116 bool m_sourceVersionHasBeenSet = false;
117 bool m_statusHasBeenSet = false;
118 bool m_analysisIdHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace Glue
123} // namespace Aws
const Aws::String & GetTargetVersion() const
const Aws::String & GetAnalysisId() const
const Aws::String & GetSourceVersion() const
void SetStatus(AutoUpgradeStatus value)
AutoUpgradeMetadata & WithSourceVersion(SourceVersionT &&value)
AWS_GLUE_API AutoUpgradeMetadata(Aws::Utils::Json::JsonView jsonValue)
AutoUpgradeMetadata & WithStatus(AutoUpgradeStatus value)
void SetSourceVersion(SourceVersionT &&value)
AutoUpgradeMetadata & WithTargetVersion(TargetVersionT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AutoUpgradeMetadata & WithAnalysisId(AnalysisIdT &&value)
void SetTargetVersion(TargetVersionT &&value)
AWS_GLUE_API AutoUpgradeMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API AutoUpgradeMetadata()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue