AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename RenderConfigT = CodegenJobRenderConfig>
51 void SetRenderConfig(RenderConfigT&& value) { m_renderConfigHasBeenSet = true; m_renderConfig = std::forward<RenderConfigT>(value); }
52 template<typename RenderConfigT = CodegenJobRenderConfig>
53 StartCodegenJobData& WithRenderConfig(RenderConfigT&& value) { SetRenderConfig(std::forward<RenderConfigT>(value)); return *this;}
55
57
60 inline const CodegenJobGenericDataSchema& GetGenericDataSchema() const { return m_genericDataSchema; }
61 inline bool GenericDataSchemaHasBeenSet() const { return m_genericDataSchemaHasBeenSet; }
62 template<typename GenericDataSchemaT = CodegenJobGenericDataSchema>
63 void SetGenericDataSchema(GenericDataSchemaT&& value) { m_genericDataSchemaHasBeenSet = true; m_genericDataSchema = std::forward<GenericDataSchemaT>(value); }
64 template<typename GenericDataSchemaT = CodegenJobGenericDataSchema>
65 StartCodegenJobData& WithGenericDataSchema(GenericDataSchemaT&& value) { SetGenericDataSchema(std::forward<GenericDataSchemaT>(value)); return *this;}
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 template<typename FeaturesT = CodegenFeatureFlags>
85 void SetFeatures(FeaturesT&& value) { m_featuresHasBeenSet = true; m_features = std::forward<FeaturesT>(value); }
86 template<typename FeaturesT = CodegenFeatureFlags>
87 StartCodegenJobData& WithFeatures(FeaturesT&& value) { SetFeatures(std::forward<FeaturesT>(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 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
98 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
99 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
100 StartCodegenJobData& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
101 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
102 StartCodegenJobData& AddTags(TagsKeyT&& key, TagsValueT&& value) {
103 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
104 }
106 private:
107
108 CodegenJobRenderConfig m_renderConfig;
109 bool m_renderConfigHasBeenSet = false;
110
111 CodegenJobGenericDataSchema m_genericDataSchema;
112 bool m_genericDataSchemaHasBeenSet = false;
113
114 bool m_autoGenerateForms{false};
115 bool m_autoGenerateFormsHasBeenSet = false;
116
117 CodegenFeatureFlags m_features;
118 bool m_featuresHasBeenSet = false;
119
121 bool m_tagsHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace AmplifyUIBuilder
126} // namespace Aws
StartCodegenJobData & WithAutoGenerateForms(bool value)
const CodegenFeatureFlags & GetFeatures() const
StartCodegenJobData & AddTags(TagsKeyT &&key, TagsValueT &&value)
StartCodegenJobData & WithTags(TagsT &&value)
AWS_AMPLIFYUIBUILDER_API StartCodegenJobData()=default
StartCodegenJobData & WithGenericDataSchema(GenericDataSchemaT &&value)
void SetGenericDataSchema(GenericDataSchemaT &&value)
StartCodegenJobData & WithRenderConfig(RenderConfigT &&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)
StartCodegenJobData & WithFeatures(FeaturesT &&value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
const CodegenJobRenderConfig & GetRenderConfig() const
const CodegenJobGenericDataSchema & GetGenericDataSchema() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue