/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Lambda { namespace Model { class PutRuntimeManagementConfigResult { public: AWS_LAMBDA_API PutRuntimeManagementConfigResult(); AWS_LAMBDA_API PutRuntimeManagementConfigResult(const Aws::AmazonWebServiceResult& result); AWS_LAMBDA_API PutRuntimeManagementConfigResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The runtime update mode.

*/ inline const UpdateRuntimeOn& GetUpdateRuntimeOn() const{ return m_updateRuntimeOn; } /** *

The runtime update mode.

*/ inline void SetUpdateRuntimeOn(const UpdateRuntimeOn& value) { m_updateRuntimeOn = value; } /** *

The runtime update mode.

*/ inline void SetUpdateRuntimeOn(UpdateRuntimeOn&& value) { m_updateRuntimeOn = std::move(value); } /** *

The runtime update mode.

*/ inline PutRuntimeManagementConfigResult& WithUpdateRuntimeOn(const UpdateRuntimeOn& value) { SetUpdateRuntimeOn(value); return *this;} /** *

The runtime update mode.

*/ inline PutRuntimeManagementConfigResult& WithUpdateRuntimeOn(UpdateRuntimeOn&& value) { SetUpdateRuntimeOn(std::move(value)); return *this;} /** *

The ARN of the function

*/ inline const Aws::String& GetFunctionArn() const{ return m_functionArn; } /** *

The ARN of the function

*/ inline void SetFunctionArn(const Aws::String& value) { m_functionArn = value; } /** *

The ARN of the function

*/ inline void SetFunctionArn(Aws::String&& value) { m_functionArn = std::move(value); } /** *

The ARN of the function

*/ inline void SetFunctionArn(const char* value) { m_functionArn.assign(value); } /** *

The ARN of the function

*/ inline PutRuntimeManagementConfigResult& WithFunctionArn(const Aws::String& value) { SetFunctionArn(value); return *this;} /** *

The ARN of the function

*/ inline PutRuntimeManagementConfigResult& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;} /** *

The ARN of the function

*/ inline PutRuntimeManagementConfigResult& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;} /** *

The ARN of the runtime the function is configured to use. If the runtime * update mode is manual, the ARN is returned, otherwise null * is returned.

*/ inline const Aws::String& GetRuntimeVersionArn() const{ return m_runtimeVersionArn; } /** *

The ARN of the runtime the function is configured to use. If the runtime * update mode is manual, the ARN is returned, otherwise null * is returned.

*/ inline void SetRuntimeVersionArn(const Aws::String& value) { m_runtimeVersionArn = value; } /** *

The ARN of the runtime the function is configured to use. If the runtime * update mode is manual, the ARN is returned, otherwise null * is returned.

*/ inline void SetRuntimeVersionArn(Aws::String&& value) { m_runtimeVersionArn = std::move(value); } /** *

The ARN of the runtime the function is configured to use. If the runtime * update mode is manual, the ARN is returned, otherwise null * is returned.

*/ inline void SetRuntimeVersionArn(const char* value) { m_runtimeVersionArn.assign(value); } /** *

The ARN of the runtime the function is configured to use. If the runtime * update mode is manual, the ARN is returned, otherwise null * is returned.

*/ inline PutRuntimeManagementConfigResult& WithRuntimeVersionArn(const Aws::String& value) { SetRuntimeVersionArn(value); return *this;} /** *

The ARN of the runtime the function is configured to use. If the runtime * update mode is manual, the ARN is returned, otherwise null * is returned.

*/ inline PutRuntimeManagementConfigResult& WithRuntimeVersionArn(Aws::String&& value) { SetRuntimeVersionArn(std::move(value)); return *this;} /** *

The ARN of the runtime the function is configured to use. If the runtime * update mode is manual, the ARN is returned, otherwise null * is returned.

*/ inline PutRuntimeManagementConfigResult& WithRuntimeVersionArn(const char* value) { SetRuntimeVersionArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline PutRuntimeManagementConfigResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline PutRuntimeManagementConfigResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline PutRuntimeManagementConfigResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: UpdateRuntimeOn m_updateRuntimeOn; Aws::String m_functionArn; Aws::String m_runtimeVersionArn; Aws::String m_requestId; }; } // namespace Model } // namespace Lambda } // namespace Aws