/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains configuration information about a CloudFront function.See
* Also:
AWS
* API Reference
A comment to describe the function.
*/ inline const Aws::String& GetComment() const{ return m_comment; } /** *A comment to describe the function.
*/ inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; } /** *A comment to describe the function.
*/ inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; } /** *A comment to describe the function.
*/ inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); } /** *A comment to describe the function.
*/ inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); } /** *A comment to describe the function.
*/ inline FunctionConfig& WithComment(const Aws::String& value) { SetComment(value); return *this;} /** *A comment to describe the function.
*/ inline FunctionConfig& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;} /** *A comment to describe the function.
*/ inline FunctionConfig& WithComment(const char* value) { SetComment(value); return *this;} /** *The function's runtime environment verion.
*/ inline const FunctionRuntime& GetRuntime() const{ return m_runtime; } /** *The function's runtime environment verion.
*/ inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; } /** *The function's runtime environment verion.
*/ inline void SetRuntime(const FunctionRuntime& value) { m_runtimeHasBeenSet = true; m_runtime = value; } /** *The function's runtime environment verion.
*/ inline void SetRuntime(FunctionRuntime&& value) { m_runtimeHasBeenSet = true; m_runtime = std::move(value); } /** *The function's runtime environment verion.
*/ inline FunctionConfig& WithRuntime(const FunctionRuntime& value) { SetRuntime(value); return *this;} /** *The function's runtime environment verion.
*/ inline FunctionConfig& WithRuntime(FunctionRuntime&& value) { SetRuntime(std::move(value)); return *this;} private: Aws::String m_comment; bool m_commentHasBeenSet = false; FunctionRuntime m_runtime; bool m_runtimeHasBeenSet = false; }; } // namespace Model } // namespace CloudFront } // namespace Aws