AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
RemoveNotificationChannelRequest.h
1
6#pragma once
7#include <aws/codeguruprofiler/CodeGuruProfilerRequest.h>
8#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CodeGuruProfiler {
15namespace Model {
16
24 public:
25 AWS_CODEGURUPROFILER_API RemoveNotificationChannelRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "RemoveNotificationChannel"; }
32
33 AWS_CODEGURUPROFILER_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetChannelId() const { return m_channelId; }
40 inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
41 template <typename ChannelIdT = Aws::String>
42 void SetChannelId(ChannelIdT&& value) {
43 m_channelIdHasBeenSet = true;
44 m_channelId = std::forward<ChannelIdT>(value);
45 }
46 template <typename ChannelIdT = Aws::String>
48 SetChannelId(std::forward<ChannelIdT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetProfilingGroupName() const { return m_profilingGroupName; }
59 inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
60 template <typename ProfilingGroupNameT = Aws::String>
61 void SetProfilingGroupName(ProfilingGroupNameT&& value) {
62 m_profilingGroupNameHasBeenSet = true;
63 m_profilingGroupName = std::forward<ProfilingGroupNameT>(value);
64 }
65 template <typename ProfilingGroupNameT = Aws::String>
67 SetProfilingGroupName(std::forward<ProfilingGroupNameT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_channelId;
73
74 Aws::String m_profilingGroupName;
75 bool m_channelIdHasBeenSet = false;
76 bool m_profilingGroupNameHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace CodeGuruProfiler
81} // namespace Aws
AWS_CODEGURUPROFILER_API Aws::String SerializePayload() const override
AWS_CODEGURUPROFILER_API RemoveNotificationChannelRequest()=default
RemoveNotificationChannelRequest & WithProfilingGroupName(ProfilingGroupNameT &&value)
RemoveNotificationChannelRequest & WithChannelId(ChannelIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String