7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/codeguruprofiler/model/AgentParameterField.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CodeGuruProfiler {
58 template <
typename AgentParametersT = Aws::Map<AgentParameterField, Aws::String>>
60 m_agentParametersHasBeenSet =
true;
61 m_agentParameters = std::forward<AgentParametersT>(value);
63 template <
typename AgentParametersT = Aws::Map<AgentParameterField, Aws::String>>
69 m_agentParametersHasBeenSet =
true;
70 m_agentParameters.emplace(key, value);
88 m_periodInSecondsHasBeenSet =
true;
89 m_periodInSeconds = value;
105 m_shouldProfileHasBeenSet =
true;
106 m_shouldProfile = value;
116 int m_periodInSeconds{0};
118 bool m_shouldProfile{
false};
119 bool m_agentParametersHasBeenSet =
false;
120 bool m_periodInSecondsHasBeenSet =
false;
121 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