AWS SDK for C++  1.9.44
AWS SDK for C++
ServerProcess.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace GameLift
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
52  inline const Aws::String& GetLaunchPath() const{ return m_launchPath; }
53 
63  inline bool LaunchPathHasBeenSet() const { return m_launchPathHasBeenSet; }
64 
74  inline void SetLaunchPath(const Aws::String& value) { m_launchPathHasBeenSet = true; m_launchPath = value; }
75 
85  inline void SetLaunchPath(Aws::String&& value) { m_launchPathHasBeenSet = true; m_launchPath = std::move(value); }
86 
96  inline void SetLaunchPath(const char* value) { m_launchPathHasBeenSet = true; m_launchPath.assign(value); }
97 
107  inline ServerProcess& WithLaunchPath(const Aws::String& value) { SetLaunchPath(value); return *this;}
108 
118  inline ServerProcess& WithLaunchPath(Aws::String&& value) { SetLaunchPath(std::move(value)); return *this;}
119 
129  inline ServerProcess& WithLaunchPath(const char* value) { SetLaunchPath(value); return *this;}
130 
131 
136  inline const Aws::String& GetParameters() const{ return m_parameters; }
137 
142  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
143 
148  inline void SetParameters(const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters = value; }
149 
154  inline void SetParameters(Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
155 
160  inline void SetParameters(const char* value) { m_parametersHasBeenSet = true; m_parameters.assign(value); }
161 
166  inline ServerProcess& WithParameters(const Aws::String& value) { SetParameters(value); return *this;}
167 
172  inline ServerProcess& WithParameters(Aws::String&& value) { SetParameters(std::move(value)); return *this;}
173 
178  inline ServerProcess& WithParameters(const char* value) { SetParameters(value); return *this;}
179 
180 
185  inline int GetConcurrentExecutions() const{ return m_concurrentExecutions; }
186 
191  inline bool ConcurrentExecutionsHasBeenSet() const { return m_concurrentExecutionsHasBeenSet; }
192 
197  inline void SetConcurrentExecutions(int value) { m_concurrentExecutionsHasBeenSet = true; m_concurrentExecutions = value; }
198 
203  inline ServerProcess& WithConcurrentExecutions(int value) { SetConcurrentExecutions(value); return *this;}
204 
205  private:
206 
207  Aws::String m_launchPath;
208  bool m_launchPathHasBeenSet;
209 
210  Aws::String m_parameters;
211  bool m_parametersHasBeenSet;
212 
213  int m_concurrentExecutions;
214  bool m_concurrentExecutionsHasBeenSet;
215  };
216 
217 } // namespace Model
218 } // namespace GameLift
219 } // namespace Aws
Aws::GameLift::Model::ServerProcess::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GameLift::Model::ServerProcess::WithParameters
ServerProcess & WithParameters(const char *value)
Definition: ServerProcess.h:178
Aws::GameLift::Model::ServerProcess::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: ServerProcess.h:142
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::ServerProcess::WithLaunchPath
ServerProcess & WithLaunchPath(Aws::String &&value)
Definition: ServerProcess.h:118
Aws::GameLift::Model::ServerProcess::SetLaunchPath
void SetLaunchPath(const char *value)
Definition: ServerProcess.h:96
Aws::GameLift::Model::ServerProcess::SetLaunchPath
void SetLaunchPath(const Aws::String &value)
Definition: ServerProcess.h:74
Aws::GameLift::Model::ServerProcess::SetParameters
void SetParameters(const Aws::String &value)
Definition: ServerProcess.h:148
GameLift_EXPORTS.h
Aws::GameLift::Model::ServerProcess::GetConcurrentExecutions
int GetConcurrentExecutions() const
Definition: ServerProcess.h:185
Aws::GameLift::Model::ServerProcess::WithParameters
ServerProcess & WithParameters(Aws::String &&value)
Definition: ServerProcess.h:172
Aws::GameLift::Model::ServerProcess::WithLaunchPath
ServerProcess & WithLaunchPath(const char *value)
Definition: ServerProcess.h:129
Aws::GameLift::Model::ServerProcess::SetLaunchPath
void SetLaunchPath(Aws::String &&value)
Definition: ServerProcess.h:85
Aws::GameLift::Model::ServerProcess::SetParameters
void SetParameters(const char *value)
Definition: ServerProcess.h:160
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GameLift::Model::ServerProcess::GetParameters
const Aws::String & GetParameters() const
Definition: ServerProcess.h:136
Aws::GameLift::Model::ServerProcess::WithLaunchPath
ServerProcess & WithLaunchPath(const Aws::String &value)
Definition: ServerProcess.h:107
Aws::GameLift::Model::ServerProcess::LaunchPathHasBeenSet
bool LaunchPathHasBeenSet() const
Definition: ServerProcess.h:63
Aws::GameLift::Model::ServerProcess::ConcurrentExecutionsHasBeenSet
bool ConcurrentExecutionsHasBeenSet() const
Definition: ServerProcess.h:191
Aws::GameLift::Model::ServerProcess::WithConcurrentExecutions
ServerProcess & WithConcurrentExecutions(int value)
Definition: ServerProcess.h:203
Aws::GameLift::Model::ServerProcess::operator=
ServerProcess & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::ServerProcess
Definition: ServerProcess.h:35
Aws::GameLift::Model::ServerProcess::WithParameters
ServerProcess & WithParameters(const Aws::String &value)
Definition: ServerProcess.h:166
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::ServerProcess::ServerProcess
ServerProcess()
Aws::GameLift::Model::ServerProcess::ServerProcess
ServerProcess(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::ServerProcess::SetParameters
void SetParameters(Aws::String &&value)
Definition: ServerProcess.h:154
Aws::GameLift::Model::ServerProcess::GetLaunchPath
const Aws::String & GetLaunchPath() const
Definition: ServerProcess.h:52
Aws::GameLift::Model::ServerProcess::SetConcurrentExecutions
void SetConcurrentExecutions(int value)
Definition: ServerProcess.h:197