AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ScriptDetails.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/model/S3Location.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppStream
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_APPSTREAM_API ScriptDetails() = default;
36 AWS_APPSTREAM_API ScriptDetails(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPSTREAM_API ScriptDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const S3Location& GetScriptS3Location() const { return m_scriptS3Location; }
46 inline bool ScriptS3LocationHasBeenSet() const { return m_scriptS3LocationHasBeenSet; }
47 template<typename ScriptS3LocationT = S3Location>
48 void SetScriptS3Location(ScriptS3LocationT&& value) { m_scriptS3LocationHasBeenSet = true; m_scriptS3Location = std::forward<ScriptS3LocationT>(value); }
49 template<typename ScriptS3LocationT = S3Location>
50 ScriptDetails& WithScriptS3Location(ScriptS3LocationT&& value) { SetScriptS3Location(std::forward<ScriptS3LocationT>(value)); return *this;}
52
54
57 inline const Aws::String& GetExecutablePath() const { return m_executablePath; }
58 inline bool ExecutablePathHasBeenSet() const { return m_executablePathHasBeenSet; }
59 template<typename ExecutablePathT = Aws::String>
60 void SetExecutablePath(ExecutablePathT&& value) { m_executablePathHasBeenSet = true; m_executablePath = std::forward<ExecutablePathT>(value); }
61 template<typename ExecutablePathT = Aws::String>
62 ScriptDetails& WithExecutablePath(ExecutablePathT&& value) { SetExecutablePath(std::forward<ExecutablePathT>(value)); return *this;}
64
66
69 inline const Aws::String& GetExecutableParameters() const { return m_executableParameters; }
70 inline bool ExecutableParametersHasBeenSet() const { return m_executableParametersHasBeenSet; }
71 template<typename ExecutableParametersT = Aws::String>
72 void SetExecutableParameters(ExecutableParametersT&& value) { m_executableParametersHasBeenSet = true; m_executableParameters = std::forward<ExecutableParametersT>(value); }
73 template<typename ExecutableParametersT = Aws::String>
74 ScriptDetails& WithExecutableParameters(ExecutableParametersT&& value) { SetExecutableParameters(std::forward<ExecutableParametersT>(value)); return *this;}
76
78
81 inline int GetTimeoutInSeconds() const { return m_timeoutInSeconds; }
82 inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; }
83 inline void SetTimeoutInSeconds(int value) { m_timeoutInSecondsHasBeenSet = true; m_timeoutInSeconds = value; }
84 inline ScriptDetails& WithTimeoutInSeconds(int value) { SetTimeoutInSeconds(value); return *this;}
86 private:
87
88 S3Location m_scriptS3Location;
89 bool m_scriptS3LocationHasBeenSet = false;
90
91 Aws::String m_executablePath;
92 bool m_executablePathHasBeenSet = false;
93
94 Aws::String m_executableParameters;
95 bool m_executableParametersHasBeenSet = false;
96
97 int m_timeoutInSeconds{0};
98 bool m_timeoutInSecondsHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace AppStream
103} // namespace Aws
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPSTREAM_API ScriptDetails(Aws::Utils::Json::JsonView jsonValue)
ScriptDetails & WithExecutableParameters(ExecutableParametersT &&value)
AWS_APPSTREAM_API ScriptDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetScriptS3Location(ScriptS3LocationT &&value)
const Aws::String & GetExecutableParameters() const
const S3Location & GetScriptS3Location() const
void SetExecutablePath(ExecutablePathT &&value)
void SetExecutableParameters(ExecutableParametersT &&value)
const Aws::String & GetExecutablePath() const
AWS_APPSTREAM_API ScriptDetails()=default
ScriptDetails & WithTimeoutInSeconds(int value)
ScriptDetails & WithExecutablePath(ExecutablePathT &&value)
ScriptDetails & WithScriptS3Location(ScriptS3LocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue