AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ExportSchemaResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/schemas/Schemas_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace Schemas {
22namespace Model {
24 public:
25 AWS_SCHEMAS_API ExportSchemaResult() = default;
28
30
31 inline const Aws::String& GetContent() const { return m_content; }
32 template <typename ContentT = Aws::String>
33 void SetContent(ContentT&& value) {
34 m_contentHasBeenSet = true;
35 m_content = std::forward<ContentT>(value);
36 }
37 template <typename ContentT = Aws::String>
38 ExportSchemaResult& WithContent(ContentT&& value) {
39 SetContent(std::forward<ContentT>(value));
40 return *this;
41 }
43
45
46 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
47 template <typename SchemaArnT = Aws::String>
48 void SetSchemaArn(SchemaArnT&& value) {
49 m_schemaArnHasBeenSet = true;
50 m_schemaArn = std::forward<SchemaArnT>(value);
51 }
52 template <typename SchemaArnT = Aws::String>
53 ExportSchemaResult& WithSchemaArn(SchemaArnT&& value) {
54 SetSchemaArn(std::forward<SchemaArnT>(value));
55 return *this;
56 }
58
60
61 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
62 template <typename SchemaNameT = Aws::String>
63 void SetSchemaName(SchemaNameT&& value) {
64 m_schemaNameHasBeenSet = true;
65 m_schemaName = std::forward<SchemaNameT>(value);
66 }
67 template <typename SchemaNameT = Aws::String>
68 ExportSchemaResult& WithSchemaName(SchemaNameT&& value) {
69 SetSchemaName(std::forward<SchemaNameT>(value));
70 return *this;
71 }
73
75
76 inline const Aws::String& GetSchemaVersion() const { return m_schemaVersion; }
77 template <typename SchemaVersionT = Aws::String>
78 void SetSchemaVersion(SchemaVersionT&& value) {
79 m_schemaVersionHasBeenSet = true;
80 m_schemaVersion = std::forward<SchemaVersionT>(value);
81 }
82 template <typename SchemaVersionT = Aws::String>
83 ExportSchemaResult& WithSchemaVersion(SchemaVersionT&& value) {
84 SetSchemaVersion(std::forward<SchemaVersionT>(value));
85 return *this;
86 }
88
90
91 inline const Aws::String& GetType() const { return m_type; }
92 template <typename TypeT = Aws::String>
93 void SetType(TypeT&& value) {
94 m_typeHasBeenSet = true;
95 m_type = std::forward<TypeT>(value);
96 }
97 template <typename TypeT = Aws::String>
98 ExportSchemaResult& WithType(TypeT&& value) {
99 SetType(std::forward<TypeT>(value));
100 return *this;
101 }
103
105
106 inline const Aws::String& GetRequestId() const { return m_requestId; }
107 template <typename RequestIdT = Aws::String>
108 void SetRequestId(RequestIdT&& value) {
109 m_requestIdHasBeenSet = true;
110 m_requestId = std::forward<RequestIdT>(value);
111 }
112 template <typename RequestIdT = Aws::String>
113 ExportSchemaResult& WithRequestId(RequestIdT&& value) {
114 SetRequestId(std::forward<RequestIdT>(value));
115 return *this;
116 }
118 private:
119 Aws::String m_content;
120
121 Aws::String m_schemaArn;
122
123 Aws::String m_schemaName;
124
125 Aws::String m_schemaVersion;
126
127 Aws::String m_type;
128
129 Aws::String m_requestId;
130 bool m_contentHasBeenSet = false;
131 bool m_schemaArnHasBeenSet = false;
132 bool m_schemaNameHasBeenSet = false;
133 bool m_schemaVersionHasBeenSet = false;
134 bool m_typeHasBeenSet = false;
135 bool m_requestIdHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace Schemas
140} // namespace Aws
AWS_SCHEMAS_API ExportSchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SCHEMAS_API ExportSchemaResult()=default
AWS_SCHEMAS_API ExportSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ExportSchemaResult & WithSchemaArn(SchemaArnT &&value)
const Aws::String & GetSchemaVersion() const
ExportSchemaResult & WithSchemaVersion(SchemaVersionT &&value)
void SetSchemaVersion(SchemaVersionT &&value)
ExportSchemaResult & WithSchemaName(SchemaNameT &&value)
ExportSchemaResult & WithContent(ContentT &&value)
const Aws::String & GetSchemaArn() const
ExportSchemaResult & WithType(TypeT &&value)
const Aws::String & GetSchemaName() const
ExportSchemaResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue