& 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;}
inline const Aws::String& GetRequestId() const{ return m_requestId; }
inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
inline void SetRequestId(const char* value) { m_requestId.assign(value); }
inline ConfigureAgentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
inline ConfigureAgentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
inline ConfigureAgentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
private:
AgentConfiguration m_configuration;
Aws::String m_requestId;
};
} // namespace Model
} // namespace CodeGuruProfiler
} // namespace Aws