AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateSchemaResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/schemas/Schemas_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Schemas {
24namespace Model {
26 public:
27 AWS_SCHEMAS_API UpdateSchemaResult() = default;
30
32
35 inline const Aws::String& GetDescription() const { return m_description; }
36 template <typename DescriptionT = Aws::String>
37 void SetDescription(DescriptionT&& value) {
38 m_descriptionHasBeenSet = true;
39 m_description = std::forward<DescriptionT>(value);
40 }
41 template <typename DescriptionT = Aws::String>
42 UpdateSchemaResult& WithDescription(DescriptionT&& value) {
43 SetDescription(std::forward<DescriptionT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::Utils::DateTime& GetLastModified() const { return m_lastModified; }
53 template <typename LastModifiedT = Aws::Utils::DateTime>
54 void SetLastModified(LastModifiedT&& value) {
55 m_lastModifiedHasBeenSet = true;
56 m_lastModified = std::forward<LastModifiedT>(value);
57 }
58 template <typename LastModifiedT = Aws::Utils::DateTime>
59 UpdateSchemaResult& WithLastModified(LastModifiedT&& value) {
60 SetLastModified(std::forward<LastModifiedT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
70 template <typename SchemaArnT = Aws::String>
71 void SetSchemaArn(SchemaArnT&& value) {
72 m_schemaArnHasBeenSet = true;
73 m_schemaArn = std::forward<SchemaArnT>(value);
74 }
75 template <typename SchemaArnT = Aws::String>
76 UpdateSchemaResult& WithSchemaArn(SchemaArnT&& value) {
77 SetSchemaArn(std::forward<SchemaArnT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
87 template <typename SchemaNameT = Aws::String>
88 void SetSchemaName(SchemaNameT&& value) {
89 m_schemaNameHasBeenSet = true;
90 m_schemaName = std::forward<SchemaNameT>(value);
91 }
92 template <typename SchemaNameT = Aws::String>
93 UpdateSchemaResult& WithSchemaName(SchemaNameT&& value) {
94 SetSchemaName(std::forward<SchemaNameT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetSchemaVersion() const { return m_schemaVersion; }
104 template <typename SchemaVersionT = Aws::String>
105 void SetSchemaVersion(SchemaVersionT&& value) {
106 m_schemaVersionHasBeenSet = true;
107 m_schemaVersion = std::forward<SchemaVersionT>(value);
108 }
109 template <typename SchemaVersionT = Aws::String>
110 UpdateSchemaResult& WithSchemaVersion(SchemaVersionT&& value) {
111 SetSchemaVersion(std::forward<SchemaVersionT>(value));
112 return *this;
113 }
115
117
118 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
119 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
120 void SetTags(TagsT&& value) {
121 m_tagsHasBeenSet = true;
122 m_tags = std::forward<TagsT>(value);
123 }
124 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
125 UpdateSchemaResult& WithTags(TagsT&& value) {
126 SetTags(std::forward<TagsT>(value));
127 return *this;
128 }
129 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
130 UpdateSchemaResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
131 m_tagsHasBeenSet = true;
132 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::String& GetType() const { return m_type; }
142 template <typename TypeT = Aws::String>
143 void SetType(TypeT&& value) {
144 m_typeHasBeenSet = true;
145 m_type = std::forward<TypeT>(value);
146 }
147 template <typename TypeT = Aws::String>
148 UpdateSchemaResult& WithType(TypeT&& value) {
149 SetType(std::forward<TypeT>(value));
150 return *this;
151 }
153
155
158 inline const Aws::Utils::DateTime& GetVersionCreatedDate() const { return m_versionCreatedDate; }
159 template <typename VersionCreatedDateT = Aws::Utils::DateTime>
160 void SetVersionCreatedDate(VersionCreatedDateT&& value) {
161 m_versionCreatedDateHasBeenSet = true;
162 m_versionCreatedDate = std::forward<VersionCreatedDateT>(value);
163 }
164 template <typename VersionCreatedDateT = Aws::Utils::DateTime>
165 UpdateSchemaResult& WithVersionCreatedDate(VersionCreatedDateT&& value) {
166 SetVersionCreatedDate(std::forward<VersionCreatedDateT>(value));
167 return *this;
168 }
170
172
173 inline const Aws::String& GetRequestId() const { return m_requestId; }
174 template <typename RequestIdT = Aws::String>
175 void SetRequestId(RequestIdT&& value) {
176 m_requestIdHasBeenSet = true;
177 m_requestId = std::forward<RequestIdT>(value);
178 }
179 template <typename RequestIdT = Aws::String>
180 UpdateSchemaResult& WithRequestId(RequestIdT&& value) {
181 SetRequestId(std::forward<RequestIdT>(value));
182 return *this;
183 }
185 private:
186 Aws::String m_description;
187
188 Aws::Utils::DateTime m_lastModified{};
189
190 Aws::String m_schemaArn;
191
192 Aws::String m_schemaName;
193
194 Aws::String m_schemaVersion;
195
197
198 Aws::String m_type;
199
200 Aws::Utils::DateTime m_versionCreatedDate{};
201
202 Aws::String m_requestId;
203 bool m_descriptionHasBeenSet = false;
204 bool m_lastModifiedHasBeenSet = false;
205 bool m_schemaArnHasBeenSet = false;
206 bool m_schemaNameHasBeenSet = false;
207 bool m_schemaVersionHasBeenSet = false;
208 bool m_tagsHasBeenSet = false;
209 bool m_typeHasBeenSet = false;
210 bool m_versionCreatedDateHasBeenSet = false;
211 bool m_requestIdHasBeenSet = false;
212};
213
214} // namespace Model
215} // namespace Schemas
216} // namespace Aws
const Aws::Utils::DateTime & GetLastModified() const
UpdateSchemaResult & WithSchemaVersion(SchemaVersionT &&value)
UpdateSchemaResult & WithSchemaArn(SchemaArnT &&value)
UpdateSchemaResult & WithLastModified(LastModifiedT &&value)
UpdateSchemaResult & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
void SetSchemaVersion(SchemaVersionT &&value)
const Aws::Utils::DateTime & GetVersionCreatedDate() const
UpdateSchemaResult & WithType(TypeT &&value)
void SetLastModified(LastModifiedT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_SCHEMAS_API UpdateSchemaResult()=default
const Aws::String & GetSchemaVersion() const
void SetVersionCreatedDate(VersionCreatedDateT &&value)
const Aws::String & GetDescription() const
UpdateSchemaResult & WithSchemaName(SchemaNameT &&value)
const Aws::String & GetSchemaName() const
UpdateSchemaResult & WithTags(TagsT &&value)
AWS_SCHEMAS_API UpdateSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSchemaResult & WithVersionCreatedDate(VersionCreatedDateT &&value)
AWS_SCHEMAS_API UpdateSchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSchemaResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetSchemaArn() const
UpdateSchemaResult & WithRequestId(RequestIdT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue