/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Lambda { namespace Model { /** */ class PutFunctionCodeSigningConfigRequest : public LambdaRequest { public: AWS_LAMBDA_API PutFunctionCodeSigningConfigRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutFunctionCodeSigningConfig"; } AWS_LAMBDA_API Aws::String SerializePayload() const override; /** *

The The Amazon Resource Name (ARN) of the code signing configuration.

*/ inline const Aws::String& GetCodeSigningConfigArn() const{ return m_codeSigningConfigArn; } /** *

The The Amazon Resource Name (ARN) of the code signing configuration.

*/ inline bool CodeSigningConfigArnHasBeenSet() const { return m_codeSigningConfigArnHasBeenSet; } /** *

The The Amazon Resource Name (ARN) of the code signing configuration.

*/ inline void SetCodeSigningConfigArn(const Aws::String& value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn = value; } /** *

The The Amazon Resource Name (ARN) of the code signing configuration.

*/ inline void SetCodeSigningConfigArn(Aws::String&& value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn = std::move(value); } /** *

The The Amazon Resource Name (ARN) of the code signing configuration.

*/ inline void SetCodeSigningConfigArn(const char* value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn.assign(value); } /** *

The The Amazon Resource Name (ARN) of the code signing configuration.

*/ inline PutFunctionCodeSigningConfigRequest& WithCodeSigningConfigArn(const Aws::String& value) { SetCodeSigningConfigArn(value); return *this;} /** *

The The Amazon Resource Name (ARN) of the code signing configuration.

*/ inline PutFunctionCodeSigningConfigRequest& WithCodeSigningConfigArn(Aws::String&& value) { SetCodeSigningConfigArn(std::move(value)); return *this;} /** *

The The Amazon Resource Name (ARN) of the code signing configuration.

*/ inline PutFunctionCodeSigningConfigRequest& WithCodeSigningConfigArn(const char* value) { SetCodeSigningConfigArn(value); return *this;} /** *

The name of the Lambda function.

Name formats *

  • Function name - MyFunction.

  • *
  • Function ARN - * arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    *
  • Partial ARN - * 123456789012:function:MyFunction.

The length * constraint applies only to the full ARN. If you specify only the function name, * it is limited to 64 characters in length.

*/ inline const Aws::String& GetFunctionName() const{ return m_functionName; } /** *

The name of the Lambda function.

Name formats *

  • Function name - MyFunction.

  • *
  • Function ARN - * arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    *
  • Partial ARN - * 123456789012:function:MyFunction.

The length * constraint applies only to the full ARN. If you specify only the function name, * it is limited to 64 characters in length.

*/ inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; } /** *

The name of the Lambda function.

Name formats *

  • Function name - MyFunction.

  • *
  • Function ARN - * arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    *
  • Partial ARN - * 123456789012:function:MyFunction.

The length * constraint applies only to the full ARN. If you specify only the function name, * it is limited to 64 characters in length.

*/ inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; } /** *

The name of the Lambda function.

Name formats *

  • Function name - MyFunction.

  • *
  • Function ARN - * arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    *
  • Partial ARN - * 123456789012:function:MyFunction.

The length * constraint applies only to the full ARN. If you specify only the function name, * it is limited to 64 characters in length.

*/ inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); } /** *

The name of the Lambda function.

Name formats *

  • Function name - MyFunction.

  • *
  • Function ARN - * arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    *
  • Partial ARN - * 123456789012:function:MyFunction.

The length * constraint applies only to the full ARN. If you specify only the function name, * it is limited to 64 characters in length.

*/ inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); } /** *

The name of the Lambda function.

Name formats *

  • Function name - MyFunction.

  • *
  • Function ARN - * arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    *
  • Partial ARN - * 123456789012:function:MyFunction.

The length * constraint applies only to the full ARN. If you specify only the function name, * it is limited to 64 characters in length.

*/ inline PutFunctionCodeSigningConfigRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;} /** *

The name of the Lambda function.

Name formats *

  • Function name - MyFunction.

  • *
  • Function ARN - * arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    *
  • Partial ARN - * 123456789012:function:MyFunction.

The length * constraint applies only to the full ARN. If you specify only the function name, * it is limited to 64 characters in length.

*/ inline PutFunctionCodeSigningConfigRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;} /** *

The name of the Lambda function.

Name formats *

  • Function name - MyFunction.

  • *
  • Function ARN - * arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    *
  • Partial ARN - * 123456789012:function:MyFunction.

The length * constraint applies only to the full ARN. If you specify only the function name, * it is limited to 64 characters in length.

*/ inline PutFunctionCodeSigningConfigRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;} private: Aws::String m_codeSigningConfigArn; bool m_codeSigningConfigArnHasBeenSet = false; Aws::String m_functionName; bool m_functionNameHasBeenSet = false; }; } // namespace Model } // namespace Lambda } // namespace Aws