/**
* 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. To sample and record incoming requests, set
* Mode
to Active
.See Also:
AWS
* API Reference
The tracing mode.
*/ inline const TracingMode& GetMode() const{ return m_mode; } /** *The tracing mode.
*/ inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; } /** *The tracing mode.
*/ inline void SetMode(const TracingMode& value) { m_modeHasBeenSet = true; m_mode = value; } /** *The tracing mode.
*/ inline void SetMode(TracingMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); } /** *The tracing mode.
*/ inline TracingConfig& WithMode(const TracingMode& value) { SetMode(value); return *this;} /** *The tracing mode.
*/ inline TracingConfig& WithMode(TracingMode&& value) { SetMode(std::move(value)); return *this;} private: TracingMode m_mode; bool m_modeHasBeenSet = false; }; } // namespace Model } // namespace Lambda } // namespace Aws