AWS SDK for C++  1.9.19
AWS SDK for C++
UpdateProfilingGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace CodeGuruProfiler
16 {
17 namespace Model
18 {
19 
27  {
28  public:
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::String SerializePayload() const override;
38 
39 
44  inline const AgentOrchestrationConfig& GetAgentOrchestrationConfig() const{ return m_agentOrchestrationConfig; }
45 
50  inline bool AgentOrchestrationConfigHasBeenSet() const { return m_agentOrchestrationConfigHasBeenSet; }
51 
56  inline void SetAgentOrchestrationConfig(const AgentOrchestrationConfig& value) { m_agentOrchestrationConfigHasBeenSet = true; m_agentOrchestrationConfig = value; }
57 
62  inline void SetAgentOrchestrationConfig(AgentOrchestrationConfig&& value) { m_agentOrchestrationConfigHasBeenSet = true; m_agentOrchestrationConfig = std::move(value); }
63 
68  inline UpdateProfilingGroupRequest& WithAgentOrchestrationConfig(const AgentOrchestrationConfig& value) { SetAgentOrchestrationConfig(value); return *this;}
69 
74  inline UpdateProfilingGroupRequest& WithAgentOrchestrationConfig(AgentOrchestrationConfig&& value) { SetAgentOrchestrationConfig(std::move(value)); return *this;}
75 
76 
80  inline const Aws::String& GetProfilingGroupName() const{ return m_profilingGroupName; }
81 
85  inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
86 
90  inline void SetProfilingGroupName(const Aws::String& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = value; }
91 
95  inline void SetProfilingGroupName(Aws::String&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::move(value); }
96 
100  inline void SetProfilingGroupName(const char* value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName.assign(value); }
101 
105  inline UpdateProfilingGroupRequest& WithProfilingGroupName(const Aws::String& value) { SetProfilingGroupName(value); return *this;}
106 
110  inline UpdateProfilingGroupRequest& WithProfilingGroupName(Aws::String&& value) { SetProfilingGroupName(std::move(value)); return *this;}
111 
115  inline UpdateProfilingGroupRequest& WithProfilingGroupName(const char* value) { SetProfilingGroupName(value); return *this;}
116 
117  private:
118 
119  AgentOrchestrationConfig m_agentOrchestrationConfig;
120  bool m_agentOrchestrationConfigHasBeenSet;
121 
122  Aws::String m_profilingGroupName;
123  bool m_profilingGroupNameHasBeenSet;
124  };
125 
126 } // namespace Model
127 } // namespace CodeGuruProfiler
128 } // namespace Aws
Aws::CodeGuruProfiler::Model::UpdateProfilingGroupRequest::WithAgentOrchestrationConfig
UpdateProfilingGroupRequest & WithAgentOrchestrationConfig(const AgentOrchestrationConfig &value)
Definition: UpdateProfilingGroupRequest.h:68
Aws::CodeGuruProfiler::Model::UpdateProfilingGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateProfilingGroupRequest.h:35
AWS_CODEGURUPROFILER_API
#define AWS_CODEGURUPROFILER_API
Definition: CodeGuruProfiler_EXPORTS.h:28
Aws::CodeGuruProfiler::Model::UpdateProfilingGroupRequest::GetAgentOrchestrationConfig
const AgentOrchestrationConfig & GetAgentOrchestrationConfig() const
Definition: UpdateProfilingGroupRequest.h:44
Aws::CodeGuruProfiler::Model::UpdateProfilingGroupRequest::SetAgentOrchestrationConfig
void SetAgentOrchestrationConfig(AgentOrchestrationConfig &&value)
Definition: UpdateProfilingGroupRequest.h:62
CodeGuruProfiler_EXPORTS.h
CodeGuruProfilerRequest.h
Aws::CodeGuruProfiler::Model::UpdateProfilingGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodeGuruProfiler::Model::UpdateProfilingGroupRequest::SetAgentOrchestrationConfig
void SetAgentOrchestrationConfig(const AgentOrchestrationConfig &value)
Definition: UpdateProfilingGroupRequest.h:56
Aws::CodeGuruProfiler::Model::AgentOrchestrationConfig
Definition: AgentOrchestrationConfig.h:34
Aws::CodeGuruProfiler::Model::UpdateProfilingGroupRequest::WithProfilingGroupName
UpdateProfilingGroupRequest & WithProfilingGroupName(const char *value)
Definition: UpdateProfilingGroupRequest.h:115
Aws::CodeGuruProfiler::Model::UpdateProfilingGroupRequest::SetProfilingGroupName
void SetProfilingGroupName(const char *value)
Definition: UpdateProfilingGroupRequest.h:100
Aws::CodeGuruProfiler::Model::UpdateProfilingGroupRequest::SetProfilingGroupName
void SetProfilingGroupName(const Aws::String &value)
Definition: UpdateProfilingGroupRequest.h:90
AWSString.h
Aws::CodeGuruProfiler::Model::UpdateProfilingGroupRequest
Definition: UpdateProfilingGroupRequest.h:27
Aws::CodeGuruProfiler::Model::UpdateProfilingGroupRequest::SetProfilingGroupName
void SetProfilingGroupName(Aws::String &&value)
Definition: UpdateProfilingGroupRequest.h:95
Aws::CodeGuruProfiler::Model::UpdateProfilingGroupRequest::AgentOrchestrationConfigHasBeenSet
bool AgentOrchestrationConfigHasBeenSet() const
Definition: UpdateProfilingGroupRequest.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeGuruProfiler::Model::UpdateProfilingGroupRequest::ProfilingGroupNameHasBeenSet
bool ProfilingGroupNameHasBeenSet() const
Definition: UpdateProfilingGroupRequest.h:85
Aws::CodeGuruProfiler::Model::UpdateProfilingGroupRequest::WithAgentOrchestrationConfig
UpdateProfilingGroupRequest & WithAgentOrchestrationConfig(AgentOrchestrationConfig &&value)
Definition: UpdateProfilingGroupRequest.h:74
Aws::CodeGuruProfiler::Model::UpdateProfilingGroupRequest::WithProfilingGroupName
UpdateProfilingGroupRequest & WithProfilingGroupName(Aws::String &&value)
Definition: UpdateProfilingGroupRequest.h:110
AgentOrchestrationConfig.h
Aws::CodeGuruProfiler::Model::UpdateProfilingGroupRequest::WithProfilingGroupName
UpdateProfilingGroupRequest & WithProfilingGroupName(const Aws::String &value)
Definition: UpdateProfilingGroupRequest.h:105
Aws::CodeGuruProfiler::CodeGuruProfilerRequest
Definition: CodeGuruProfilerRequest.h:18
Aws::CodeGuruProfiler::Model::UpdateProfilingGroupRequest::GetProfilingGroupName
const Aws::String & GetProfilingGroupName() const
Definition: UpdateProfilingGroupRequest.h:80
Aws::CodeGuruProfiler::Model::UpdateProfilingGroupRequest::UpdateProfilingGroupRequest
UpdateProfilingGroupRequest()