AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ApplicationConfig.h
1
6#pragma once
7#include <aws/appstream/AppStream_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 AppStream {
20namespace Model {
21
30 public:
31 AWS_APPSTREAM_API ApplicationConfig() = default;
32 AWS_APPSTREAM_API ApplicationConfig(Aws::Utils::Json::JsonView jsonValue);
34 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
50 ApplicationConfig& WithName(NameT&& value) {
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
62 inline const Aws::String& GetDisplayName() const { return m_displayName; }
63 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
64 template <typename DisplayNameT = Aws::String>
65 void SetDisplayName(DisplayNameT&& value) {
66 m_displayNameHasBeenSet = true;
67 m_displayName = std::forward<DisplayNameT>(value);
68 }
69 template <typename DisplayNameT = Aws::String>
70 ApplicationConfig& WithDisplayName(DisplayNameT&& value) {
71 SetDisplayName(std::forward<DisplayNameT>(value));
72 return *this;
73 }
75
77
83 inline const Aws::String& GetAbsoluteAppPath() const { return m_absoluteAppPath; }
84 inline bool AbsoluteAppPathHasBeenSet() const { return m_absoluteAppPathHasBeenSet; }
85 template <typename AbsoluteAppPathT = Aws::String>
86 void SetAbsoluteAppPath(AbsoluteAppPathT&& value) {
87 m_absoluteAppPathHasBeenSet = true;
88 m_absoluteAppPath = std::forward<AbsoluteAppPathT>(value);
89 }
90 template <typename AbsoluteAppPathT = Aws::String>
91 ApplicationConfig& WithAbsoluteAppPath(AbsoluteAppPathT&& value) {
92 SetAbsoluteAppPath(std::forward<AbsoluteAppPathT>(value));
93 return *this;
94 }
96
98
104 inline const Aws::String& GetAbsoluteIconPath() const { return m_absoluteIconPath; }
105 inline bool AbsoluteIconPathHasBeenSet() const { return m_absoluteIconPathHasBeenSet; }
106 template <typename AbsoluteIconPathT = Aws::String>
107 void SetAbsoluteIconPath(AbsoluteIconPathT&& value) {
108 m_absoluteIconPathHasBeenSet = true;
109 m_absoluteIconPath = std::forward<AbsoluteIconPathT>(value);
110 }
111 template <typename AbsoluteIconPathT = Aws::String>
112 ApplicationConfig& WithAbsoluteIconPath(AbsoluteIconPathT&& value) {
113 SetAbsoluteIconPath(std::forward<AbsoluteIconPathT>(value));
114 return *this;
115 }
117
119
125 inline const Aws::String& GetAbsoluteManifestPath() const { return m_absoluteManifestPath; }
126 inline bool AbsoluteManifestPathHasBeenSet() const { return m_absoluteManifestPathHasBeenSet; }
127 template <typename AbsoluteManifestPathT = Aws::String>
128 void SetAbsoluteManifestPath(AbsoluteManifestPathT&& value) {
129 m_absoluteManifestPathHasBeenSet = true;
130 m_absoluteManifestPath = std::forward<AbsoluteManifestPathT>(value);
131 }
132 template <typename AbsoluteManifestPathT = Aws::String>
133 ApplicationConfig& WithAbsoluteManifestPath(AbsoluteManifestPathT&& value) {
134 SetAbsoluteManifestPath(std::forward<AbsoluteManifestPathT>(value));
135 return *this;
136 }
138
140
145 inline const Aws::String& GetWorkingDirectory() const { return m_workingDirectory; }
146 inline bool WorkingDirectoryHasBeenSet() const { return m_workingDirectoryHasBeenSet; }
147 template <typename WorkingDirectoryT = Aws::String>
148 void SetWorkingDirectory(WorkingDirectoryT&& value) {
149 m_workingDirectoryHasBeenSet = true;
150 m_workingDirectory = std::forward<WorkingDirectoryT>(value);
151 }
152 template <typename WorkingDirectoryT = Aws::String>
153 ApplicationConfig& WithWorkingDirectory(WorkingDirectoryT&& value) {
154 SetWorkingDirectory(std::forward<WorkingDirectoryT>(value));
155 return *this;
156 }
158
160
166 inline const Aws::String& GetLaunchParameters() const { return m_launchParameters; }
167 inline bool LaunchParametersHasBeenSet() const { return m_launchParametersHasBeenSet; }
168 template <typename LaunchParametersT = Aws::String>
169 void SetLaunchParameters(LaunchParametersT&& value) {
170 m_launchParametersHasBeenSet = true;
171 m_launchParameters = std::forward<LaunchParametersT>(value);
172 }
173 template <typename LaunchParametersT = Aws::String>
174 ApplicationConfig& WithLaunchParameters(LaunchParametersT&& value) {
175 SetLaunchParameters(std::forward<LaunchParametersT>(value));
176 return *this;
177 }
179 private:
180 Aws::String m_name;
181
182 Aws::String m_displayName;
183
184 Aws::String m_absoluteAppPath;
185
186 Aws::String m_absoluteIconPath;
187
188 Aws::String m_absoluteManifestPath;
189
190 Aws::String m_workingDirectory;
191
192 Aws::String m_launchParameters;
193 bool m_nameHasBeenSet = false;
194 bool m_displayNameHasBeenSet = false;
195 bool m_absoluteAppPathHasBeenSet = false;
196 bool m_absoluteIconPathHasBeenSet = false;
197 bool m_absoluteManifestPathHasBeenSet = false;
198 bool m_workingDirectoryHasBeenSet = false;
199 bool m_launchParametersHasBeenSet = false;
200};
201
202} // namespace Model
203} // namespace AppStream
204} // namespace Aws
const Aws::String & GetLaunchParameters() const
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetAbsoluteIconPath() const
const Aws::String & GetDisplayName() const
void SetAbsoluteAppPath(AbsoluteAppPathT &&value)
AWS_APPSTREAM_API ApplicationConfig(Aws::Utils::Json::JsonView jsonValue)
ApplicationConfig & WithAbsoluteIconPath(AbsoluteIconPathT &&value)
AWS_APPSTREAM_API ApplicationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationConfig & WithAbsoluteAppPath(AbsoluteAppPathT &&value)
AWS_APPSTREAM_API ApplicationConfig()=default
ApplicationConfig & WithDisplayName(DisplayNameT &&value)
ApplicationConfig & WithLaunchParameters(LaunchParametersT &&value)
ApplicationConfig & WithWorkingDirectory(WorkingDirectoryT &&value)
const Aws::String & GetAbsoluteManifestPath() const
void SetAbsoluteIconPath(AbsoluteIconPathT &&value)
void SetLaunchParameters(LaunchParametersT &&value)
const Aws::String & GetAbsoluteAppPath() const
void SetAbsoluteManifestPath(AbsoluteManifestPathT &&value)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
ApplicationConfig & WithName(NameT &&value)
void SetWorkingDirectory(WorkingDirectoryT &&value)
ApplicationConfig & WithAbsoluteManifestPath(AbsoluteManifestPathT &&value)
const Aws::String & GetWorkingDirectory() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue