AWS SDK for C++

AWS SDK for C++ Version 1.11.744

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