AWS SDK for C++  1.9.157
AWS SDK for C++
Public Member Functions | List of all members
Aws::CodeGuruProfiler::Model::AgentConfiguration Class Reference

#include <AgentConfiguration.h>

Public Member Functions

 AgentConfiguration ()
 
 AgentConfiguration (Aws::Utils::Json::JsonView jsonValue)
 
AgentConfigurationoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::Map< AgentParameterField, Aws::String > & GetAgentParameters () const
 
bool AgentParametersHasBeenSet () const
 
void SetAgentParameters (const Aws::Map< AgentParameterField, Aws::String > &value)
 
void SetAgentParameters (Aws::Map< AgentParameterField, Aws::String > &&value)
 
AgentConfigurationWithAgentParameters (const Aws::Map< AgentParameterField, Aws::String > &value)
 
AgentConfigurationWithAgentParameters (Aws::Map< AgentParameterField, Aws::String > &&value)
 
AgentConfigurationAddAgentParameters (const AgentParameterField &key, const Aws::String &value)
 
AgentConfigurationAddAgentParameters (AgentParameterField &&key, const Aws::String &value)
 
AgentConfigurationAddAgentParameters (const AgentParameterField &key, Aws::String &&value)
 
AgentConfigurationAddAgentParameters (AgentParameterField &&key, Aws::String &&value)
 
AgentConfigurationAddAgentParameters (AgentParameterField &&key, const char *value)
 
AgentConfigurationAddAgentParameters (const AgentParameterField &key, const char *value)
 
int GetPeriodInSeconds () const
 
bool PeriodInSecondsHasBeenSet () const
 
void SetPeriodInSeconds (int value)
 
AgentConfigurationWithPeriodInSeconds (int value)
 
bool GetShouldProfile () const
 
bool ShouldProfileHasBeenSet () const
 
void SetShouldProfile (bool value)
 
AgentConfigurationWithShouldProfile (bool value)
 

Detailed Description

The response of ConfigureAgent that specifies if an agent profiles or not and for how long to return profiling data.

See Also:

AWS API Reference

Definition at line 36 of file AgentConfiguration.h.

Constructor & Destructor Documentation

◆ AgentConfiguration() [1/2]

Aws::CodeGuruProfiler::Model::AgentConfiguration::AgentConfiguration ( )

◆ AgentConfiguration() [2/2]

Aws::CodeGuruProfiler::Model::AgentConfiguration::AgentConfiguration ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddAgentParameters() [1/6]

AgentConfiguration& Aws::CodeGuruProfiler::Model::AgentConfiguration::AddAgentParameters ( AgentParameterField &&  key,
Aws::String &&  value 
)
inline

Parameters used by the profiler. The valid parameters are:

  • MaxStackDepth - The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a method A, which calls method B, which calls method C, which calls method D, then the depth is 4. If the maxDepth is set to 2, then the profiler evaluates A and B.

  • MemoryUsageLimitPercent - The percentage of memory that is used by the profiler.

  • MinimumTimeForReportingInMilliseconds - The minimum time in milliseconds between sending reports.

  • ReportingIntervalInMilliseconds - The reporting interval in milliseconds used to report profiles.

  • SamplingIntervalInMilliseconds - The sampling interval in milliseconds that is used to profile samples.

Definition at line 223 of file AgentConfiguration.h.

◆ AddAgentParameters() [2/6]

AgentConfiguration& Aws::CodeGuruProfiler::Model::AgentConfiguration::AddAgentParameters ( AgentParameterField &&  key,
const Aws::String value 
)
inline

Parameters used by the profiler. The valid parameters are:

  • MaxStackDepth - The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a method A, which calls method B, which calls method C, which calls method D, then the depth is 4. If the maxDepth is set to 2, then the profiler evaluates A and B.

  • MemoryUsageLimitPercent - The percentage of memory that is used by the profiler.

  • MinimumTimeForReportingInMilliseconds - The minimum time in milliseconds between sending reports.

  • ReportingIntervalInMilliseconds - The reporting interval in milliseconds used to report profiles.

  • SamplingIntervalInMilliseconds - The sampling interval in milliseconds that is used to profile samples.

Definition at line 187 of file AgentConfiguration.h.

◆ AddAgentParameters() [3/6]

AgentConfiguration& Aws::CodeGuruProfiler::Model::AgentConfiguration::AddAgentParameters ( AgentParameterField &&  key,
const char *  value 
)
inline

Parameters used by the profiler. The valid parameters are:

  • MaxStackDepth - The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a method A, which calls method B, which calls method C, which calls method D, then the depth is 4. If the maxDepth is set to 2, then the profiler evaluates A and B.

  • MemoryUsageLimitPercent - The percentage of memory that is used by the profiler.

  • MinimumTimeForReportingInMilliseconds - The minimum time in milliseconds between sending reports.

  • ReportingIntervalInMilliseconds - The reporting interval in milliseconds used to report profiles.

  • SamplingIntervalInMilliseconds - The sampling interval in milliseconds that is used to profile samples.

Definition at line 241 of file AgentConfiguration.h.

◆ AddAgentParameters() [4/6]

AgentConfiguration& Aws::CodeGuruProfiler::Model::AgentConfiguration::AddAgentParameters ( const AgentParameterField key,
Aws::String &&  value 
)
inline

Parameters used by the profiler. The valid parameters are:

  • MaxStackDepth - The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a method A, which calls method B, which calls method C, which calls method D, then the depth is 4. If the maxDepth is set to 2, then the profiler evaluates A and B.

  • MemoryUsageLimitPercent - The percentage of memory that is used by the profiler.

  • MinimumTimeForReportingInMilliseconds - The minimum time in milliseconds between sending reports.

  • ReportingIntervalInMilliseconds - The reporting interval in milliseconds used to report profiles.

  • SamplingIntervalInMilliseconds - The sampling interval in milliseconds that is used to profile samples.

Definition at line 205 of file AgentConfiguration.h.

◆ AddAgentParameters() [5/6]

AgentConfiguration& Aws::CodeGuruProfiler::Model::AgentConfiguration::AddAgentParameters ( const AgentParameterField key,
const Aws::String value 
)
inline

Parameters used by the profiler. The valid parameters are:

  • MaxStackDepth - The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a method A, which calls method B, which calls method C, which calls method D, then the depth is 4. If the maxDepth is set to 2, then the profiler evaluates A and B.

  • MemoryUsageLimitPercent - The percentage of memory that is used by the profiler.

  • MinimumTimeForReportingInMilliseconds - The minimum time in milliseconds between sending reports.

  • ReportingIntervalInMilliseconds - The reporting interval in milliseconds used to report profiles.

  • SamplingIntervalInMilliseconds - The sampling interval in milliseconds that is used to profile samples.

Definition at line 169 of file AgentConfiguration.h.

◆ AddAgentParameters() [6/6]

AgentConfiguration& Aws::CodeGuruProfiler::Model::AgentConfiguration::AddAgentParameters ( const AgentParameterField key,
const char *  value 
)
inline

Parameters used by the profiler. The valid parameters are:

  • MaxStackDepth - The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a method A, which calls method B, which calls method C, which calls method D, then the depth is 4. If the maxDepth is set to 2, then the profiler evaluates A and B.

  • MemoryUsageLimitPercent - The percentage of memory that is used by the profiler.

  • MinimumTimeForReportingInMilliseconds - The minimum time in milliseconds between sending reports.

  • ReportingIntervalInMilliseconds - The reporting interval in milliseconds used to report profiles.

  • SamplingIntervalInMilliseconds - The sampling interval in milliseconds that is used to profile samples.

Definition at line 259 of file AgentConfiguration.h.

◆ AgentParametersHasBeenSet()

bool Aws::CodeGuruProfiler::Model::AgentConfiguration::AgentParametersHasBeenSet ( ) const
inline

Parameters used by the profiler. The valid parameters are:

  • MaxStackDepth - The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a method A, which calls method B, which calls method C, which calls method D, then the depth is 4. If the maxDepth is set to 2, then the profiler evaluates A and B.

  • MemoryUsageLimitPercent - The percentage of memory that is used by the profiler.

  • MinimumTimeForReportingInMilliseconds - The minimum time in milliseconds between sending reports.

  • ReportingIntervalInMilliseconds - The reporting interval in milliseconds used to report profiles.

  • SamplingIntervalInMilliseconds - The sampling interval in milliseconds that is used to profile samples.

Definition at line 79 of file AgentConfiguration.h.

◆ GetAgentParameters()

const Aws::Map<AgentParameterField, Aws::String>& Aws::CodeGuruProfiler::Model::AgentConfiguration::GetAgentParameters ( ) const
inline

Parameters used by the profiler. The valid parameters are:

  • MaxStackDepth - The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a method A, which calls method B, which calls method C, which calls method D, then the depth is 4. If the maxDepth is set to 2, then the profiler evaluates A and B.

  • MemoryUsageLimitPercent - The percentage of memory that is used by the profiler.

  • MinimumTimeForReportingInMilliseconds - The minimum time in milliseconds between sending reports.

  • ReportingIntervalInMilliseconds - The reporting interval in milliseconds used to report profiles.

  • SamplingIntervalInMilliseconds - The sampling interval in milliseconds that is used to profile samples.

Definition at line 61 of file AgentConfiguration.h.

◆ GetPeriodInSeconds()

int Aws::CodeGuruProfiler::Model::AgentConfiguration::GetPeriodInSeconds ( ) const
inline

How long a profiling agent should send profiling data using ConfigureAgent . For example, if this is set to 300, the profiling agent calls ConfigureAgent every 5 minutes to submit the profiled data collected during that period.

Definition at line 271 of file AgentConfiguration.h.

◆ GetShouldProfile()

bool Aws::CodeGuruProfiler::Model::AgentConfiguration::GetShouldProfile ( ) const
inline

A Boolean that specifies whether the profiling agent collects profiling data or not. Set to true to enable profiling.

Definition at line 311 of file AgentConfiguration.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::CodeGuruProfiler::Model::AgentConfiguration::Jsonize ( ) const

◆ operator=()

AgentConfiguration& Aws::CodeGuruProfiler::Model::AgentConfiguration::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ PeriodInSecondsHasBeenSet()

bool Aws::CodeGuruProfiler::Model::AgentConfiguration::PeriodInSecondsHasBeenSet ( ) const
inline

How long a profiling agent should send profiling data using ConfigureAgent . For example, if this is set to 300, the profiling agent calls ConfigureAgent every 5 minutes to submit the profiled data collected during that period.

Definition at line 282 of file AgentConfiguration.h.

◆ SetAgentParameters() [1/2]

void Aws::CodeGuruProfiler::Model::AgentConfiguration::SetAgentParameters ( Aws::Map< AgentParameterField, Aws::String > &&  value)
inline

Parameters used by the profiler. The valid parameters are:

  • MaxStackDepth - The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a method A, which calls method B, which calls method C, which calls method D, then the depth is 4. If the maxDepth is set to 2, then the profiler evaluates A and B.

  • MemoryUsageLimitPercent - The percentage of memory that is used by the profiler.

  • MinimumTimeForReportingInMilliseconds - The minimum time in milliseconds between sending reports.

  • ReportingIntervalInMilliseconds - The reporting interval in milliseconds used to report profiles.

  • SamplingIntervalInMilliseconds - The sampling interval in milliseconds that is used to profile samples.

Definition at line 115 of file AgentConfiguration.h.

◆ SetAgentParameters() [2/2]

void Aws::CodeGuruProfiler::Model::AgentConfiguration::SetAgentParameters ( const Aws::Map< AgentParameterField, Aws::String > &  value)
inline

Parameters used by the profiler. The valid parameters are:

  • MaxStackDepth - The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a method A, which calls method B, which calls method C, which calls method D, then the depth is 4. If the maxDepth is set to 2, then the profiler evaluates A and B.

  • MemoryUsageLimitPercent - The percentage of memory that is used by the profiler.

  • MinimumTimeForReportingInMilliseconds - The minimum time in milliseconds between sending reports.

  • ReportingIntervalInMilliseconds - The reporting interval in milliseconds used to report profiles.

  • SamplingIntervalInMilliseconds - The sampling interval in milliseconds that is used to profile samples.

Definition at line 97 of file AgentConfiguration.h.

◆ SetPeriodInSeconds()

void Aws::CodeGuruProfiler::Model::AgentConfiguration::SetPeriodInSeconds ( int  value)
inline

How long a profiling agent should send profiling data using ConfigureAgent . For example, if this is set to 300, the profiling agent calls ConfigureAgent every 5 minutes to submit the profiled data collected during that period.

Definition at line 293 of file AgentConfiguration.h.

◆ SetShouldProfile()

void Aws::CodeGuruProfiler::Model::AgentConfiguration::SetShouldProfile ( bool  value)
inline

A Boolean that specifies whether the profiling agent collects profiling data or not. Set to true to enable profiling.

Definition at line 323 of file AgentConfiguration.h.

◆ ShouldProfileHasBeenSet()

bool Aws::CodeGuruProfiler::Model::AgentConfiguration::ShouldProfileHasBeenSet ( ) const
inline

A Boolean that specifies whether the profiling agent collects profiling data or not. Set to true to enable profiling.

Definition at line 317 of file AgentConfiguration.h.

◆ WithAgentParameters() [1/2]

AgentConfiguration& Aws::CodeGuruProfiler::Model::AgentConfiguration::WithAgentParameters ( Aws::Map< AgentParameterField, Aws::String > &&  value)
inline

Parameters used by the profiler. The valid parameters are:

  • MaxStackDepth - The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a method A, which calls method B, which calls method C, which calls method D, then the depth is 4. If the maxDepth is set to 2, then the profiler evaluates A and B.

  • MemoryUsageLimitPercent - The percentage of memory that is used by the profiler.

  • MinimumTimeForReportingInMilliseconds - The minimum time in milliseconds between sending reports.

  • ReportingIntervalInMilliseconds - The reporting interval in milliseconds used to report profiles.

  • SamplingIntervalInMilliseconds - The sampling interval in milliseconds that is used to profile samples.

Definition at line 151 of file AgentConfiguration.h.

◆ WithAgentParameters() [2/2]

AgentConfiguration& Aws::CodeGuruProfiler::Model::AgentConfiguration::WithAgentParameters ( const Aws::Map< AgentParameterField, Aws::String > &  value)
inline

Parameters used by the profiler. The valid parameters are:

  • MaxStackDepth - The maximum depth of the stacks in the code that is represented in the profile. For example, if CodeGuru Profiler finds a method A, which calls method B, which calls method C, which calls method D, then the depth is 4. If the maxDepth is set to 2, then the profiler evaluates A and B.

  • MemoryUsageLimitPercent - The percentage of memory that is used by the profiler.

  • MinimumTimeForReportingInMilliseconds - The minimum time in milliseconds between sending reports.

  • ReportingIntervalInMilliseconds - The reporting interval in milliseconds used to report profiles.

  • SamplingIntervalInMilliseconds - The sampling interval in milliseconds that is used to profile samples.

Definition at line 133 of file AgentConfiguration.h.

◆ WithPeriodInSeconds()

AgentConfiguration& Aws::CodeGuruProfiler::Model::AgentConfiguration::WithPeriodInSeconds ( int  value)
inline

How long a profiling agent should send profiling data using ConfigureAgent . For example, if this is set to 300, the profiling agent calls ConfigureAgent every 5 minutes to submit the profiled data collected during that period.

Definition at line 304 of file AgentConfiguration.h.

◆ WithShouldProfile()

AgentConfiguration& Aws::CodeGuruProfiler::Model::AgentConfiguration::WithShouldProfile ( bool  value)
inline

A Boolean that specifies whether the profiling agent collects profiling data or not. Set to true to enable profiling.

Definition at line 329 of file AgentConfiguration.h.


The documentation for this class was generated from the following file: