AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
AppBuildConfigRequest.h
1
6#pragma once
7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AmplifyGen3 {
20namespace Model {
21
28 public:
29 AWS_AMPLIFYGEN3_API AppBuildConfigRequest() = default;
30 AWS_AMPLIFYGEN3_API AppBuildConfigRequest(Aws::Utils::Json::JsonView jsonValue);
32 AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetInstallCommand() const { return m_installCommand; }
39 inline bool InstallCommandHasBeenSet() const { return m_installCommandHasBeenSet; }
40 template <typename InstallCommandT = Aws::String>
41 void SetInstallCommand(InstallCommandT&& value) {
42 m_installCommandHasBeenSet = true;
43 m_installCommand = std::forward<InstallCommandT>(value);
44 }
45 template <typename InstallCommandT = Aws::String>
46 AppBuildConfigRequest& WithInstallCommand(InstallCommandT&& value) {
47 SetInstallCommand(std::forward<InstallCommandT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetBuildCommand() const { return m_buildCommand; }
57 inline bool BuildCommandHasBeenSet() const { return m_buildCommandHasBeenSet; }
58 template <typename BuildCommandT = Aws::String>
59 void SetBuildCommand(BuildCommandT&& value) {
60 m_buildCommandHasBeenSet = true;
61 m_buildCommand = std::forward<BuildCommandT>(value);
62 }
63 template <typename BuildCommandT = Aws::String>
64 AppBuildConfigRequest& WithBuildCommand(BuildCommandT&& value) {
65 SetBuildCommand(std::forward<BuildCommandT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetRootDirectory() const { return m_rootDirectory; }
75 inline bool RootDirectoryHasBeenSet() const { return m_rootDirectoryHasBeenSet; }
76 template <typename RootDirectoryT = Aws::String>
77 void SetRootDirectory(RootDirectoryT&& value) {
78 m_rootDirectoryHasBeenSet = true;
79 m_rootDirectory = std::forward<RootDirectoryT>(value);
80 }
81 template <typename RootDirectoryT = Aws::String>
82 AppBuildConfigRequest& WithRootDirectory(RootDirectoryT&& value) {
83 SetRootDirectory(std::forward<RootDirectoryT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetOutputDirectory() const { return m_outputDirectory; }
93 inline bool OutputDirectoryHasBeenSet() const { return m_outputDirectoryHasBeenSet; }
94 template <typename OutputDirectoryT = Aws::String>
95 void SetOutputDirectory(OutputDirectoryT&& value) {
96 m_outputDirectoryHasBeenSet = true;
97 m_outputDirectory = std::forward<OutputDirectoryT>(value);
98 }
99 template <typename OutputDirectoryT = Aws::String>
100 AppBuildConfigRequest& WithOutputDirectory(OutputDirectoryT&& value) {
101 SetOutputDirectory(std::forward<OutputDirectoryT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_installCommand;
107
108 Aws::String m_buildCommand;
109
110 Aws::String m_rootDirectory;
111
112 Aws::String m_outputDirectory;
113 bool m_installCommandHasBeenSet = false;
114 bool m_buildCommandHasBeenSet = false;
115 bool m_rootDirectoryHasBeenSet = false;
116 bool m_outputDirectoryHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace AmplifyGen3
121} // namespace Aws
AWS_AMPLIFYGEN3_API AppBuildConfigRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYGEN3_API AppBuildConfigRequest()=default
AWS_AMPLIFYGEN3_API AppBuildConfigRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const
AppBuildConfigRequest & WithRootDirectory(RootDirectoryT &&value)
AppBuildConfigRequest & WithBuildCommand(BuildCommandT &&value)
AppBuildConfigRequest & WithInstallCommand(InstallCommandT &&value)
AppBuildConfigRequest & WithOutputDirectory(OutputDirectoryT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue