AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
Limitation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DatabaseMigrationService {
20namespace Model {
21
33 public:
34 AWS_DATABASEMIGRATIONSERVICE_API Limitation() = default;
35 AWS_DATABASEMIGRATIONSERVICE_API Limitation(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DATABASEMIGRATIONSERVICE_API Limitation& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetDatabaseId() const { return m_databaseId; }
44 inline bool DatabaseIdHasBeenSet() const { return m_databaseIdHasBeenSet; }
45 template <typename DatabaseIdT = Aws::String>
46 void SetDatabaseId(DatabaseIdT&& value) {
47 m_databaseIdHasBeenSet = true;
48 m_databaseId = std::forward<DatabaseIdT>(value);
49 }
50 template <typename DatabaseIdT = Aws::String>
51 Limitation& WithDatabaseId(DatabaseIdT&& value) {
52 SetDatabaseId(std::forward<DatabaseIdT>(value));
53 return *this;
54 }
56
58
65 inline const Aws::String& GetEngineName() const { return m_engineName; }
66 inline bool EngineNameHasBeenSet() const { return m_engineNameHasBeenSet; }
67 template <typename EngineNameT = Aws::String>
68 void SetEngineName(EngineNameT&& value) {
69 m_engineNameHasBeenSet = true;
70 m_engineName = std::forward<EngineNameT>(value);
71 }
72 template <typename EngineNameT = Aws::String>
73 Limitation& WithEngineName(EngineNameT&& value) {
74 SetEngineName(std::forward<EngineNameT>(value));
75 return *this;
76 }
78
80
84 inline const Aws::String& GetName() const { return m_name; }
85 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
86 template <typename NameT = Aws::String>
87 void SetName(NameT&& value) {
88 m_nameHasBeenSet = true;
89 m_name = std::forward<NameT>(value);
90 }
91 template <typename NameT = Aws::String>
92 Limitation& WithName(NameT&& value) {
93 SetName(std::forward<NameT>(value));
94 return *this;
95 }
97
99
104 inline const Aws::String& GetDescription() const { return m_description; }
105 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
106 template <typename DescriptionT = Aws::String>
107 void SetDescription(DescriptionT&& value) {
108 m_descriptionHasBeenSet = true;
109 m_description = std::forward<DescriptionT>(value);
110 }
111 template <typename DescriptionT = Aws::String>
112 Limitation& WithDescription(DescriptionT&& value) {
113 SetDescription(std::forward<DescriptionT>(value));
114 return *this;
115 }
117
119
125 inline const Aws::String& GetImpact() const { return m_impact; }
126 inline bool ImpactHasBeenSet() const { return m_impactHasBeenSet; }
127 template <typename ImpactT = Aws::String>
128 void SetImpact(ImpactT&& value) {
129 m_impactHasBeenSet = true;
130 m_impact = std::forward<ImpactT>(value);
131 }
132 template <typename ImpactT = Aws::String>
133 Limitation& WithImpact(ImpactT&& value) {
134 SetImpact(std::forward<ImpactT>(value));
135 return *this;
136 }
138
140
144 inline const Aws::String& GetType() const { return m_type; }
145 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
146 template <typename TypeT = Aws::String>
147 void SetType(TypeT&& value) {
148 m_typeHasBeenSet = true;
149 m_type = std::forward<TypeT>(value);
150 }
151 template <typename TypeT = Aws::String>
152 Limitation& WithType(TypeT&& value) {
153 SetType(std::forward<TypeT>(value));
154 return *this;
155 }
157 private:
158 Aws::String m_databaseId;
159
160 Aws::String m_engineName;
161
162 Aws::String m_name;
163
164 Aws::String m_description;
165
166 Aws::String m_impact;
167
168 Aws::String m_type;
169 bool m_databaseIdHasBeenSet = false;
170 bool m_engineNameHasBeenSet = false;
171 bool m_nameHasBeenSet = false;
172 bool m_descriptionHasBeenSet = false;
173 bool m_impactHasBeenSet = false;
174 bool m_typeHasBeenSet = false;
175};
176
177} // namespace Model
178} // namespace DatabaseMigrationService
179} // namespace Aws
Limitation & WithEngineName(EngineNameT &&value)
Definition Limitation.h:73
AWS_DATABASEMIGRATIONSERVICE_API Limitation(Aws::Utils::Json::JsonView jsonValue)
Limitation & WithImpact(ImpactT &&value)
Definition Limitation.h:133
Limitation & WithDatabaseId(DatabaseIdT &&value)
Definition Limitation.h:51
AWS_DATABASEMIGRATIONSERVICE_API Limitation & operator=(Aws::Utils::Json::JsonView jsonValue)
Limitation & WithDescription(DescriptionT &&value)
Definition Limitation.h:112
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetEngineName() const
Definition Limitation.h:65
AWS_DATABASEMIGRATIONSERVICE_API Limitation()=default
const Aws::String & GetDatabaseId() const
Definition Limitation.h:43
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue