/** * 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 AppRunner { namespace Model { /** *

Describes the configuration of the tracing feature within an App Runner * observability configuration.

See Also:

AWS * API Reference

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

The implementation provider chosen for tracing App Runner services.

*/ inline const TracingVendor& GetVendor() const{ return m_vendor; } /** *

The implementation provider chosen for tracing App Runner services.

*/ inline bool VendorHasBeenSet() const { return m_vendorHasBeenSet; } /** *

The implementation provider chosen for tracing App Runner services.

*/ inline void SetVendor(const TracingVendor& value) { m_vendorHasBeenSet = true; m_vendor = value; } /** *

The implementation provider chosen for tracing App Runner services.

*/ inline void SetVendor(TracingVendor&& value) { m_vendorHasBeenSet = true; m_vendor = std::move(value); } /** *

The implementation provider chosen for tracing App Runner services.

*/ inline TraceConfiguration& WithVendor(const TracingVendor& value) { SetVendor(value); return *this;} /** *

The implementation provider chosen for tracing App Runner services.

*/ inline TraceConfiguration& WithVendor(TracingVendor&& value) { SetVendor(std::move(value)); return *this;} private: TracingVendor m_vendor; bool m_vendorHasBeenSet = false; }; } // namespace Model } // namespace AppRunner } // namespace Aws