7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/codeguruprofiler/model/AgentParameterField.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
23namespace CodeGuruProfiler
64 template<
typename AgentParametersT = Aws::Map<AgentParameterField, Aws::String>>
65 void SetAgentParameters(AgentParametersT&& value) { m_agentParametersHasBeenSet =
true; m_agentParameters = std::forward<AgentParametersT>(value); }
66 template<
typename AgentParametersT = Aws::Map<AgentParameterField, Aws::String>>
69 m_agentParametersHasBeenSet =
true; m_agentParameters.emplace(key, value);
return *
this;
85 inline void SetPeriodInSeconds(
int value) { m_periodInSecondsHasBeenSet =
true; m_periodInSeconds = value; }
96 inline void SetShouldProfile(
bool value) { m_shouldProfileHasBeenSet =
true; m_shouldProfile = value; }
102 bool m_agentParametersHasBeenSet =
false;
104 int m_periodInSeconds{0};
105 bool m_periodInSecondsHasBeenSet =
false;
107 bool m_shouldProfile{
false};
108 bool m_shouldProfileHasBeenSet =
false;
void SetAgentParameters(AgentParametersT &&value)
AWS_CODEGURUPROFILER_API AgentConfiguration()=default
AgentConfiguration & WithAgentParameters(AgentParametersT &&value)
int GetPeriodInSeconds() const
void SetPeriodInSeconds(int value)
bool PeriodInSecondsHasBeenSet() const
AgentConfiguration & WithPeriodInSeconds(int value)
AgentConfiguration & WithShouldProfile(bool value)
void SetShouldProfile(bool value)
bool GetShouldProfile() const
AWS_CODEGURUPROFILER_API AgentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEGURUPROFILER_API AgentConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool AgentParametersHasBeenSet() const
AgentConfiguration & AddAgentParameters(AgentParameterField key, Aws::String value)
const Aws::Map< AgentParameterField, Aws::String > & GetAgentParameters() const
bool ShouldProfileHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue