AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartCodegenJobData.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/amplifyuibuilder/model/CodegenJobRenderConfig.h>
9#include <aws/amplifyuibuilder/model/CodegenJobGenericDataSchema.h>
10#include <aws/amplifyuibuilder/model/CodegenFeatureFlags.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace AmplifyUIBuilder
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_AMPLIFYUIBUILDER_API StartCodegenJobData();
39 AWS_AMPLIFYUIBUILDER_API StartCodegenJobData(Aws::Utils::Json::JsonView jsonValue);
40 AWS_AMPLIFYUIBUILDER_API StartCodegenJobData& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const CodegenJobRenderConfig& GetRenderConfig() const{ return m_renderConfig; }
49 inline bool RenderConfigHasBeenSet() const { return m_renderConfigHasBeenSet; }
50 inline void SetRenderConfig(const CodegenJobRenderConfig& value) { m_renderConfigHasBeenSet = true; m_renderConfig = value; }
51 inline void SetRenderConfig(CodegenJobRenderConfig&& value) { m_renderConfigHasBeenSet = true; m_renderConfig = std::move(value); }
52 inline StartCodegenJobData& WithRenderConfig(const CodegenJobRenderConfig& value) { SetRenderConfig(value); return *this;}
53 inline StartCodegenJobData& WithRenderConfig(CodegenJobRenderConfig&& value) { SetRenderConfig(std::move(value)); return *this;}
55
57
60 inline const CodegenJobGenericDataSchema& GetGenericDataSchema() const{ return m_genericDataSchema; }
61 inline bool GenericDataSchemaHasBeenSet() const { return m_genericDataSchemaHasBeenSet; }
62 inline void SetGenericDataSchema(const CodegenJobGenericDataSchema& value) { m_genericDataSchemaHasBeenSet = true; m_genericDataSchema = value; }
63 inline void SetGenericDataSchema(CodegenJobGenericDataSchema&& value) { m_genericDataSchemaHasBeenSet = true; m_genericDataSchema = std::move(value); }
67
69
72 inline bool GetAutoGenerateForms() const{ return m_autoGenerateForms; }
73 inline bool AutoGenerateFormsHasBeenSet() const { return m_autoGenerateFormsHasBeenSet; }
74 inline void SetAutoGenerateForms(bool value) { m_autoGenerateFormsHasBeenSet = true; m_autoGenerateForms = value; }
75 inline StartCodegenJobData& WithAutoGenerateForms(bool value) { SetAutoGenerateForms(value); return *this;}
77
79
82 inline const CodegenFeatureFlags& GetFeatures() const{ return m_features; }
83 inline bool FeaturesHasBeenSet() const { return m_featuresHasBeenSet; }
84 inline void SetFeatures(const CodegenFeatureFlags& value) { m_featuresHasBeenSet = true; m_features = value; }
85 inline void SetFeatures(CodegenFeatureFlags&& value) { m_featuresHasBeenSet = true; m_features = std::move(value); }
86 inline StartCodegenJobData& WithFeatures(const CodegenFeatureFlags& value) { SetFeatures(value); return *this;}
87 inline StartCodegenJobData& WithFeatures(CodegenFeatureFlags&& value) { SetFeatures(std::move(value)); return *this;}
89
91
95 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
96 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
97 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
98 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
99 inline StartCodegenJobData& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
100 inline StartCodegenJobData& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
101 inline StartCodegenJobData& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
102 inline StartCodegenJobData& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
103 inline StartCodegenJobData& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
104 inline StartCodegenJobData& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
105 inline StartCodegenJobData& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
106 inline StartCodegenJobData& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
107 inline StartCodegenJobData& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
109 private:
110
111 CodegenJobRenderConfig m_renderConfig;
112 bool m_renderConfigHasBeenSet = false;
113
114 CodegenJobGenericDataSchema m_genericDataSchema;
115 bool m_genericDataSchemaHasBeenSet = false;
116
117 bool m_autoGenerateForms;
118 bool m_autoGenerateFormsHasBeenSet = false;
119
120 CodegenFeatureFlags m_features;
121 bool m_featuresHasBeenSet = false;
122
124 bool m_tagsHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace AmplifyUIBuilder
129} // namespace Aws
StartCodegenJobData & WithAutoGenerateForms(bool value)
void SetGenericDataSchema(CodegenJobGenericDataSchema &&value)
StartCodegenJobData & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
StartCodegenJobData & WithGenericDataSchema(CodegenJobGenericDataSchema &&value)
const CodegenFeatureFlags & GetFeatures() const
void SetGenericDataSchema(const CodegenJobGenericDataSchema &value)
StartCodegenJobData & AddTags(const Aws::String &key, Aws::String &&value)
StartCodegenJobData & WithGenericDataSchema(const CodegenJobGenericDataSchema &value)
void SetRenderConfig(const CodegenJobRenderConfig &value)
StartCodegenJobData & WithRenderConfig(const CodegenJobRenderConfig &value)
StartCodegenJobData & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
StartCodegenJobData & AddTags(Aws::String &&key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
StartCodegenJobData & AddTags(Aws::String &&key, Aws::String &&value)
StartCodegenJobData & WithFeatures(CodegenFeatureFlags &&value)
StartCodegenJobData & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_AMPLIFYUIBUILDER_API StartCodegenJobData & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API StartCodegenJobData(Aws::Utils::Json::JsonView jsonValue)
void SetFeatures(const CodegenFeatureFlags &value)
StartCodegenJobData & AddTags(const char *key, const char *value)
StartCodegenJobData & AddTags(Aws::String &&key, const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
StartCodegenJobData & WithRenderConfig(CodegenJobRenderConfig &&value)
const CodegenJobRenderConfig & GetRenderConfig() const
StartCodegenJobData & WithFeatures(const CodegenFeatureFlags &value)
StartCodegenJobData & AddTags(const char *key, Aws::String &&value)
void SetRenderConfig(CodegenJobRenderConfig &&value)
const CodegenJobGenericDataSchema & GetGenericDataSchema() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&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