AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename LaunchPathT = Aws::String>
59 void SetLaunchPath(LaunchPathT&& value) { m_launchPathHasBeenSet = true; m_launchPath = std::forward<LaunchPathT>(value); }
60 template<typename LaunchPathT = Aws::String>
61 ServerProcess& WithLaunchPath(LaunchPathT&& value) { SetLaunchPath(std::forward<LaunchPathT>(value)); return *this;}
63
65
69 inline const Aws::String& GetParameters() const { return m_parameters; }
70 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
71 template<typename ParametersT = Aws::String>
72 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
73 template<typename ParametersT = Aws::String>
74 ServerProcess& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
76
78
82 inline int GetConcurrentExecutions() const { return m_concurrentExecutions; }
83 inline bool ConcurrentExecutionsHasBeenSet() const { return m_concurrentExecutionsHasBeenSet; }
84 inline void SetConcurrentExecutions(int value) { m_concurrentExecutionsHasBeenSet = true; m_concurrentExecutions = value; }
85 inline ServerProcess& WithConcurrentExecutions(int value) { SetConcurrentExecutions(value); return *this;}
87 private:
88
89 Aws::String m_launchPath;
90 bool m_launchPathHasBeenSet = false;
91
92 Aws::String m_parameters;
93 bool m_parametersHasBeenSet = false;
94
95 int m_concurrentExecutions{0};
96 bool m_concurrentExecutionsHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace GameLift
101} // namespace Aws
void SetParameters(ParametersT &&value)
AWS_GAMELIFT_API ServerProcess & operator=(Aws::Utils::Json::JsonView jsonValue)
ServerProcess & WithConcurrentExecutions(int value)
ServerProcess & WithParameters(ParametersT &&value)
const Aws::String & GetParameters() const
AWS_GAMELIFT_API ServerProcess(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLaunchPath() const
ServerProcess & WithLaunchPath(LaunchPathT &&value)
void SetLaunchPath(LaunchPathT &&value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GAMELIFT_API ServerProcess()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue