AWS SDK for C++  1.9.16
AWS SDK for C++
DeleteProfilingGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CodeGuruProfiler
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DeleteProfilingGroup"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetProfilingGroupName() const{ return m_profilingGroupName; }
43 
47  inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
48 
52  inline void SetProfilingGroupName(const Aws::String& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = value; }
53 
57  inline void SetProfilingGroupName(Aws::String&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::move(value); }
58 
62  inline void SetProfilingGroupName(const char* value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName.assign(value); }
63 
67  inline DeleteProfilingGroupRequest& WithProfilingGroupName(const Aws::String& value) { SetProfilingGroupName(value); return *this;}
68 
72  inline DeleteProfilingGroupRequest& WithProfilingGroupName(Aws::String&& value) { SetProfilingGroupName(std::move(value)); return *this;}
73 
77  inline DeleteProfilingGroupRequest& WithProfilingGroupName(const char* value) { SetProfilingGroupName(value); return *this;}
78 
79  private:
80 
81  Aws::String m_profilingGroupName;
82  bool m_profilingGroupNameHasBeenSet;
83  };
84 
85 } // namespace Model
86 } // namespace CodeGuruProfiler
87 } // namespace Aws
Aws::CodeGuruProfiler::Model::DeleteProfilingGroupRequest::DeleteProfilingGroupRequest
DeleteProfilingGroupRequest()
Aws::CodeGuruProfiler::Model::DeleteProfilingGroupRequest::SetProfilingGroupName
void SetProfilingGroupName(Aws::String &&value)
Definition: DeleteProfilingGroupRequest.h:57
AWS_CODEGURUPROFILER_API
#define AWS_CODEGURUPROFILER_API
Definition: CodeGuruProfiler_EXPORTS.h:28
Aws::CodeGuruProfiler::Model::DeleteProfilingGroupRequest::SetProfilingGroupName
void SetProfilingGroupName(const char *value)
Definition: DeleteProfilingGroupRequest.h:62
Aws::CodeGuruProfiler::Model::DeleteProfilingGroupRequest::SetProfilingGroupName
void SetProfilingGroupName(const Aws::String &value)
Definition: DeleteProfilingGroupRequest.h:52
CodeGuruProfiler_EXPORTS.h
CodeGuruProfilerRequest.h
Aws::CodeGuruProfiler::Model::DeleteProfilingGroupRequest::GetProfilingGroupName
const Aws::String & GetProfilingGroupName() const
Definition: DeleteProfilingGroupRequest.h:42
Aws::CodeGuruProfiler::Model::DeleteProfilingGroupRequest::WithProfilingGroupName
DeleteProfilingGroupRequest & WithProfilingGroupName(Aws::String &&value)
Definition: DeleteProfilingGroupRequest.h:72
Aws::CodeGuruProfiler::Model::DeleteProfilingGroupRequest
Definition: DeleteProfilingGroupRequest.h:26
AWSString.h
Aws::CodeGuruProfiler::Model::DeleteProfilingGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteProfilingGroupRequest.h:34
Aws::CodeGuruProfiler::Model::DeleteProfilingGroupRequest::WithProfilingGroupName
DeleteProfilingGroupRequest & WithProfilingGroupName(const char *value)
Definition: DeleteProfilingGroupRequest.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::CodeGuruProfiler::Model::DeleteProfilingGroupRequest::ProfilingGroupNameHasBeenSet
bool ProfilingGroupNameHasBeenSet() const
Definition: DeleteProfilingGroupRequest.h:47
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeGuruProfiler::Model::DeleteProfilingGroupRequest::WithProfilingGroupName
DeleteProfilingGroupRequest & WithProfilingGroupName(const Aws::String &value)
Definition: DeleteProfilingGroupRequest.h:67
Aws::CodeGuruProfiler::Model::DeleteProfilingGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodeGuruProfiler::CodeGuruProfilerRequest
Definition: CodeGuruProfilerRequest.h:18