AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServerProcess.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GameLift
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_GAMELIFT_API ServerProcess();
38 AWS_GAMELIFT_API ServerProcess(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
56 inline const Aws::String& GetLaunchPath() const{ return m_launchPath; }
57 inline bool LaunchPathHasBeenSet() const { return m_launchPathHasBeenSet; }
58 inline void SetLaunchPath(const Aws::String& value) { m_launchPathHasBeenSet = true; m_launchPath = value; }
59 inline void SetLaunchPath(Aws::String&& value) { m_launchPathHasBeenSet = true; m_launchPath = std::move(value); }
60 inline void SetLaunchPath(const char* value) { m_launchPathHasBeenSet = true; m_launchPath.assign(value); }
61 inline ServerProcess& WithLaunchPath(const Aws::String& value) { SetLaunchPath(value); return *this;}
62 inline ServerProcess& WithLaunchPath(Aws::String&& value) { SetLaunchPath(std::move(value)); return *this;}
63 inline ServerProcess& WithLaunchPath(const char* value) { SetLaunchPath(value); return *this;}
65
67
71 inline const Aws::String& GetParameters() const{ return m_parameters; }
72 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
73 inline void SetParameters(const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters = value; }
74 inline void SetParameters(Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
75 inline void SetParameters(const char* value) { m_parametersHasBeenSet = true; m_parameters.assign(value); }
76 inline ServerProcess& WithParameters(const Aws::String& value) { SetParameters(value); return *this;}
77 inline ServerProcess& WithParameters(Aws::String&& value) { SetParameters(std::move(value)); return *this;}
78 inline ServerProcess& WithParameters(const char* value) { SetParameters(value); return *this;}
80
82
86 inline int GetConcurrentExecutions() const{ return m_concurrentExecutions; }
87 inline bool ConcurrentExecutionsHasBeenSet() const { return m_concurrentExecutionsHasBeenSet; }
88 inline void SetConcurrentExecutions(int value) { m_concurrentExecutionsHasBeenSet = true; m_concurrentExecutions = value; }
89 inline ServerProcess& WithConcurrentExecutions(int value) { SetConcurrentExecutions(value); return *this;}
91 private:
92
93 Aws::String m_launchPath;
94 bool m_launchPathHasBeenSet = false;
95
96 Aws::String m_parameters;
97 bool m_parametersHasBeenSet = false;
98
99 int m_concurrentExecutions;
100 bool m_concurrentExecutionsHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace GameLift
105} // namespace Aws
void SetParameters(Aws::String &&value)
AWS_GAMELIFT_API ServerProcess & operator=(Aws::Utils::Json::JsonView jsonValue)
ServerProcess & WithConcurrentExecutions(int value)
const Aws::String & GetParameters() const
AWS_GAMELIFT_API ServerProcess(Aws::Utils::Json::JsonView jsonValue)
void SetLaunchPath(Aws::String &&value)
const Aws::String & GetLaunchPath() const
ServerProcess & WithLaunchPath(const char *value)
void SetParameters(const char *value)
ServerProcess & WithParameters(Aws::String &&value)
ServerProcess & WithParameters(const char *value)
void SetParameters(const Aws::String &value)
void SetLaunchPath(const Aws::String &value)
ServerProcess & WithLaunchPath(const Aws::String &value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
ServerProcess & WithParameters(const Aws::String &value)
void SetLaunchPath(const char *value)
ServerProcess & WithLaunchPath(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue