AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSchemaResult.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 UpdateSchemaResult();
35
36
38
41 inline const Aws::String& GetDescription() const{ return m_description; }
42 inline void SetDescription(const Aws::String& value) { m_description = value; }
43 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
44 inline void SetDescription(const char* value) { m_description.assign(value); }
45 inline UpdateSchemaResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
46 inline UpdateSchemaResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
47 inline UpdateSchemaResult& WithDescription(const char* value) { SetDescription(value); return *this;}
49
51
54 inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; }
55 inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModified = value; }
56 inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModified = std::move(value); }
57 inline UpdateSchemaResult& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;}
58 inline UpdateSchemaResult& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;}
60
62
65 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
66 inline void SetSchemaArn(const Aws::String& value) { m_schemaArn = value; }
67 inline void SetSchemaArn(Aws::String&& value) { m_schemaArn = std::move(value); }
68 inline void SetSchemaArn(const char* value) { m_schemaArn.assign(value); }
69 inline UpdateSchemaResult& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
70 inline UpdateSchemaResult& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
71 inline UpdateSchemaResult& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
73
75
78 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
79 inline void SetSchemaName(const Aws::String& value) { m_schemaName = value; }
80 inline void SetSchemaName(Aws::String&& value) { m_schemaName = std::move(value); }
81 inline void SetSchemaName(const char* value) { m_schemaName.assign(value); }
82 inline UpdateSchemaResult& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
83 inline UpdateSchemaResult& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
84 inline UpdateSchemaResult& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
86
88
91 inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; }
92 inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersion = value; }
93 inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersion = std::move(value); }
94 inline void SetSchemaVersion(const char* value) { m_schemaVersion.assign(value); }
95 inline UpdateSchemaResult& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
96 inline UpdateSchemaResult& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
97 inline UpdateSchemaResult& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
99
101
102 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
103 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
104 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
105 inline UpdateSchemaResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
106 inline UpdateSchemaResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
107 inline UpdateSchemaResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
108 inline UpdateSchemaResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
109 inline UpdateSchemaResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
110 inline UpdateSchemaResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
111 inline UpdateSchemaResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
112 inline UpdateSchemaResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
113 inline UpdateSchemaResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
115
117
120 inline const Aws::String& GetType() const{ return m_type; }
121 inline void SetType(const Aws::String& value) { m_type = value; }
122 inline void SetType(Aws::String&& value) { m_type = std::move(value); }
123 inline void SetType(const char* value) { m_type.assign(value); }
124 inline UpdateSchemaResult& WithType(const Aws::String& value) { SetType(value); return *this;}
125 inline UpdateSchemaResult& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
126 inline UpdateSchemaResult& WithType(const char* value) { SetType(value); return *this;}
128
130
133 inline const Aws::Utils::DateTime& GetVersionCreatedDate() const{ return m_versionCreatedDate; }
134 inline void SetVersionCreatedDate(const Aws::Utils::DateTime& value) { m_versionCreatedDate = value; }
135 inline void SetVersionCreatedDate(Aws::Utils::DateTime&& value) { m_versionCreatedDate = std::move(value); }
137 inline UpdateSchemaResult& WithVersionCreatedDate(Aws::Utils::DateTime&& value) { SetVersionCreatedDate(std::move(value)); return *this;}
139
141
142 inline const Aws::String& GetRequestId() const{ return m_requestId; }
143 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
144 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
145 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
146 inline UpdateSchemaResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
147 inline UpdateSchemaResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
148 inline UpdateSchemaResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
150 private:
151
152 Aws::String m_description;
153
154 Aws::Utils::DateTime m_lastModified;
155
156 Aws::String m_schemaArn;
157
158 Aws::String m_schemaName;
159
160 Aws::String m_schemaVersion;
161
163
164 Aws::String m_type;
165
166 Aws::Utils::DateTime m_versionCreatedDate;
167
168 Aws::String m_requestId;
169 };
170
171} // namespace Model
172} // namespace Schemas
173} // namespace Aws
const Aws::Utils::DateTime & GetLastModified() const
void SetVersionCreatedDate(const Aws::Utils::DateTime &value)
UpdateSchemaResult & WithVersionCreatedDate(const Aws::Utils::DateTime &value)
UpdateSchemaResult & AddTags(const char *key, const char *value)
UpdateSchemaResult & WithSchemaVersion(const char *value)
void SetSchemaArn(const Aws::String &value)
UpdateSchemaResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateSchemaResult & WithType(const Aws::String &value)
UpdateSchemaResult & WithSchemaName(const char *value)
void SetLastModified(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetVersionCreatedDate() const
UpdateSchemaResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetType(const Aws::String &value)
UpdateSchemaResult & AddTags(Aws::String &&key, Aws::String &&value)
UpdateSchemaResult & AddTags(const Aws::String &key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateSchemaResult & WithSchemaArn(const Aws::String &value)
UpdateSchemaResult & WithSchemaArn(Aws::String &&value)
UpdateSchemaResult & WithRequestId(const char *value)
UpdateSchemaResult & WithSchemaArn(const char *value)
void SetSchemaVersion(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateSchemaResult & WithSchemaVersion(Aws::String &&value)
const Aws::String & GetSchemaVersion() const
UpdateSchemaResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateSchemaResult & WithRequestId(const Aws::String &value)
UpdateSchemaResult & WithLastModified(Aws::Utils::DateTime &&value)
UpdateSchemaResult & WithLastModified(const Aws::Utils::DateTime &value)
void SetDescription(const Aws::String &value)
void SetSchemaName(const Aws::String &value)
const Aws::String & GetDescription() const
void SetVersionCreatedDate(Aws::Utils::DateTime &&value)
UpdateSchemaResult & WithDescription(const char *value)
UpdateSchemaResult & WithType(Aws::String &&value)
UpdateSchemaResult & WithVersionCreatedDate(Aws::Utils::DateTime &&value)
UpdateSchemaResult & WithSchemaName(const Aws::String &value)
const Aws::String & GetSchemaName() const
UpdateSchemaResult & AddTags(Aws::String &&key, const char *value)
UpdateSchemaResult & AddTags(const char *key, Aws::String &&value)
UpdateSchemaResult & WithDescription(const Aws::String &value)
void SetLastModified(Aws::Utils::DateTime &&value)
UpdateSchemaResult & WithRequestId(Aws::String &&value)
UpdateSchemaResult & WithSchemaVersion(const Aws::String &value)
AWS_SCHEMAS_API UpdateSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSchemaResult & WithType(const char *value)
AWS_SCHEMAS_API UpdateSchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSchemaResult & WithDescription(Aws::String &&value)
UpdateSchemaResult & AddTags(Aws::String &&key, const Aws::String &value)
UpdateSchemaResult & WithSchemaName(Aws::String &&value)
void SetRequestId(const Aws::String &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