AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateProfilingGroupRequest.h
1
6#pragma once
7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/codeguruprofiler/CodeGuruProfilerRequest.h>
9#include <aws/codeguruprofiler/model/AgentOrchestrationConfig.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodeGuruProfiler
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_CODEGURUPROFILER_API UpdateProfilingGroupRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateProfilingGroup"; }
36
37 AWS_CODEGURUPROFILER_API Aws::String SerializePayload() const override;
38
39
41
45 inline const AgentOrchestrationConfig& GetAgentOrchestrationConfig() const { return m_agentOrchestrationConfig; }
46 inline bool AgentOrchestrationConfigHasBeenSet() const { return m_agentOrchestrationConfigHasBeenSet; }
47 template<typename AgentOrchestrationConfigT = AgentOrchestrationConfig>
48 void SetAgentOrchestrationConfig(AgentOrchestrationConfigT&& value) { m_agentOrchestrationConfigHasBeenSet = true; m_agentOrchestrationConfig = std::forward<AgentOrchestrationConfigT>(value); }
49 template<typename AgentOrchestrationConfigT = AgentOrchestrationConfig>
50 UpdateProfilingGroupRequest& WithAgentOrchestrationConfig(AgentOrchestrationConfigT&& value) { SetAgentOrchestrationConfig(std::forward<AgentOrchestrationConfigT>(value)); return *this;}
52
54
57 inline const Aws::String& GetProfilingGroupName() const { return m_profilingGroupName; }
58 inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
59 template<typename ProfilingGroupNameT = Aws::String>
60 void SetProfilingGroupName(ProfilingGroupNameT&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::forward<ProfilingGroupNameT>(value); }
61 template<typename ProfilingGroupNameT = Aws::String>
62 UpdateProfilingGroupRequest& WithProfilingGroupName(ProfilingGroupNameT&& value) { SetProfilingGroupName(std::forward<ProfilingGroupNameT>(value)); return *this;}
64 private:
65
66 AgentOrchestrationConfig m_agentOrchestrationConfig;
67 bool m_agentOrchestrationConfigHasBeenSet = false;
68
69 Aws::String m_profilingGroupName;
70 bool m_profilingGroupNameHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace CodeGuruProfiler
75} // namespace Aws
const AgentOrchestrationConfig & GetAgentOrchestrationConfig() const
UpdateProfilingGroupRequest & WithProfilingGroupName(ProfilingGroupNameT &&value)
AWS_CODEGURUPROFILER_API Aws::String SerializePayload() const override
AWS_CODEGURUPROFILER_API UpdateProfilingGroupRequest()=default
UpdateProfilingGroupRequest & WithAgentOrchestrationConfig(AgentOrchestrationConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String