AWS SDK for C++  1.9.15
AWS SDK for C++
CreateProfilingGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 #include <aws/core/utils/UUID.h>
15 
16 namespace Aws
17 {
18 namespace Http
19 {
20  class URI;
21 } //namespace Http
22 namespace CodeGuruProfiler
23 {
24 namespace Model
25 {
26 
34  {
35  public:
37 
38  // Service request name is the Operation name which will send this request out,
39  // each operation should has unique request name, so that we can get operation's name from this request.
40  // Note: this is not true for response, multiple operations may have the same response name,
41  // so we can not get operation's name from response.
42  inline virtual const char* GetServiceRequestName() const override { return "CreateProfilingGroup"; }
43 
44  Aws::String SerializePayload() const override;
45 
46  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
47 
48 
53  inline const AgentOrchestrationConfig& GetAgentOrchestrationConfig() const{ return m_agentOrchestrationConfig; }
54 
59  inline bool AgentOrchestrationConfigHasBeenSet() const { return m_agentOrchestrationConfigHasBeenSet; }
60 
65  inline void SetAgentOrchestrationConfig(const AgentOrchestrationConfig& value) { m_agentOrchestrationConfigHasBeenSet = true; m_agentOrchestrationConfig = value; }
66 
71  inline void SetAgentOrchestrationConfig(AgentOrchestrationConfig&& value) { m_agentOrchestrationConfigHasBeenSet = true; m_agentOrchestrationConfig = std::move(value); }
72 
77  inline CreateProfilingGroupRequest& WithAgentOrchestrationConfig(const AgentOrchestrationConfig& value) { SetAgentOrchestrationConfig(value); return *this;}
78 
83  inline CreateProfilingGroupRequest& WithAgentOrchestrationConfig(AgentOrchestrationConfig&& value) { SetAgentOrchestrationConfig(std::move(value)); return *this;}
84 
85 
91  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
92 
98  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
99 
105  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
106 
112  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
113 
119  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
120 
126  inline CreateProfilingGroupRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
127 
133  inline CreateProfilingGroupRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
134 
140  inline CreateProfilingGroupRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
141 
142 
150  inline const ComputePlatform& GetComputePlatform() const{ return m_computePlatform; }
151 
159  inline bool ComputePlatformHasBeenSet() const { return m_computePlatformHasBeenSet; }
160 
168  inline void SetComputePlatform(const ComputePlatform& value) { m_computePlatformHasBeenSet = true; m_computePlatform = value; }
169 
177  inline void SetComputePlatform(ComputePlatform&& value) { m_computePlatformHasBeenSet = true; m_computePlatform = std::move(value); }
178 
186  inline CreateProfilingGroupRequest& WithComputePlatform(const ComputePlatform& value) { SetComputePlatform(value); return *this;}
187 
195  inline CreateProfilingGroupRequest& WithComputePlatform(ComputePlatform&& value) { SetComputePlatform(std::move(value)); return *this;}
196 
197 
201  inline const Aws::String& GetProfilingGroupName() const{ return m_profilingGroupName; }
202 
206  inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
207 
211  inline void SetProfilingGroupName(const Aws::String& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = value; }
212 
216  inline void SetProfilingGroupName(Aws::String&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::move(value); }
217 
221  inline void SetProfilingGroupName(const char* value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName.assign(value); }
222 
226  inline CreateProfilingGroupRequest& WithProfilingGroupName(const Aws::String& value) { SetProfilingGroupName(value); return *this;}
227 
231  inline CreateProfilingGroupRequest& WithProfilingGroupName(Aws::String&& value) { SetProfilingGroupName(std::move(value)); return *this;}
232 
236  inline CreateProfilingGroupRequest& WithProfilingGroupName(const char* value) { SetProfilingGroupName(value); return *this;}
237 
238 
242  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
243 
247  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
248 
252  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
253 
257  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
258 
262  inline CreateProfilingGroupRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
263 
267  inline CreateProfilingGroupRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
268 
272  inline CreateProfilingGroupRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
273 
277  inline CreateProfilingGroupRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
278 
282  inline CreateProfilingGroupRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
283 
287  inline CreateProfilingGroupRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
288 
292  inline CreateProfilingGroupRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
293 
297  inline CreateProfilingGroupRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
298 
302  inline CreateProfilingGroupRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
303 
304  private:
305 
306  AgentOrchestrationConfig m_agentOrchestrationConfig;
307  bool m_agentOrchestrationConfigHasBeenSet;
308 
309  Aws::String m_clientToken;
310  bool m_clientTokenHasBeenSet;
311 
312  ComputePlatform m_computePlatform;
313  bool m_computePlatformHasBeenSet;
314 
315  Aws::String m_profilingGroupName;
316  bool m_profilingGroupNameHasBeenSet;
317 
319  bool m_tagsHasBeenSet;
320  };
321 
322 } // namespace Model
323 } // namespace CodeGuruProfiler
324 } // namespace Aws
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateProfilingGroupRequest.h:247
Aws::Http::URI
Definition: URI.h:32
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::GetProfilingGroupName
const Aws::String & GetProfilingGroupName() const
Definition: CreateProfilingGroupRequest.h:201
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::SetClientToken
void SetClientToken(const char *value)
Definition: CreateProfilingGroupRequest.h:119
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::CreateProfilingGroupRequest
CreateProfilingGroupRequest()
Aws::CodeGuruProfiler::Model::ComputePlatform
ComputePlatform
Definition: ComputePlatform.h:17
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::WithComputePlatform
CreateProfilingGroupRequest & WithComputePlatform(const ComputePlatform &value)
Definition: CreateProfilingGroupRequest.h:186
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::WithProfilingGroupName
CreateProfilingGroupRequest & WithProfilingGroupName(Aws::String &&value)
Definition: CreateProfilingGroupRequest.h:231
AWS_CODEGURUPROFILER_API
#define AWS_CODEGURUPROFILER_API
Definition: CodeGuruProfiler_EXPORTS.h:28
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::WithClientToken
CreateProfilingGroupRequest & WithClientToken(Aws::String &&value)
Definition: CreateProfilingGroupRequest.h:133
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::SetComputePlatform
void SetComputePlatform(ComputePlatform &&value)
Definition: CreateProfilingGroupRequest.h:177
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::SetProfilingGroupName
void SetProfilingGroupName(const char *value)
Definition: CreateProfilingGroupRequest.h:221
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::WithAgentOrchestrationConfig
CreateProfilingGroupRequest & WithAgentOrchestrationConfig(const AgentOrchestrationConfig &value)
Definition: CreateProfilingGroupRequest.h:77
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::WithClientToken
CreateProfilingGroupRequest & WithClientToken(const Aws::String &value)
Definition: CreateProfilingGroupRequest.h:126
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::WithProfilingGroupName
CreateProfilingGroupRequest & WithProfilingGroupName(const Aws::String &value)
Definition: CreateProfilingGroupRequest.h:226
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::SetProfilingGroupName
void SetProfilingGroupName(Aws::String &&value)
Definition: CreateProfilingGroupRequest.h:216
ComputePlatform.h
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::AddTags
CreateProfilingGroupRequest & AddTags(const char *key, const char *value)
Definition: CreateProfilingGroupRequest.h:302
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::SetAgentOrchestrationConfig
void SetAgentOrchestrationConfig(AgentOrchestrationConfig &&value)
Definition: CreateProfilingGroupRequest.h:71
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: CreateProfilingGroupRequest.h:98
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: CreateProfilingGroupRequest.h:112
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateProfilingGroupRequest.h:252
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::WithTags
CreateProfilingGroupRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateProfilingGroupRequest.h:262
CodeGuruProfiler_EXPORTS.h
CodeGuruProfilerRequest.h
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::AddTags
CreateProfilingGroupRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateProfilingGroupRequest.h:297
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::WithTags
CreateProfilingGroupRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateProfilingGroupRequest.h:267
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: CreateProfilingGroupRequest.h:105
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::GetAgentOrchestrationConfig
const AgentOrchestrationConfig & GetAgentOrchestrationConfig() const
Definition: CreateProfilingGroupRequest.h:53
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::WithAgentOrchestrationConfig
CreateProfilingGroupRequest & WithAgentOrchestrationConfig(AgentOrchestrationConfig &&value)
Definition: CreateProfilingGroupRequest.h:83
Aws::CodeGuruProfiler::Model::AgentOrchestrationConfig
Definition: AgentOrchestrationConfig.h:34
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::AgentOrchestrationConfigHasBeenSet
bool AgentOrchestrationConfigHasBeenSet() const
Definition: CreateProfilingGroupRequest.h:59
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateProfilingGroupRequest.h:242
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest
Definition: CreateProfilingGroupRequest.h:34
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::GetComputePlatform
const ComputePlatform & GetComputePlatform() const
Definition: CreateProfilingGroupRequest.h:150
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::AddTags
CreateProfilingGroupRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateProfilingGroupRequest.h:292
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::AddTags
CreateProfilingGroupRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateProfilingGroupRequest.h:272
AWSString.h
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::AddTags
CreateProfilingGroupRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateProfilingGroupRequest.h:282
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::ProfilingGroupNameHasBeenSet
bool ProfilingGroupNameHasBeenSet() const
Definition: CreateProfilingGroupRequest.h:206
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::SetComputePlatform
void SetComputePlatform(const ComputePlatform &value)
Definition: CreateProfilingGroupRequest.h:168
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateProfilingGroupRequest.h:42
Aws
Definition: AccessManagementClient.h:15
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::WithComputePlatform
CreateProfilingGroupRequest & WithComputePlatform(ComputePlatform &&value)
Definition: CreateProfilingGroupRequest.h:195
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::WithClientToken
CreateProfilingGroupRequest & WithClientToken(const char *value)
Definition: CreateProfilingGroupRequest.h:140
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::AddTags
CreateProfilingGroupRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateProfilingGroupRequest.h:277
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::AddTags
CreateProfilingGroupRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateProfilingGroupRequest.h:287
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AgentOrchestrationConfig.h
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::ComputePlatformHasBeenSet
bool ComputePlatformHasBeenSet() const
Definition: CreateProfilingGroupRequest.h:159
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: CreateProfilingGroupRequest.h:91
UUID.h
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::SetAgentOrchestrationConfig
void SetAgentOrchestrationConfig(const AgentOrchestrationConfig &value)
Definition: CreateProfilingGroupRequest.h:65
AWSMap.h
Aws::CodeGuruProfiler::CodeGuruProfilerRequest
Definition: CodeGuruProfilerRequest.h:18
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::SetProfilingGroupName
void SetProfilingGroupName(const Aws::String &value)
Definition: CreateProfilingGroupRequest.h:211
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::WithProfilingGroupName
CreateProfilingGroupRequest & WithProfilingGroupName(const char *value)
Definition: CreateProfilingGroupRequest.h:236
Aws::CodeGuruProfiler::Model::CreateProfilingGroupRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateProfilingGroupRequest.h:257