/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SFN
{
namespace Model
{
/**
* Selects whether or not the state machine's X-Ray tracing is enabled. Default
* is false
See Also:
AWS
* API Reference
*/
class TracingConfiguration
{
public:
AWS_SFN_API TracingConfiguration();
AWS_SFN_API TracingConfiguration(Aws::Utils::Json::JsonView jsonValue);
AWS_SFN_API TracingConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* When set to true
, X-Ray tracing is enabled.
*/
inline bool GetEnabled() const{ return m_enabled; }
/**
* When set to true
, X-Ray tracing is enabled.
*/
inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
/**
* When set to true
, X-Ray tracing is enabled.
*/
inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
/**
* When set to true
, X-Ray tracing is enabled.
*/
inline TracingConfiguration& WithEnabled(bool value) { SetEnabled(value); return *this;}
private:
bool m_enabled;
bool m_enabledHasBeenSet = false;
};
} // namespace Model
} // namespace SFN
} // namespace Aws