/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A CloudFront function that is associated with a cache behavior in a
* CloudFront distribution.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the function.
*/ inline const Aws::String& GetFunctionARN() const{ return m_functionARN; } /** *The Amazon Resource Name (ARN) of the function.
*/ inline bool FunctionARNHasBeenSet() const { return m_functionARNHasBeenSet; } /** *The Amazon Resource Name (ARN) of the function.
*/ inline void SetFunctionARN(const Aws::String& value) { m_functionARNHasBeenSet = true; m_functionARN = value; } /** *The Amazon Resource Name (ARN) of the function.
*/ inline void SetFunctionARN(Aws::String&& value) { m_functionARNHasBeenSet = true; m_functionARN = std::move(value); } /** *The Amazon Resource Name (ARN) of the function.
*/ inline void SetFunctionARN(const char* value) { m_functionARNHasBeenSet = true; m_functionARN.assign(value); } /** *The Amazon Resource Name (ARN) of the function.
*/ inline FunctionAssociation& WithFunctionARN(const Aws::String& value) { SetFunctionARN(value); return *this;} /** *The Amazon Resource Name (ARN) of the function.
*/ inline FunctionAssociation& WithFunctionARN(Aws::String&& value) { SetFunctionARN(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the function.
*/ inline FunctionAssociation& WithFunctionARN(const char* value) { SetFunctionARN(value); return *this;} /** *The event type of the function, either viewer-request
or
* viewer-response
. You cannot use origin-facing event types
* (origin-request
and origin-response
) with a CloudFront
* function.
The event type of the function, either viewer-request
or
* viewer-response
. You cannot use origin-facing event types
* (origin-request
and origin-response
) with a CloudFront
* function.
The event type of the function, either viewer-request
or
* viewer-response
. You cannot use origin-facing event types
* (origin-request
and origin-response
) with a CloudFront
* function.
The event type of the function, either viewer-request
or
* viewer-response
. You cannot use origin-facing event types
* (origin-request
and origin-response
) with a CloudFront
* function.
The event type of the function, either viewer-request
or
* viewer-response
. You cannot use origin-facing event types
* (origin-request
and origin-response
) with a CloudFront
* function.
The event type of the function, either viewer-request
or
* viewer-response
. You cannot use origin-facing event types
* (origin-request
and origin-response
) with a CloudFront
* function.