/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the details of the script.See Also:
AWS
* API Reference
The S3 object location for the script.
*/ inline const S3Location& GetScriptS3Location() const{ return m_scriptS3Location; } /** *The S3 object location for the script.
*/ inline bool ScriptS3LocationHasBeenSet() const { return m_scriptS3LocationHasBeenSet; } /** *The S3 object location for the script.
*/ inline void SetScriptS3Location(const S3Location& value) { m_scriptS3LocationHasBeenSet = true; m_scriptS3Location = value; } /** *The S3 object location for the script.
*/ inline void SetScriptS3Location(S3Location&& value) { m_scriptS3LocationHasBeenSet = true; m_scriptS3Location = std::move(value); } /** *The S3 object location for the script.
*/ inline ScriptDetails& WithScriptS3Location(const S3Location& value) { SetScriptS3Location(value); return *this;} /** *The S3 object location for the script.
*/ inline ScriptDetails& WithScriptS3Location(S3Location&& value) { SetScriptS3Location(std::move(value)); return *this;} /** *The run path for the script.
*/ inline const Aws::String& GetExecutablePath() const{ return m_executablePath; } /** *The run path for the script.
*/ inline bool ExecutablePathHasBeenSet() const { return m_executablePathHasBeenSet; } /** *The run path for the script.
*/ inline void SetExecutablePath(const Aws::String& value) { m_executablePathHasBeenSet = true; m_executablePath = value; } /** *The run path for the script.
*/ inline void SetExecutablePath(Aws::String&& value) { m_executablePathHasBeenSet = true; m_executablePath = std::move(value); } /** *The run path for the script.
*/ inline void SetExecutablePath(const char* value) { m_executablePathHasBeenSet = true; m_executablePath.assign(value); } /** *The run path for the script.
*/ inline ScriptDetails& WithExecutablePath(const Aws::String& value) { SetExecutablePath(value); return *this;} /** *The run path for the script.
*/ inline ScriptDetails& WithExecutablePath(Aws::String&& value) { SetExecutablePath(std::move(value)); return *this;} /** *The run path for the script.
*/ inline ScriptDetails& WithExecutablePath(const char* value) { SetExecutablePath(value); return *this;} /** *The runtime parameters passed to the run path for the script.
*/ inline const Aws::String& GetExecutableParameters() const{ return m_executableParameters; } /** *The runtime parameters passed to the run path for the script.
*/ inline bool ExecutableParametersHasBeenSet() const { return m_executableParametersHasBeenSet; } /** *The runtime parameters passed to the run path for the script.
*/ inline void SetExecutableParameters(const Aws::String& value) { m_executableParametersHasBeenSet = true; m_executableParameters = value; } /** *The runtime parameters passed to the run path for the script.
*/ inline void SetExecutableParameters(Aws::String&& value) { m_executableParametersHasBeenSet = true; m_executableParameters = std::move(value); } /** *The runtime parameters passed to the run path for the script.
*/ inline void SetExecutableParameters(const char* value) { m_executableParametersHasBeenSet = true; m_executableParameters.assign(value); } /** *The runtime parameters passed to the run path for the script.
*/ inline ScriptDetails& WithExecutableParameters(const Aws::String& value) { SetExecutableParameters(value); return *this;} /** *The runtime parameters passed to the run path for the script.
*/ inline ScriptDetails& WithExecutableParameters(Aws::String&& value) { SetExecutableParameters(std::move(value)); return *this;} /** *The runtime parameters passed to the run path for the script.
*/ inline ScriptDetails& WithExecutableParameters(const char* value) { SetExecutableParameters(value); return *this;} /** *The run timeout, in seconds, for the script.
*/ inline int GetTimeoutInSeconds() const{ return m_timeoutInSeconds; } /** *The run timeout, in seconds, for the script.
*/ inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; } /** *The run timeout, in seconds, for the script.
*/ inline void SetTimeoutInSeconds(int value) { m_timeoutInSecondsHasBeenSet = true; m_timeoutInSeconds = value; } /** *The run timeout, in seconds, for the script.
*/ inline ScriptDetails& WithTimeoutInSeconds(int value) { SetTimeoutInSeconds(value); return *this;} private: S3Location m_scriptS3Location; bool m_scriptS3LocationHasBeenSet = false; Aws::String m_executablePath; bool m_executablePathHasBeenSet = false; Aws::String m_executableParameters; bool m_executableParametersHasBeenSet = false; int m_timeoutInSeconds; bool m_timeoutInSecondsHasBeenSet = false; }; } // namespace Model } // namespace AppStream } // namespace Aws