AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAgentOrchestrationConfig(const AgentOrchestrationConfig& value) { m_agentOrchestrationConfigHasBeenSet = true; m_agentOrchestrationConfig = value; }
48 inline void SetAgentOrchestrationConfig(AgentOrchestrationConfig&& value) { m_agentOrchestrationConfigHasBeenSet = true; m_agentOrchestrationConfig = std::move(value); }
52
54
57 inline const Aws::String& GetProfilingGroupName() const{ return m_profilingGroupName; }
58 inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
59 inline void SetProfilingGroupName(const Aws::String& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = value; }
60 inline void SetProfilingGroupName(Aws::String&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::move(value); }
61 inline void SetProfilingGroupName(const char* value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName.assign(value); }
63 inline UpdateProfilingGroupRequest& WithProfilingGroupName(Aws::String&& value) { SetProfilingGroupName(std::move(value)); return *this;}
64 inline UpdateProfilingGroupRequest& WithProfilingGroupName(const char* value) { SetProfilingGroupName(value); return *this;}
66 private:
67
68 AgentOrchestrationConfig m_agentOrchestrationConfig;
69 bool m_agentOrchestrationConfigHasBeenSet = false;
70
71 Aws::String m_profilingGroupName;
72 bool m_profilingGroupNameHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace CodeGuruProfiler
77} // namespace Aws
const AgentOrchestrationConfig & GetAgentOrchestrationConfig() const
UpdateProfilingGroupRequest & WithAgentOrchestrationConfig(AgentOrchestrationConfig &&value)
UpdateProfilingGroupRequest & WithProfilingGroupName(const char *value)
UpdateProfilingGroupRequest & WithAgentOrchestrationConfig(const AgentOrchestrationConfig &value)
AWS_CODEGURUPROFILER_API Aws::String SerializePayload() const override
UpdateProfilingGroupRequest & WithProfilingGroupName(Aws::String &&value)
UpdateProfilingGroupRequest & WithProfilingGroupName(const Aws::String &value)
void SetAgentOrchestrationConfig(const AgentOrchestrationConfig &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String