/** * 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 Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace SES { namespace Model { /** *

Indicates that the provided AWS Lambda function is invalid, or that Amazon * SES could not execute the provided function, possibly due to permissions issues. * For information about giving permissions, see the Amazon * SES Developer Guide.

See Also:

AWS * API Reference

*/ class InvalidLambdaFunctionException { public: AWS_SES_API InvalidLambdaFunctionException(); AWS_SES_API InvalidLambdaFunctionException(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_SES_API InvalidLambdaFunctionException& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

Indicates that the ARN of the function was not found.

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

Indicates that the ARN of the function was not found.

*/ inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; } /** *

Indicates that the ARN of the function was not found.

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

Indicates that the ARN of the function was not found.

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

Indicates that the ARN of the function was not found.

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

Indicates that the ARN of the function was not found.

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

Indicates that the ARN of the function was not found.

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

Indicates that the ARN of the function was not found.

*/ inline InvalidLambdaFunctionException& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;} private: Aws::String m_functionArn; bool m_functionArnHasBeenSet = false; }; } // namespace Model } // namespace SES } // namespace Aws