/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains validation parameters.See Also:
AWS
* API Reference
The location of the validation script.
*/ inline const Source& GetSource() const{ return m_source; } /** *The location of the validation script.
*/ inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } /** *The location of the validation script.
*/ inline void SetSource(const Source& value) { m_sourceHasBeenSet = true; m_source = value; } /** *The location of the validation script.
*/ inline void SetSource(Source&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } /** *The location of the validation script.
*/ inline UserDataValidationParameters& WithSource(const Source& value) { SetSource(value); return *this;} /** *The location of the validation script.
*/ inline UserDataValidationParameters& WithSource(Source&& value) { SetSource(std::move(value)); return *this;} /** *The type of validation script.
*/ inline const ScriptType& GetScriptType() const{ return m_scriptType; } /** *The type of validation script.
*/ inline bool ScriptTypeHasBeenSet() const { return m_scriptTypeHasBeenSet; } /** *The type of validation script.
*/ inline void SetScriptType(const ScriptType& value) { m_scriptTypeHasBeenSet = true; m_scriptType = value; } /** *The type of validation script.
*/ inline void SetScriptType(ScriptType&& value) { m_scriptTypeHasBeenSet = true; m_scriptType = std::move(value); } /** *The type of validation script.
*/ inline UserDataValidationParameters& WithScriptType(const ScriptType& value) { SetScriptType(value); return *this;} /** *The type of validation script.
*/ inline UserDataValidationParameters& WithScriptType(ScriptType&& value) { SetScriptType(std::move(value)); return *this;} private: Source m_source; bool m_sourceHasBeenSet = false; ScriptType m_scriptType; bool m_scriptTypeHasBeenSet = false; }; } // namespace Model } // namespace SMS } // namespace Aws