/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Lambda { namespace Model { /** *

The function's AWS X-Ray tracing configuration.

See Also:

AWS * API Reference

*/ class AWS_LAMBDA_API TracingConfigResponse { public: TracingConfigResponse(); TracingConfigResponse(Aws::Utils::Json::JsonView jsonValue); TracingConfigResponse& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 TracingConfigResponse& WithMode(const TracingMode& value) { SetMode(value); return *this;} /** *

The tracing mode.

*/ inline TracingConfigResponse& WithMode(TracingMode&& value) { SetMode(std::move(value)); return *this;} private: TracingMode m_mode; bool m_modeHasBeenSet; }; } // namespace Model } // namespace Lambda } // namespace Aws