AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CodegenJobGenericDataSchema.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/amplifyuibuilder/model/CodegenJobGenericDataSourceType.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/amplifyuibuilder/model/CodegenGenericDataModel.h>
12#include <aws/amplifyuibuilder/model/CodegenGenericDataEnum.h>
13#include <aws/amplifyuibuilder/model/CodegenGenericDataNonModel.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace AmplifyUIBuilder
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_AMPLIFYUIBUILDER_API CodegenJobGenericDataSchema();
41 AWS_AMPLIFYUIBUILDER_API CodegenJobGenericDataSchema(Aws::Utils::Json::JsonView jsonValue);
43 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const CodegenJobGenericDataSourceType& GetDataSourceType() const{ return m_dataSourceType; }
52 inline bool DataSourceTypeHasBeenSet() const { return m_dataSourceTypeHasBeenSet; }
53 inline void SetDataSourceType(const CodegenJobGenericDataSourceType& value) { m_dataSourceTypeHasBeenSet = true; m_dataSourceType = value; }
54 inline void SetDataSourceType(CodegenJobGenericDataSourceType&& value) { m_dataSourceTypeHasBeenSet = true; m_dataSourceType = std::move(value); }
58
60
63 inline const Aws::Map<Aws::String, CodegenGenericDataModel>& GetModels() const{ return m_models; }
64 inline bool ModelsHasBeenSet() const { return m_modelsHasBeenSet; }
65 inline void SetModels(const Aws::Map<Aws::String, CodegenGenericDataModel>& value) { m_modelsHasBeenSet = true; m_models = value; }
66 inline void SetModels(Aws::Map<Aws::String, CodegenGenericDataModel>&& value) { m_modelsHasBeenSet = true; m_models = std::move(value); }
69 inline CodegenJobGenericDataSchema& AddModels(const Aws::String& key, const CodegenGenericDataModel& value) { m_modelsHasBeenSet = true; m_models.emplace(key, value); return *this; }
70 inline CodegenJobGenericDataSchema& AddModels(Aws::String&& key, const CodegenGenericDataModel& value) { m_modelsHasBeenSet = true; m_models.emplace(std::move(key), value); return *this; }
71 inline CodegenJobGenericDataSchema& AddModels(const Aws::String& key, CodegenGenericDataModel&& value) { m_modelsHasBeenSet = true; m_models.emplace(key, std::move(value)); return *this; }
72 inline CodegenJobGenericDataSchema& AddModels(Aws::String&& key, CodegenGenericDataModel&& value) { m_modelsHasBeenSet = true; m_models.emplace(std::move(key), std::move(value)); return *this; }
73 inline CodegenJobGenericDataSchema& AddModels(const char* key, CodegenGenericDataModel&& value) { m_modelsHasBeenSet = true; m_models.emplace(key, std::move(value)); return *this; }
74 inline CodegenJobGenericDataSchema& AddModels(const char* key, const CodegenGenericDataModel& value) { m_modelsHasBeenSet = true; m_models.emplace(key, value); return *this; }
76
78
81 inline const Aws::Map<Aws::String, CodegenGenericDataEnum>& GetEnums() const{ return m_enums; }
82 inline bool EnumsHasBeenSet() const { return m_enumsHasBeenSet; }
83 inline void SetEnums(const Aws::Map<Aws::String, CodegenGenericDataEnum>& value) { m_enumsHasBeenSet = true; m_enums = value; }
84 inline void SetEnums(Aws::Map<Aws::String, CodegenGenericDataEnum>&& value) { m_enumsHasBeenSet = true; m_enums = std::move(value); }
87 inline CodegenJobGenericDataSchema& AddEnums(const Aws::String& key, const CodegenGenericDataEnum& value) { m_enumsHasBeenSet = true; m_enums.emplace(key, value); return *this; }
88 inline CodegenJobGenericDataSchema& AddEnums(Aws::String&& key, const CodegenGenericDataEnum& value) { m_enumsHasBeenSet = true; m_enums.emplace(std::move(key), value); return *this; }
89 inline CodegenJobGenericDataSchema& AddEnums(const Aws::String& key, CodegenGenericDataEnum&& value) { m_enumsHasBeenSet = true; m_enums.emplace(key, std::move(value)); return *this; }
90 inline CodegenJobGenericDataSchema& AddEnums(Aws::String&& key, CodegenGenericDataEnum&& value) { m_enumsHasBeenSet = true; m_enums.emplace(std::move(key), std::move(value)); return *this; }
91 inline CodegenJobGenericDataSchema& AddEnums(const char* key, CodegenGenericDataEnum&& value) { m_enumsHasBeenSet = true; m_enums.emplace(key, std::move(value)); return *this; }
92 inline CodegenJobGenericDataSchema& AddEnums(const char* key, const CodegenGenericDataEnum& value) { m_enumsHasBeenSet = true; m_enums.emplace(key, value); return *this; }
94
96
99 inline const Aws::Map<Aws::String, CodegenGenericDataNonModel>& GetNonModels() const{ return m_nonModels; }
100 inline bool NonModelsHasBeenSet() const { return m_nonModelsHasBeenSet; }
101 inline void SetNonModels(const Aws::Map<Aws::String, CodegenGenericDataNonModel>& value) { m_nonModelsHasBeenSet = true; m_nonModels = value; }
102 inline void SetNonModels(Aws::Map<Aws::String, CodegenGenericDataNonModel>&& value) { m_nonModelsHasBeenSet = true; m_nonModels = std::move(value); }
105 inline CodegenJobGenericDataSchema& AddNonModels(const Aws::String& key, const CodegenGenericDataNonModel& value) { m_nonModelsHasBeenSet = true; m_nonModels.emplace(key, value); return *this; }
106 inline CodegenJobGenericDataSchema& AddNonModels(Aws::String&& key, const CodegenGenericDataNonModel& value) { m_nonModelsHasBeenSet = true; m_nonModels.emplace(std::move(key), value); return *this; }
107 inline CodegenJobGenericDataSchema& AddNonModels(const Aws::String& key, CodegenGenericDataNonModel&& value) { m_nonModelsHasBeenSet = true; m_nonModels.emplace(key, std::move(value)); return *this; }
108 inline CodegenJobGenericDataSchema& AddNonModels(Aws::String&& key, CodegenGenericDataNonModel&& value) { m_nonModelsHasBeenSet = true; m_nonModels.emplace(std::move(key), std::move(value)); return *this; }
109 inline CodegenJobGenericDataSchema& AddNonModels(const char* key, CodegenGenericDataNonModel&& value) { m_nonModelsHasBeenSet = true; m_nonModels.emplace(key, std::move(value)); return *this; }
110 inline CodegenJobGenericDataSchema& AddNonModels(const char* key, const CodegenGenericDataNonModel& value) { m_nonModelsHasBeenSet = true; m_nonModels.emplace(key, value); return *this; }
112 private:
113
114 CodegenJobGenericDataSourceType m_dataSourceType;
115 bool m_dataSourceTypeHasBeenSet = false;
116
118 bool m_modelsHasBeenSet = false;
119
121 bool m_enumsHasBeenSet = false;
122
124 bool m_nonModelsHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace AmplifyUIBuilder
129} // namespace Aws
CodegenJobGenericDataSchema & AddNonModels(const char *key, const CodegenGenericDataNonModel &value)
CodegenJobGenericDataSchema & AddNonModels(Aws::String &&key, CodegenGenericDataNonModel &&value)
CodegenJobGenericDataSchema & AddModels(Aws::String &&key, const CodegenGenericDataModel &value)
CodegenJobGenericDataSchema & WithEnums(Aws::Map< Aws::String, CodegenGenericDataEnum > &&value)
void SetNonModels(const Aws::Map< Aws::String, CodegenGenericDataNonModel > &value)
CodegenJobGenericDataSchema & AddEnums(const char *key, CodegenGenericDataEnum &&value)
CodegenJobGenericDataSchema & WithDataSourceType(const CodegenJobGenericDataSourceType &value)
void SetDataSourceType(CodegenJobGenericDataSourceType &&value)
CodegenJobGenericDataSchema & WithModels(const Aws::Map< Aws::String, CodegenGenericDataModel > &value)
CodegenJobGenericDataSchema & WithDataSourceType(CodegenJobGenericDataSourceType &&value)
const Aws::Map< Aws::String, CodegenGenericDataModel > & GetModels() const
CodegenJobGenericDataSchema & WithNonModels(Aws::Map< Aws::String, CodegenGenericDataNonModel > &&value)
CodegenJobGenericDataSchema & AddModels(const char *key, const CodegenGenericDataModel &value)
AWS_AMPLIFYUIBUILDER_API CodegenJobGenericDataSchema(Aws::Utils::Json::JsonView jsonValue)
void SetEnums(Aws::Map< Aws::String, CodegenGenericDataEnum > &&value)
const Aws::Map< Aws::String, CodegenGenericDataEnum > & GetEnums() const
CodegenJobGenericDataSchema & WithEnums(const Aws::Map< Aws::String, CodegenGenericDataEnum > &value)
CodegenJobGenericDataSchema & AddModels(const Aws::String &key, const CodegenGenericDataModel &value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
CodegenJobGenericDataSchema & AddEnums(const Aws::String &key, const CodegenGenericDataEnum &value)
CodegenJobGenericDataSchema & AddNonModels(Aws::String &&key, const CodegenGenericDataNonModel &value)
CodegenJobGenericDataSchema & AddNonModels(const Aws::String &key, const CodegenGenericDataNonModel &value)
CodegenJobGenericDataSchema & AddModels(Aws::String &&key, CodegenGenericDataModel &&value)
const Aws::Map< Aws::String, CodegenGenericDataNonModel > & GetNonModels() const
CodegenJobGenericDataSchema & AddNonModels(const char *key, CodegenGenericDataNonModel &&value)
CodegenJobGenericDataSchema & WithNonModels(const Aws::Map< Aws::String, CodegenGenericDataNonModel > &value)
const CodegenJobGenericDataSourceType & GetDataSourceType() const
CodegenJobGenericDataSchema & AddEnums(const Aws::String &key, CodegenGenericDataEnum &&value)
void SetEnums(const Aws::Map< Aws::String, CodegenGenericDataEnum > &value)
CodegenJobGenericDataSchema & AddEnums(Aws::String &&key, const CodegenGenericDataEnum &value)
void SetDataSourceType(const CodegenJobGenericDataSourceType &value)
AWS_AMPLIFYUIBUILDER_API CodegenJobGenericDataSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetModels(const Aws::Map< Aws::String, CodegenGenericDataModel > &value)
CodegenJobGenericDataSchema & WithModels(Aws::Map< Aws::String, CodegenGenericDataModel > &&value)
CodegenJobGenericDataSchema & AddNonModels(const Aws::String &key, CodegenGenericDataNonModel &&value)
CodegenJobGenericDataSchema & AddModels(const Aws::String &key, CodegenGenericDataModel &&value)
void SetModels(Aws::Map< Aws::String, CodegenGenericDataModel > &&value)
CodegenJobGenericDataSchema & AddEnums(const char *key, const CodegenGenericDataEnum &value)
void SetNonModels(Aws::Map< Aws::String, CodegenGenericDataNonModel > &&value)
CodegenJobGenericDataSchema & AddEnums(Aws::String &&key, CodegenGenericDataEnum &&value)
CodegenJobGenericDataSchema & AddModels(const char *key, CodegenGenericDataModel &&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