/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The function's X-Ray tracing configuration.See Also:
AWS
* API Reference
The tracing mode.
*/ inline const Aws::String& GetMode() const{ return m_mode; } /** *The tracing mode.
*/ inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; } /** *The tracing mode.
*/ inline void SetMode(const Aws::String& value) { m_modeHasBeenSet = true; m_mode = value; } /** *The tracing mode.
*/ inline void SetMode(Aws::String&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); } /** *The tracing mode.
*/ inline void SetMode(const char* value) { m_modeHasBeenSet = true; m_mode.assign(value); } /** *The tracing mode.
*/ inline AwsLambdaFunctionTracingConfig& WithMode(const Aws::String& value) { SetMode(value); return *this;} /** *The tracing mode.
*/ inline AwsLambdaFunctionTracingConfig& WithMode(Aws::String&& value) { SetMode(std::move(value)); return *this;} /** *The tracing mode.
*/ inline AwsLambdaFunctionTracingConfig& WithMode(const char* value) { SetMode(value); return *this;} private: Aws::String m_mode; bool m_modeHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws