AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeSchemaResult.h
1
6#pragma once
7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Schemas
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SCHEMAS_API DescribeSchemaResult() = default;
35
36
38
41 inline const Aws::String& GetContent() const { return m_content; }
42 template<typename ContentT = Aws::String>
43 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
44 template<typename ContentT = Aws::String>
45 DescribeSchemaResult& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
47
49
52 inline const Aws::String& GetDescription() const { return m_description; }
53 template<typename DescriptionT = Aws::String>
54 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
55 template<typename DescriptionT = Aws::String>
56 DescribeSchemaResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetLastModified() const { return m_lastModified; }
64 template<typename LastModifiedT = Aws::Utils::DateTime>
65 void SetLastModified(LastModifiedT&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::forward<LastModifiedT>(value); }
66 template<typename LastModifiedT = Aws::Utils::DateTime>
67 DescribeSchemaResult& WithLastModified(LastModifiedT&& value) { SetLastModified(std::forward<LastModifiedT>(value)); return *this;}
69
71
74 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
75 template<typename SchemaArnT = Aws::String>
76 void SetSchemaArn(SchemaArnT&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::forward<SchemaArnT>(value); }
77 template<typename SchemaArnT = Aws::String>
78 DescribeSchemaResult& WithSchemaArn(SchemaArnT&& value) { SetSchemaArn(std::forward<SchemaArnT>(value)); return *this;}
80
82
85 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
86 template<typename SchemaNameT = Aws::String>
87 void SetSchemaName(SchemaNameT&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::forward<SchemaNameT>(value); }
88 template<typename SchemaNameT = Aws::String>
89 DescribeSchemaResult& WithSchemaName(SchemaNameT&& value) { SetSchemaName(std::forward<SchemaNameT>(value)); return *this;}
91
93
96 inline const Aws::String& GetSchemaVersion() const { return m_schemaVersion; }
97 template<typename SchemaVersionT = Aws::String>
98 void SetSchemaVersion(SchemaVersionT&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::forward<SchemaVersionT>(value); }
99 template<typename SchemaVersionT = Aws::String>
100 DescribeSchemaResult& WithSchemaVersion(SchemaVersionT&& value) { SetSchemaVersion(std::forward<SchemaVersionT>(value)); return *this;}
102
104
107 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
108 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
109 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
110 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
111 DescribeSchemaResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
112 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
113 DescribeSchemaResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
114 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
115 }
117
119
122 inline const Aws::String& GetType() const { return m_type; }
123 template<typename TypeT = Aws::String>
124 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
125 template<typename TypeT = Aws::String>
126 DescribeSchemaResult& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
128
130
133 inline const Aws::Utils::DateTime& GetVersionCreatedDate() const { return m_versionCreatedDate; }
134 template<typename VersionCreatedDateT = Aws::Utils::DateTime>
135 void SetVersionCreatedDate(VersionCreatedDateT&& value) { m_versionCreatedDateHasBeenSet = true; m_versionCreatedDate = std::forward<VersionCreatedDateT>(value); }
136 template<typename VersionCreatedDateT = Aws::Utils::DateTime>
137 DescribeSchemaResult& WithVersionCreatedDate(VersionCreatedDateT&& value) { SetVersionCreatedDate(std::forward<VersionCreatedDateT>(value)); return *this;}
139
141
142 inline const Aws::String& GetRequestId() const { return m_requestId; }
143 template<typename RequestIdT = Aws::String>
144 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
145 template<typename RequestIdT = Aws::String>
146 DescribeSchemaResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
148 private:
149
150 Aws::String m_content;
151 bool m_contentHasBeenSet = false;
152
153 Aws::String m_description;
154 bool m_descriptionHasBeenSet = false;
155
156 Aws::Utils::DateTime m_lastModified{};
157 bool m_lastModifiedHasBeenSet = false;
158
159 Aws::String m_schemaArn;
160 bool m_schemaArnHasBeenSet = false;
161
162 Aws::String m_schemaName;
163 bool m_schemaNameHasBeenSet = false;
164
165 Aws::String m_schemaVersion;
166 bool m_schemaVersionHasBeenSet = false;
167
169 bool m_tagsHasBeenSet = false;
170
171 Aws::String m_type;
172 bool m_typeHasBeenSet = false;
173
174 Aws::Utils::DateTime m_versionCreatedDate{};
175 bool m_versionCreatedDateHasBeenSet = false;
176
177 Aws::String m_requestId;
178 bool m_requestIdHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace Schemas
183} // namespace Aws
DescribeSchemaResult & WithVersionCreatedDate(VersionCreatedDateT &&value)
void SetSchemaVersion(SchemaVersionT &&value)
DescribeSchemaResult & WithLastModified(LastModifiedT &&value)
DescribeSchemaResult & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetVersionCreatedDate() const
DescribeSchemaResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetLastModified() const
AWS_SCHEMAS_API DescribeSchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSchemaResult & WithSchemaName(SchemaNameT &&value)
AWS_SCHEMAS_API DescribeSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSchemaResult & WithContent(ContentT &&value)
DescribeSchemaResult & WithSchemaVersion(SchemaVersionT &&value)
DescribeSchemaResult & WithSchemaArn(SchemaArnT &&value)
DescribeSchemaResult & WithTags(TagsT &&value)
DescribeSchemaResult & WithType(TypeT &&value)
AWS_SCHEMAS_API DescribeSchemaResult()=default
void SetVersionCreatedDate(VersionCreatedDateT &&value)
DescribeSchemaResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
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