AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateSchemaResult.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 CreateSchemaResult() = default;
35
36
38
41 inline const Aws::String& GetDescription() const { return m_description; }
42 template<typename DescriptionT = Aws::String>
43 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
44 template<typename DescriptionT = Aws::String>
45 CreateSchemaResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
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) { m_lastModifiedHasBeenSet = true; m_lastModified = std::forward<LastModifiedT>(value); }
55 template<typename LastModifiedT = Aws::Utils::DateTime>
56 CreateSchemaResult& WithLastModified(LastModifiedT&& value) { SetLastModified(std::forward<LastModifiedT>(value)); return *this;}
58
60
63 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
64 template<typename SchemaArnT = Aws::String>
65 void SetSchemaArn(SchemaArnT&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::forward<SchemaArnT>(value); }
66 template<typename SchemaArnT = Aws::String>
67 CreateSchemaResult& WithSchemaArn(SchemaArnT&& value) { SetSchemaArn(std::forward<SchemaArnT>(value)); return *this;}
69
71
74 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
75 template<typename SchemaNameT = Aws::String>
76 void SetSchemaName(SchemaNameT&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::forward<SchemaNameT>(value); }
77 template<typename SchemaNameT = Aws::String>
78 CreateSchemaResult& WithSchemaName(SchemaNameT&& value) { SetSchemaName(std::forward<SchemaNameT>(value)); return *this;}
80
82
85 inline const Aws::String& GetSchemaVersion() const { return m_schemaVersion; }
86 template<typename SchemaVersionT = Aws::String>
87 void SetSchemaVersion(SchemaVersionT&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::forward<SchemaVersionT>(value); }
88 template<typename SchemaVersionT = Aws::String>
89 CreateSchemaResult& WithSchemaVersion(SchemaVersionT&& value) { SetSchemaVersion(std::forward<SchemaVersionT>(value)); return *this;}
91
93
94 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
95 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
96 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
97 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
98 CreateSchemaResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
99 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
100 CreateSchemaResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
101 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
102 }
104
106
109 inline const Aws::String& GetType() const { return m_type; }
110 template<typename TypeT = Aws::String>
111 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
112 template<typename TypeT = Aws::String>
113 CreateSchemaResult& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
115
117
120 inline const Aws::Utils::DateTime& GetVersionCreatedDate() const { return m_versionCreatedDate; }
121 template<typename VersionCreatedDateT = Aws::Utils::DateTime>
122 void SetVersionCreatedDate(VersionCreatedDateT&& value) { m_versionCreatedDateHasBeenSet = true; m_versionCreatedDate = std::forward<VersionCreatedDateT>(value); }
123 template<typename VersionCreatedDateT = Aws::Utils::DateTime>
124 CreateSchemaResult& WithVersionCreatedDate(VersionCreatedDateT&& value) { SetVersionCreatedDate(std::forward<VersionCreatedDateT>(value)); return *this;}
126
128
129 inline const Aws::String& GetRequestId() const { return m_requestId; }
130 template<typename RequestIdT = Aws::String>
131 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
132 template<typename RequestIdT = Aws::String>
133 CreateSchemaResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
135 private:
136
137 Aws::String m_description;
138 bool m_descriptionHasBeenSet = false;
139
140 Aws::Utils::DateTime m_lastModified{};
141 bool m_lastModifiedHasBeenSet = false;
142
143 Aws::String m_schemaArn;
144 bool m_schemaArnHasBeenSet = false;
145
146 Aws::String m_schemaName;
147 bool m_schemaNameHasBeenSet = false;
148
149 Aws::String m_schemaVersion;
150 bool m_schemaVersionHasBeenSet = false;
151
153 bool m_tagsHasBeenSet = false;
154
155 Aws::String m_type;
156 bool m_typeHasBeenSet = false;
157
158 Aws::Utils::DateTime m_versionCreatedDate{};
159 bool m_versionCreatedDateHasBeenSet = false;
160
161 Aws::String m_requestId;
162 bool m_requestIdHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace Schemas
167} // namespace Aws
CreateSchemaResult & WithVersionCreatedDate(VersionCreatedDateT &&value)
CreateSchemaResult & WithSchemaName(SchemaNameT &&value)
CreateSchemaResult & WithRequestId(RequestIdT &&value)
void SetVersionCreatedDate(VersionCreatedDateT &&value)
AWS_SCHEMAS_API CreateSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetSchemaName() const
CreateSchemaResult & WithLastModified(LastModifiedT &&value)
AWS_SCHEMAS_API CreateSchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateSchemaResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateSchemaResult & WithSchemaVersion(SchemaVersionT &&value)
const Aws::String & GetDescription() const
AWS_SCHEMAS_API CreateSchemaResult()=default
CreateSchemaResult & WithSchemaArn(SchemaArnT &&value)
const Aws::Utils::DateTime & GetLastModified() const
const Aws::Utils::DateTime & GetVersionCreatedDate() const
void SetLastModified(LastModifiedT &&value)
const Aws::String & GetSchemaVersion() const
CreateSchemaResult & WithTags(TagsT &&value)
void SetSchemaVersion(SchemaVersionT &&value)
CreateSchemaResult & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
CreateSchemaResult & WithType(TypeT &&value)
const Aws::String & GetSchemaArn() 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