AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetScriptS3Location(const S3Location& value) { m_scriptS3LocationHasBeenSet = true; m_scriptS3Location = value; }
48 inline void SetScriptS3Location(S3Location&& value) { m_scriptS3LocationHasBeenSet = true; m_scriptS3Location = std::move(value); }
49 inline ScriptDetails& WithScriptS3Location(const S3Location& value) { SetScriptS3Location(value); return *this;}
50 inline ScriptDetails& WithScriptS3Location(S3Location&& value) { SetScriptS3Location(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetExecutablePath() const{ return m_executablePath; }
58 inline bool ExecutablePathHasBeenSet() const { return m_executablePathHasBeenSet; }
59 inline void SetExecutablePath(const Aws::String& value) { m_executablePathHasBeenSet = true; m_executablePath = value; }
60 inline void SetExecutablePath(Aws::String&& value) { m_executablePathHasBeenSet = true; m_executablePath = std::move(value); }
61 inline void SetExecutablePath(const char* value) { m_executablePathHasBeenSet = true; m_executablePath.assign(value); }
62 inline ScriptDetails& WithExecutablePath(const Aws::String& value) { SetExecutablePath(value); return *this;}
63 inline ScriptDetails& WithExecutablePath(Aws::String&& value) { SetExecutablePath(std::move(value)); return *this;}
64 inline ScriptDetails& WithExecutablePath(const char* value) { SetExecutablePath(value); return *this;}
66
68
71 inline const Aws::String& GetExecutableParameters() const{ return m_executableParameters; }
72 inline bool ExecutableParametersHasBeenSet() const { return m_executableParametersHasBeenSet; }
73 inline void SetExecutableParameters(const Aws::String& value) { m_executableParametersHasBeenSet = true; m_executableParameters = value; }
74 inline void SetExecutableParameters(Aws::String&& value) { m_executableParametersHasBeenSet = true; m_executableParameters = std::move(value); }
75 inline void SetExecutableParameters(const char* value) { m_executableParametersHasBeenSet = true; m_executableParameters.assign(value); }
76 inline ScriptDetails& WithExecutableParameters(const Aws::String& value) { SetExecutableParameters(value); return *this;}
77 inline ScriptDetails& WithExecutableParameters(Aws::String&& value) { SetExecutableParameters(std::move(value)); return *this;}
78 inline ScriptDetails& WithExecutableParameters(const char* value) { SetExecutableParameters(value); return *this;}
80
82
85 inline int GetTimeoutInSeconds() const{ return m_timeoutInSeconds; }
86 inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; }
87 inline void SetTimeoutInSeconds(int value) { m_timeoutInSecondsHasBeenSet = true; m_timeoutInSeconds = value; }
88 inline ScriptDetails& WithTimeoutInSeconds(int value) { SetTimeoutInSeconds(value); return *this;}
90 private:
91
92 S3Location m_scriptS3Location;
93 bool m_scriptS3LocationHasBeenSet = false;
94
95 Aws::String m_executablePath;
96 bool m_executablePathHasBeenSet = false;
97
98 Aws::String m_executableParameters;
99 bool m_executableParametersHasBeenSet = false;
100
101 int m_timeoutInSeconds;
102 bool m_timeoutInSecondsHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace AppStream
107} // namespace Aws
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
ScriptDetails & WithScriptS3Location(const S3Location &value)
AWS_APPSTREAM_API ScriptDetails(Aws::Utils::Json::JsonView jsonValue)
ScriptDetails & WithExecutablePath(const char *value)
AWS_APPSTREAM_API ScriptDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ScriptDetails & WithExecutablePath(const Aws::String &value)
void SetExecutablePath(const Aws::String &value)
void SetExecutableParameters(Aws::String &&value)
const Aws::String & GetExecutableParameters() const
ScriptDetails & WithExecutableParameters(const Aws::String &value)
ScriptDetails & WithScriptS3Location(S3Location &&value)
ScriptDetails & WithExecutableParameters(Aws::String &&value)
const S3Location & GetScriptS3Location() const
void SetExecutableParameters(const char *value)
ScriptDetails & WithExecutablePath(Aws::String &&value)
const Aws::String & GetExecutablePath() const
void SetExecutablePath(Aws::String &&value)
void SetScriptS3Location(S3Location &&value)
ScriptDetails & WithExecutableParameters(const char *value)
ScriptDetails & WithTimeoutInSeconds(int value)
void SetExecutableParameters(const Aws::String &value)
void SetScriptS3Location(const S3Location &value)
void SetExecutablePath(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue