/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The ARN of the runtime and any errors that occured.See Also:
* AWS
* API Reference
The ARN of the runtime version you want the function to use.
*/ inline const Aws::String& GetRuntimeVersionArn() const{ return m_runtimeVersionArn; } /** *The ARN of the runtime version you want the function to use.
*/ inline bool RuntimeVersionArnHasBeenSet() const { return m_runtimeVersionArnHasBeenSet; } /** *The ARN of the runtime version you want the function to use.
*/ inline void SetRuntimeVersionArn(const Aws::String& value) { m_runtimeVersionArnHasBeenSet = true; m_runtimeVersionArn = value; } /** *The ARN of the runtime version you want the function to use.
*/ inline void SetRuntimeVersionArn(Aws::String&& value) { m_runtimeVersionArnHasBeenSet = true; m_runtimeVersionArn = std::move(value); } /** *The ARN of the runtime version you want the function to use.
*/ inline void SetRuntimeVersionArn(const char* value) { m_runtimeVersionArnHasBeenSet = true; m_runtimeVersionArn.assign(value); } /** *The ARN of the runtime version you want the function to use.
*/ inline RuntimeVersionConfig& WithRuntimeVersionArn(const Aws::String& value) { SetRuntimeVersionArn(value); return *this;} /** *The ARN of the runtime version you want the function to use.
*/ inline RuntimeVersionConfig& WithRuntimeVersionArn(Aws::String&& value) { SetRuntimeVersionArn(std::move(value)); return *this;} /** *The ARN of the runtime version you want the function to use.
*/ inline RuntimeVersionConfig& WithRuntimeVersionArn(const char* value) { SetRuntimeVersionArn(value); return *this;} /** *Error response when Lambda is unable to retrieve the runtime version for a * function.
*/ inline const RuntimeVersionError& GetError() const{ return m_error; } /** *Error response when Lambda is unable to retrieve the runtime version for a * function.
*/ inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } /** *Error response when Lambda is unable to retrieve the runtime version for a * function.
*/ inline void SetError(const RuntimeVersionError& value) { m_errorHasBeenSet = true; m_error = value; } /** *Error response when Lambda is unable to retrieve the runtime version for a * function.
*/ inline void SetError(RuntimeVersionError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } /** *Error response when Lambda is unable to retrieve the runtime version for a * function.
*/ inline RuntimeVersionConfig& WithError(const RuntimeVersionError& value) { SetError(value); return *this;} /** *Error response when Lambda is unable to retrieve the runtime version for a * function.
*/ inline RuntimeVersionConfig& WithError(RuntimeVersionError&& value) { SetError(std::move(value)); return *this;} private: Aws::String m_runtimeVersionArn; bool m_runtimeVersionArnHasBeenSet = false; RuntimeVersionError m_error; bool m_errorHasBeenSet = false; }; } // namespace Model } // namespace Lambda } // namespace Aws