/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The structure representing the createProfiliingGroupRequest.See
* Also:
AWS
* API Reference
Specifies whether profiling is enabled or disabled for the created profiling * group.
*/ inline const AgentOrchestrationConfig& GetAgentOrchestrationConfig() const{ return m_agentOrchestrationConfig; } /** *Specifies whether profiling is enabled or disabled for the created profiling * group.
*/ inline bool AgentOrchestrationConfigHasBeenSet() const { return m_agentOrchestrationConfigHasBeenSet; } /** *Specifies whether profiling is enabled or disabled for the created profiling * group.
*/ inline void SetAgentOrchestrationConfig(const AgentOrchestrationConfig& value) { m_agentOrchestrationConfigHasBeenSet = true; m_agentOrchestrationConfig = value; } /** *Specifies whether profiling is enabled or disabled for the created profiling * group.
*/ inline void SetAgentOrchestrationConfig(AgentOrchestrationConfig&& value) { m_agentOrchestrationConfigHasBeenSet = true; m_agentOrchestrationConfig = std::move(value); } /** *Specifies whether profiling is enabled or disabled for the created profiling * group.
*/ inline CreateProfilingGroupRequest& WithAgentOrchestrationConfig(const AgentOrchestrationConfig& value) { SetAgentOrchestrationConfig(value); return *this;} /** *Specifies whether profiling is enabled or disabled for the created profiling * group.
*/ inline CreateProfilingGroupRequest& WithAgentOrchestrationConfig(AgentOrchestrationConfig&& value) { SetAgentOrchestrationConfig(std::move(value)); return *this;} /** *Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to * prevent the accidental creation of duplicate profiling groups if there are * failures and retries.
*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to * prevent the accidental creation of duplicate profiling groups if there are * failures and retries.
*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to * prevent the accidental creation of duplicate profiling groups if there are * failures and retries.
*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to * prevent the accidental creation of duplicate profiling groups if there are * failures and retries.
*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to * prevent the accidental creation of duplicate profiling groups if there are * failures and retries.
*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to * prevent the accidental creation of duplicate profiling groups if there are * failures and retries.
*/ inline CreateProfilingGroupRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to * prevent the accidental creation of duplicate profiling groups if there are * failures and retries.
*/ inline CreateProfilingGroupRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to * prevent the accidental creation of duplicate profiling groups if there are * failures and retries.
*/ inline CreateProfilingGroupRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** * The compute platform of the profiling group. Use AWSLambda if
* your application runs on AWS Lambda. Use Default if your
* application runs on a compute platform that is not AWS Lambda, such an Amazon
* EC2 instance, an on-premises server, or a different platform. If not specified,
* Default is used.
The compute platform of the profiling group. Use AWSLambda if
* your application runs on AWS Lambda. Use Default if your
* application runs on a compute platform that is not AWS Lambda, such an Amazon
* EC2 instance, an on-premises server, or a different platform. If not specified,
* Default is used.
The compute platform of the profiling group. Use AWSLambda if
* your application runs on AWS Lambda. Use Default if your
* application runs on a compute platform that is not AWS Lambda, such an Amazon
* EC2 instance, an on-premises server, or a different platform. If not specified,
* Default is used.
The compute platform of the profiling group. Use AWSLambda if
* your application runs on AWS Lambda. Use Default if your
* application runs on a compute platform that is not AWS Lambda, such an Amazon
* EC2 instance, an on-premises server, or a different platform. If not specified,
* Default is used.
The compute platform of the profiling group. Use AWSLambda if
* your application runs on AWS Lambda. Use Default if your
* application runs on a compute platform that is not AWS Lambda, such an Amazon
* EC2 instance, an on-premises server, or a different platform. If not specified,
* Default is used.
The compute platform of the profiling group. Use AWSLambda if
* your application runs on AWS Lambda. Use Default if your
* application runs on a compute platform that is not AWS Lambda, such an Amazon
* EC2 instance, an on-premises server, or a different platform. If not specified,
* Default is used.
The name of the profiling group to create.
*/ inline const Aws::String& GetProfilingGroupName() const{ return m_profilingGroupName; } /** *The name of the profiling group to create.
*/ inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; } /** *The name of the profiling group to create.
*/ inline void SetProfilingGroupName(const Aws::String& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = value; } /** *The name of the profiling group to create.
*/ inline void SetProfilingGroupName(Aws::String&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::move(value); } /** *The name of the profiling group to create.
*/ inline void SetProfilingGroupName(const char* value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName.assign(value); } /** *The name of the profiling group to create.
*/ inline CreateProfilingGroupRequest& WithProfilingGroupName(const Aws::String& value) { SetProfilingGroupName(value); return *this;} /** *The name of the profiling group to create.
*/ inline CreateProfilingGroupRequest& WithProfilingGroupName(Aws::String&& value) { SetProfilingGroupName(std::move(value)); return *this;} /** *The name of the profiling group to create.
*/ inline CreateProfilingGroupRequest& WithProfilingGroupName(const char* value) { SetProfilingGroupName(value); return *this;} /** *A list of tags to add to the created profiling group.
*/ inline const Aws::MapA list of tags to add to the created profiling group.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *A list of tags to add to the created profiling group.
*/ inline void SetTags(const Aws::MapA list of tags to add to the created profiling group.
*/ inline void SetTags(Aws::MapA list of tags to add to the created profiling group.
*/ inline CreateProfilingGroupRequest& WithTags(const Aws::MapA list of tags to add to the created profiling group.
*/ inline CreateProfilingGroupRequest& WithTags(Aws::MapA list of tags to add to the created profiling group.
*/ inline CreateProfilingGroupRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *A list of tags to add to the created profiling group.
*/ inline CreateProfilingGroupRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *A list of tags to add to the created profiling group.
*/ inline CreateProfilingGroupRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *A list of tags to add to the created profiling group.
*/ inline CreateProfilingGroupRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *A list of tags to add to the created profiling group.
*/ inline CreateProfilingGroupRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *A list of tags to add to the created profiling group.
*/ inline CreateProfilingGroupRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *A list of tags to add to the created profiling group.
*/ inline CreateProfilingGroupRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: AgentOrchestrationConfig m_agentOrchestrationConfig; bool m_agentOrchestrationConfigHasBeenSet; Aws::String m_clientToken; bool m_clientTokenHasBeenSet; ComputePlatform m_computePlatform; bool m_computePlatformHasBeenSet; Aws::String m_profilingGroupName; bool m_profilingGroupNameHasBeenSet; Aws::Map