AWS SDK for C++  1.9.21
AWS SDK for C++
RemoveNotificationChannelRequest.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 "RemoveNotificationChannel"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetChannelId() const{ return m_channelId; }
43 
47  inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
48 
52  inline void SetChannelId(const Aws::String& value) { m_channelIdHasBeenSet = true; m_channelId = value; }
53 
57  inline void SetChannelId(Aws::String&& value) { m_channelIdHasBeenSet = true; m_channelId = std::move(value); }
58 
62  inline void SetChannelId(const char* value) { m_channelIdHasBeenSet = true; m_channelId.assign(value); }
63 
67  inline RemoveNotificationChannelRequest& WithChannelId(const Aws::String& value) { SetChannelId(value); return *this;}
68 
72  inline RemoveNotificationChannelRequest& WithChannelId(Aws::String&& value) { SetChannelId(std::move(value)); return *this;}
73 
77  inline RemoveNotificationChannelRequest& WithChannelId(const char* value) { SetChannelId(value); return *this;}
78 
79 
84  inline const Aws::String& GetProfilingGroupName() const{ return m_profilingGroupName; }
85 
90  inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
91 
96  inline void SetProfilingGroupName(const Aws::String& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = value; }
97 
102  inline void SetProfilingGroupName(Aws::String&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::move(value); }
103 
108  inline void SetProfilingGroupName(const char* value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName.assign(value); }
109 
114  inline RemoveNotificationChannelRequest& WithProfilingGroupName(const Aws::String& value) { SetProfilingGroupName(value); return *this;}
115 
120  inline RemoveNotificationChannelRequest& WithProfilingGroupName(Aws::String&& value) { SetProfilingGroupName(std::move(value)); return *this;}
121 
126  inline RemoveNotificationChannelRequest& WithProfilingGroupName(const char* value) { SetProfilingGroupName(value); return *this;}
127 
128  private:
129 
130  Aws::String m_channelId;
131  bool m_channelIdHasBeenSet;
132 
133  Aws::String m_profilingGroupName;
134  bool m_profilingGroupNameHasBeenSet;
135  };
136 
137 } // namespace Model
138 } // namespace CodeGuruProfiler
139 } // namespace Aws
Aws::CodeGuruProfiler::Model::RemoveNotificationChannelRequest::RemoveNotificationChannelRequest
RemoveNotificationChannelRequest()
Aws::CodeGuruProfiler::Model::RemoveNotificationChannelRequest::ProfilingGroupNameHasBeenSet
bool ProfilingGroupNameHasBeenSet() const
Definition: RemoveNotificationChannelRequest.h:90
Aws::CodeGuruProfiler::Model::RemoveNotificationChannelRequest::GetChannelId
const Aws::String & GetChannelId() const
Definition: RemoveNotificationChannelRequest.h:42
AWS_CODEGURUPROFILER_API
#define AWS_CODEGURUPROFILER_API
Definition: CodeGuruProfiler_EXPORTS.h:28
Aws::CodeGuruProfiler::Model::RemoveNotificationChannelRequest::SetChannelId
void SetChannelId(const char *value)
Definition: RemoveNotificationChannelRequest.h:62
Aws::CodeGuruProfiler::Model::RemoveNotificationChannelRequest::SetChannelId
void SetChannelId(Aws::String &&value)
Definition: RemoveNotificationChannelRequest.h:57
CodeGuruProfiler_EXPORTS.h
CodeGuruProfilerRequest.h
Aws::CodeGuruProfiler::Model::RemoveNotificationChannelRequest::WithProfilingGroupName
RemoveNotificationChannelRequest & WithProfilingGroupName(const Aws::String &value)
Definition: RemoveNotificationChannelRequest.h:114
Aws::CodeGuruProfiler::Model::RemoveNotificationChannelRequest::SetChannelId
void SetChannelId(const Aws::String &value)
Definition: RemoveNotificationChannelRequest.h:52
Aws::CodeGuruProfiler::Model::RemoveNotificationChannelRequest::WithProfilingGroupName
RemoveNotificationChannelRequest & WithProfilingGroupName(Aws::String &&value)
Definition: RemoveNotificationChannelRequest.h:120
Aws::CodeGuruProfiler::Model::RemoveNotificationChannelRequest::WithChannelId
RemoveNotificationChannelRequest & WithChannelId(const Aws::String &value)
Definition: RemoveNotificationChannelRequest.h:67
Aws::CodeGuruProfiler::Model::RemoveNotificationChannelRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RemoveNotificationChannelRequest.h:34
AWSString.h
Aws::CodeGuruProfiler::Model::RemoveNotificationChannelRequest::WithProfilingGroupName
RemoveNotificationChannelRequest & WithProfilingGroupName(const char *value)
Definition: RemoveNotificationChannelRequest.h:126
Aws::CodeGuruProfiler::Model::RemoveNotificationChannelRequest::GetProfilingGroupName
const Aws::String & GetProfilingGroupName() const
Definition: RemoveNotificationChannelRequest.h:84
Aws::CodeGuruProfiler::Model::RemoveNotificationChannelRequest::ChannelIdHasBeenSet
bool ChannelIdHasBeenSet() const
Definition: RemoveNotificationChannelRequest.h:47
Aws
Definition: AccessManagementClient.h:15
Aws::CodeGuruProfiler::Model::RemoveNotificationChannelRequest::WithChannelId
RemoveNotificationChannelRequest & WithChannelId(const char *value)
Definition: RemoveNotificationChannelRequest.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeGuruProfiler::Model::RemoveNotificationChannelRequest::WithChannelId
RemoveNotificationChannelRequest & WithChannelId(Aws::String &&value)
Definition: RemoveNotificationChannelRequest.h:72
Aws::CodeGuruProfiler::Model::RemoveNotificationChannelRequest::SetProfilingGroupName
void SetProfilingGroupName(const char *value)
Definition: RemoveNotificationChannelRequest.h:108
Aws::CodeGuruProfiler::Model::RemoveNotificationChannelRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodeGuruProfiler::Model::RemoveNotificationChannelRequest::SetProfilingGroupName
void SetProfilingGroupName(Aws::String &&value)
Definition: RemoveNotificationChannelRequest.h:102
Aws::CodeGuruProfiler::Model::RemoveNotificationChannelRequest
Definition: RemoveNotificationChannelRequest.h:26
Aws::CodeGuruProfiler::Model::RemoveNotificationChannelRequest::SetProfilingGroupName
void SetProfilingGroupName(const Aws::String &value)
Definition: RemoveNotificationChannelRequest.h:96
Aws::CodeGuruProfiler::CodeGuruProfilerRequest
Definition: CodeGuruProfilerRequest.h:18