AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const JSModule& GetModule() const{ return m_module; }
51 inline bool ModuleHasBeenSet() const { return m_moduleHasBeenSet; }
52 inline void SetModule(const JSModule& value) { m_moduleHasBeenSet = true; m_module = value; }
53 inline void SetModule(JSModule&& value) { m_moduleHasBeenSet = true; m_module = std::move(value); }
54 inline ReactStartCodegenJobData& WithModule(const JSModule& value) { SetModule(value); return *this;}
55 inline ReactStartCodegenJobData& WithModule(JSModule&& value) { SetModule(std::move(value)); return *this;}
57
59
62 inline const JSTarget& GetTarget() const{ return m_target; }
63 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
64 inline void SetTarget(const JSTarget& value) { m_targetHasBeenSet = true; m_target = value; }
65 inline void SetTarget(JSTarget&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
66 inline ReactStartCodegenJobData& WithTarget(const JSTarget& value) { SetTarget(value); return *this;}
67 inline ReactStartCodegenJobData& WithTarget(JSTarget&& value) { SetTarget(std::move(value)); return *this;}
69
71
74 inline const JSScript& GetScript() const{ return m_script; }
75 inline bool ScriptHasBeenSet() const { return m_scriptHasBeenSet; }
76 inline void SetScript(const JSScript& value) { m_scriptHasBeenSet = true; m_script = value; }
77 inline void SetScript(JSScript&& value) { m_scriptHasBeenSet = true; m_script = std::move(value); }
78 inline ReactStartCodegenJobData& WithScript(const JSScript& value) { SetScript(value); return *this;}
79 inline ReactStartCodegenJobData& WithScript(JSScript&& value) { SetScript(std::move(value)); return *this;}
81
83
87 inline bool GetRenderTypeDeclarations() const{ return m_renderTypeDeclarations; }
88 inline bool RenderTypeDeclarationsHasBeenSet() const { return m_renderTypeDeclarationsHasBeenSet; }
89 inline void SetRenderTypeDeclarations(bool value) { m_renderTypeDeclarationsHasBeenSet = true; m_renderTypeDeclarations = value; }
92
94
98 inline bool GetInlineSourceMap() const{ return m_inlineSourceMap; }
99 inline bool InlineSourceMapHasBeenSet() const { return m_inlineSourceMapHasBeenSet; }
100 inline void SetInlineSourceMap(bool value) { m_inlineSourceMapHasBeenSet = true; m_inlineSourceMap = value; }
101 inline ReactStartCodegenJobData& WithInlineSourceMap(bool value) { SetInlineSourceMap(value); return *this;}
103
105
108 inline const ApiConfiguration& GetApiConfiguration() const{ return m_apiConfiguration; }
109 inline bool ApiConfigurationHasBeenSet() const { return m_apiConfigurationHasBeenSet; }
110 inline void SetApiConfiguration(const ApiConfiguration& value) { m_apiConfigurationHasBeenSet = true; m_apiConfiguration = value; }
111 inline void SetApiConfiguration(ApiConfiguration&& value) { m_apiConfigurationHasBeenSet = true; m_apiConfiguration = std::move(value); }
113 inline ReactStartCodegenJobData& WithApiConfiguration(ApiConfiguration&& value) { SetApiConfiguration(std::move(value)); return *this;}
115
117
121 inline const Aws::Map<Aws::String, Aws::String>& GetDependencies() const{ return m_dependencies; }
122 inline bool DependenciesHasBeenSet() const { return m_dependenciesHasBeenSet; }
123 inline void SetDependencies(const Aws::Map<Aws::String, Aws::String>& value) { m_dependenciesHasBeenSet = true; m_dependencies = value; }
124 inline void SetDependencies(Aws::Map<Aws::String, Aws::String>&& value) { m_dependenciesHasBeenSet = true; m_dependencies = std::move(value); }
127 inline ReactStartCodegenJobData& AddDependencies(const Aws::String& key, const Aws::String& value) { m_dependenciesHasBeenSet = true; m_dependencies.emplace(key, value); return *this; }
128 inline ReactStartCodegenJobData& AddDependencies(Aws::String&& key, const Aws::String& value) { m_dependenciesHasBeenSet = true; m_dependencies.emplace(std::move(key), value); return *this; }
129 inline ReactStartCodegenJobData& AddDependencies(const Aws::String& key, Aws::String&& value) { m_dependenciesHasBeenSet = true; m_dependencies.emplace(key, std::move(value)); return *this; }
130 inline ReactStartCodegenJobData& AddDependencies(Aws::String&& key, Aws::String&& value) { m_dependenciesHasBeenSet = true; m_dependencies.emplace(std::move(key), std::move(value)); return *this; }
131 inline ReactStartCodegenJobData& AddDependencies(const char* key, Aws::String&& value) { m_dependenciesHasBeenSet = true; m_dependencies.emplace(key, std::move(value)); return *this; }
132 inline ReactStartCodegenJobData& AddDependencies(Aws::String&& key, const char* value) { m_dependenciesHasBeenSet = true; m_dependencies.emplace(std::move(key), value); return *this; }
133 inline ReactStartCodegenJobData& AddDependencies(const char* key, const char* value) { m_dependenciesHasBeenSet = true; m_dependencies.emplace(key, value); return *this; }
135 private:
136
137 JSModule m_module;
138 bool m_moduleHasBeenSet = false;
139
140 JSTarget m_target;
141 bool m_targetHasBeenSet = false;
142
143 JSScript m_script;
144 bool m_scriptHasBeenSet = false;
145
146 bool m_renderTypeDeclarations;
147 bool m_renderTypeDeclarationsHasBeenSet = false;
148
149 bool m_inlineSourceMap;
150 bool m_inlineSourceMapHasBeenSet = false;
151
152 ApiConfiguration m_apiConfiguration;
153 bool m_apiConfigurationHasBeenSet = false;
154
156 bool m_dependenciesHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace AmplifyUIBuilder
161} // namespace Aws
ReactStartCodegenJobData & WithModule(const JSModule &value)
AWS_AMPLIFYUIBUILDER_API ReactStartCodegenJobData(Aws::Utils::Json::JsonView jsonValue)
ReactStartCodegenJobData & AddDependencies(Aws::String &&key, const char *value)
ReactStartCodegenJobData & WithDependencies(Aws::Map< Aws::String, Aws::String > &&value)
ReactStartCodegenJobData & WithModule(JSModule &&value)
ReactStartCodegenJobData & AddDependencies(const Aws::String &key, const Aws::String &value)
ReactStartCodegenJobData & WithDependencies(const Aws::Map< Aws::String, Aws::String > &value)
ReactStartCodegenJobData & WithTarget(JSTarget &&value)
ReactStartCodegenJobData & WithTarget(const JSTarget &value)
ReactStartCodegenJobData & AddDependencies(const char *key, Aws::String &&value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYUIBUILDER_API ReactStartCodegenJobData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDependencies(Aws::Map< Aws::String, Aws::String > &&value)
ReactStartCodegenJobData & WithApiConfiguration(const ApiConfiguration &value)
ReactStartCodegenJobData & WithScript(JSScript &&value)
ReactStartCodegenJobData & AddDependencies(Aws::String &&key, const Aws::String &value)
ReactStartCodegenJobData & WithRenderTypeDeclarations(bool value)
void SetDependencies(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetDependencies() const
ReactStartCodegenJobData & AddDependencies(const Aws::String &key, Aws::String &&value)
ReactStartCodegenJobData & AddDependencies(Aws::String &&key, Aws::String &&value)
ReactStartCodegenJobData & WithApiConfiguration(ApiConfiguration &&value)
ReactStartCodegenJobData & WithScript(const JSScript &value)
ReactStartCodegenJobData & AddDependencies(const char *key, const char *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