AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ServerProcess.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gamelift/GameLift_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GameLift {
20namespace Model {
21
31 public:
32 AWS_GAMELIFT_API ServerProcess() = default;
33 AWS_GAMELIFT_API ServerProcess(Aws::Utils::Json::JsonView jsonValue);
35 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
50 inline const Aws::String& GetLaunchPath() const { return m_launchPath; }
51 inline bool LaunchPathHasBeenSet() const { return m_launchPathHasBeenSet; }
52 template <typename LaunchPathT = Aws::String>
53 void SetLaunchPath(LaunchPathT&& value) {
54 m_launchPathHasBeenSet = true;
55 m_launchPath = std::forward<LaunchPathT>(value);
56 }
57 template <typename LaunchPathT = Aws::String>
58 ServerProcess& WithLaunchPath(LaunchPathT&& value) {
59 SetLaunchPath(std::forward<LaunchPathT>(value));
60 return *this;
61 }
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) {
73 m_parametersHasBeenSet = true;
74 m_parameters = std::forward<ParametersT>(value);
75 }
76 template <typename ParametersT = Aws::String>
77 ServerProcess& WithParameters(ParametersT&& value) {
78 SetParameters(std::forward<ParametersT>(value));
79 return *this;
80 }
82
84
88 inline int GetConcurrentExecutions() const { return m_concurrentExecutions; }
89 inline bool ConcurrentExecutionsHasBeenSet() const { return m_concurrentExecutionsHasBeenSet; }
90 inline void SetConcurrentExecutions(int value) {
91 m_concurrentExecutionsHasBeenSet = true;
92 m_concurrentExecutions = value;
93 }
96 return *this;
97 }
99 private:
100 Aws::String m_launchPath;
101
102 Aws::String m_parameters;
103
104 int m_concurrentExecutions{0};
105 bool m_launchPathHasBeenSet = false;
106 bool m_parametersHasBeenSet = false;
107 bool m_concurrentExecutionsHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace GameLift
112} // 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