AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteChannelRequest.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
8#include <aws/mediapackagev2/Mediapackagev2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace mediapackagev2
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_MEDIAPACKAGEV2_API DeleteChannelRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteChannel"; }
31
32 AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override;
33
34
36
41 inline const Aws::String& GetChannelGroupName() const{ return m_channelGroupName; }
42 inline bool ChannelGroupNameHasBeenSet() const { return m_channelGroupNameHasBeenSet; }
43 inline void SetChannelGroupName(const Aws::String& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = value; }
44 inline void SetChannelGroupName(Aws::String&& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = std::move(value); }
45 inline void SetChannelGroupName(const char* value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName.assign(value); }
46 inline DeleteChannelRequest& WithChannelGroupName(const Aws::String& value) { SetChannelGroupName(value); return *this;}
47 inline DeleteChannelRequest& WithChannelGroupName(Aws::String&& value) { SetChannelGroupName(std::move(value)); return *this;}
48 inline DeleteChannelRequest& WithChannelGroupName(const char* value) { SetChannelGroupName(value); return *this;}
50
52
57 inline const Aws::String& GetChannelName() const{ return m_channelName; }
58 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
59 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
60 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
61 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
62 inline DeleteChannelRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
63 inline DeleteChannelRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
64 inline DeleteChannelRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
66 private:
67
68 Aws::String m_channelGroupName;
69 bool m_channelGroupNameHasBeenSet = false;
70
71 Aws::String m_channelName;
72 bool m_channelNameHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace mediapackagev2
77} // namespace Aws
AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override
DeleteChannelRequest & WithChannelGroupName(const Aws::String &value)
DeleteChannelRequest & WithChannelGroupName(const char *value)
DeleteChannelRequest & WithChannelGroupName(Aws::String &&value)
DeleteChannelRequest & WithChannelName(const char *value)
DeleteChannelRequest & WithChannelName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
DeleteChannelRequest & WithChannelName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String