AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ReactStartCodegenJobData.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/amplifyuibuilder/model/JSModule.h>
9#include <aws/amplifyuibuilder/model/JSTarget.h>
10#include <aws/amplifyuibuilder/model/JSScript.h>
11#include <aws/amplifyuibuilder/model/ApiConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.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 ReactStartCodegenJobData() = default;
41 AWS_AMPLIFYUIBUILDER_API ReactStartCodegenJobData(Aws::Utils::Json::JsonView jsonValue);
43 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline JSModule GetModule() const { return m_module; }
51 inline bool ModuleHasBeenSet() const { return m_moduleHasBeenSet; }
52 inline void SetModule(JSModule value) { m_moduleHasBeenSet = true; m_module = value; }
53 inline ReactStartCodegenJobData& WithModule(JSModule value) { SetModule(value); return *this;}
55
57
60 inline JSTarget GetTarget() const { return m_target; }
61 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
62 inline void SetTarget(JSTarget value) { m_targetHasBeenSet = true; m_target = value; }
63 inline ReactStartCodegenJobData& WithTarget(JSTarget value) { SetTarget(value); return *this;}
65
67
70 inline JSScript GetScript() const { return m_script; }
71 inline bool ScriptHasBeenSet() const { return m_scriptHasBeenSet; }
72 inline void SetScript(JSScript value) { m_scriptHasBeenSet = true; m_script = value; }
73 inline ReactStartCodegenJobData& WithScript(JSScript value) { SetScript(value); return *this;}
75
77
81 inline bool GetRenderTypeDeclarations() const { return m_renderTypeDeclarations; }
82 inline bool RenderTypeDeclarationsHasBeenSet() const { return m_renderTypeDeclarationsHasBeenSet; }
83 inline void SetRenderTypeDeclarations(bool value) { m_renderTypeDeclarationsHasBeenSet = true; m_renderTypeDeclarations = value; }
86
88
92 inline bool GetInlineSourceMap() const { return m_inlineSourceMap; }
93 inline bool InlineSourceMapHasBeenSet() const { return m_inlineSourceMapHasBeenSet; }
94 inline void SetInlineSourceMap(bool value) { m_inlineSourceMapHasBeenSet = true; m_inlineSourceMap = value; }
95 inline ReactStartCodegenJobData& WithInlineSourceMap(bool value) { SetInlineSourceMap(value); return *this;}
97
99
102 inline const ApiConfiguration& GetApiConfiguration() const { return m_apiConfiguration; }
103 inline bool ApiConfigurationHasBeenSet() const { return m_apiConfigurationHasBeenSet; }
104 template<typename ApiConfigurationT = ApiConfiguration>
105 void SetApiConfiguration(ApiConfigurationT&& value) { m_apiConfigurationHasBeenSet = true; m_apiConfiguration = std::forward<ApiConfigurationT>(value); }
106 template<typename ApiConfigurationT = ApiConfiguration>
107 ReactStartCodegenJobData& WithApiConfiguration(ApiConfigurationT&& value) { SetApiConfiguration(std::forward<ApiConfigurationT>(value)); return *this;}
109
111
115 inline const Aws::Map<Aws::String, Aws::String>& GetDependencies() const { return m_dependencies; }
116 inline bool DependenciesHasBeenSet() const { return m_dependenciesHasBeenSet; }
117 template<typename DependenciesT = Aws::Map<Aws::String, Aws::String>>
118 void SetDependencies(DependenciesT&& value) { m_dependenciesHasBeenSet = true; m_dependencies = std::forward<DependenciesT>(value); }
119 template<typename DependenciesT = Aws::Map<Aws::String, Aws::String>>
120 ReactStartCodegenJobData& WithDependencies(DependenciesT&& value) { SetDependencies(std::forward<DependenciesT>(value)); return *this;}
121 template<typename DependenciesKeyT = Aws::String, typename DependenciesValueT = Aws::String>
122 ReactStartCodegenJobData& AddDependencies(DependenciesKeyT&& key, DependenciesValueT&& value) {
123 m_dependenciesHasBeenSet = true; m_dependencies.emplace(std::forward<DependenciesKeyT>(key), std::forward<DependenciesValueT>(value)); return *this;
124 }
126 private:
127
128 JSModule m_module{JSModule::NOT_SET};
129 bool m_moduleHasBeenSet = false;
130
131 JSTarget m_target{JSTarget::NOT_SET};
132 bool m_targetHasBeenSet = false;
133
134 JSScript m_script{JSScript::NOT_SET};
135 bool m_scriptHasBeenSet = false;
136
137 bool m_renderTypeDeclarations{false};
138 bool m_renderTypeDeclarationsHasBeenSet = false;
139
140 bool m_inlineSourceMap{false};
141 bool m_inlineSourceMapHasBeenSet = false;
142
143 ApiConfiguration m_apiConfiguration;
144 bool m_apiConfigurationHasBeenSet = false;
145
147 bool m_dependenciesHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace AmplifyUIBuilder
152} // namespace Aws
AWS_AMPLIFYUIBUILDER_API ReactStartCodegenJobData(Aws::Utils::Json::JsonView jsonValue)
ReactStartCodegenJobData & WithModule(JSModule value)
ReactStartCodegenJobData & WithDependencies(DependenciesT &&value)
AWS_AMPLIFYUIBUILDER_API ReactStartCodegenJobData()=default
ReactStartCodegenJobData & AddDependencies(DependenciesKeyT &&key, DependenciesValueT &&value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYUIBUILDER_API ReactStartCodegenJobData & operator=(Aws::Utils::Json::JsonView jsonValue)
ReactStartCodegenJobData & WithApiConfiguration(ApiConfigurationT &&value)
ReactStartCodegenJobData & WithTarget(JSTarget value)
ReactStartCodegenJobData & WithRenderTypeDeclarations(bool value)
const Aws::Map< Aws::String, Aws::String > & GetDependencies() const
ReactStartCodegenJobData & WithScript(JSScript value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue