/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CodeGuruProfiler { namespace Model { /** *

The structure representing the configureAgentResponse.

See * Also:

AWS * API Reference

*/ class AWS_CODEGURUPROFILER_API ConfigureAgentResult { public: ConfigureAgentResult(); ConfigureAgentResult(const Aws::AmazonWebServiceResult& result); ConfigureAgentResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An * AgentConfiguration object that specifies if an agent profiles * or not and for how long to return profiling data.

*/ inline const AgentConfiguration& GetConfiguration() const{ return m_configuration; } /** *

An * AgentConfiguration object that specifies if an agent profiles * or not and for how long to return profiling data.

*/ inline void SetConfiguration(const AgentConfiguration& value) { m_configuration = value; } /** *

An * AgentConfiguration object that specifies if an agent profiles * or not and for how long to return profiling data.

*/ inline void SetConfiguration(AgentConfiguration&& value) { m_configuration = std::move(value); } /** *

An * AgentConfiguration object that specifies if an agent profiles * or not and for how long to return profiling data.

*/ inline ConfigureAgentResult& WithConfiguration(const AgentConfiguration& value) { SetConfiguration(value); return *this;} /** *

An * AgentConfiguration object that specifies if an agent profiles * or not and for how long to return profiling data.

*/ inline ConfigureAgentResult& WithConfiguration(AgentConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} private: AgentConfiguration m_configuration; }; } // namespace Model } // namespace CodeGuruProfiler } // namespace Aws