/**
* 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 CodeGuruProfiler
{
namespace Model
{
/**
* Specifies whether profiling is enabled or disabled for a profiling group. It
* is used by
* ConfigureAgent
to enable or disable profiling for a profiling
* group.
See Also:
AWS
* API Reference
*/
class AgentOrchestrationConfig
{
public:
AWS_CODEGURUPROFILER_API AgentOrchestrationConfig();
AWS_CODEGURUPROFILER_API AgentOrchestrationConfig(Aws::Utils::Json::JsonView jsonValue);
AWS_CODEGURUPROFILER_API AgentOrchestrationConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* A Boolean
that specifies whether the profiling agent collects
* profiling data or not. Set to true
to enable profiling.
*/
inline bool GetProfilingEnabled() const{ return m_profilingEnabled; }
/**
* A Boolean
that specifies whether the profiling agent collects
* profiling data or not. Set to true
to enable profiling.
*/
inline bool ProfilingEnabledHasBeenSet() const { return m_profilingEnabledHasBeenSet; }
/**
* A Boolean
that specifies whether the profiling agent collects
* profiling data or not. Set to true
to enable profiling.
*/
inline void SetProfilingEnabled(bool value) { m_profilingEnabledHasBeenSet = true; m_profilingEnabled = value; }
/**
* A Boolean
that specifies whether the profiling agent collects
* profiling data or not. Set to true
to enable profiling.
*/
inline AgentOrchestrationConfig& WithProfilingEnabled(bool value) { SetProfilingEnabled(value); return *this;}
private:
bool m_profilingEnabled;
bool m_profilingEnabledHasBeenSet = false;
};
} // namespace Model
} // namespace CodeGuruProfiler
} // namespace Aws