AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateChannelRequest.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 UpdateChannelRequest();
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 "UpdateChannel"; }
31
32 AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override;
33
34 AWS_MEDIAPACKAGEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
43 inline const Aws::String& GetChannelGroupName() const{ return m_channelGroupName; }
44 inline bool ChannelGroupNameHasBeenSet() const { return m_channelGroupNameHasBeenSet; }
45 inline void SetChannelGroupName(const Aws::String& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = value; }
46 inline void SetChannelGroupName(Aws::String&& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = std::move(value); }
47 inline void SetChannelGroupName(const char* value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName.assign(value); }
48 inline UpdateChannelRequest& WithChannelGroupName(const Aws::String& value) { SetChannelGroupName(value); return *this;}
49 inline UpdateChannelRequest& WithChannelGroupName(Aws::String&& value) { SetChannelGroupName(std::move(value)); return *this;}
50 inline UpdateChannelRequest& WithChannelGroupName(const char* value) { SetChannelGroupName(value); return *this;}
52
54
59 inline const Aws::String& GetChannelName() const{ return m_channelName; }
60 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
61 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
62 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
63 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
64 inline UpdateChannelRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
65 inline UpdateChannelRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
66 inline UpdateChannelRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
68
70
75 inline const Aws::String& GetETag() const{ return m_eTag; }
76 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
77 inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; }
78 inline void SetETag(Aws::String&& value) { m_eTagHasBeenSet = true; m_eTag = std::move(value); }
79 inline void SetETag(const char* value) { m_eTagHasBeenSet = true; m_eTag.assign(value); }
80 inline UpdateChannelRequest& WithETag(const Aws::String& value) { SetETag(value); return *this;}
81 inline UpdateChannelRequest& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
82 inline UpdateChannelRequest& WithETag(const char* value) { SetETag(value); return *this;}
84
86
90 inline const Aws::String& GetDescription() const{ return m_description; }
91 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
92 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
93 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
94 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
95 inline UpdateChannelRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
96 inline UpdateChannelRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
97 inline UpdateChannelRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
99 private:
100
101 Aws::String m_channelGroupName;
102 bool m_channelGroupNameHasBeenSet = false;
103
104 Aws::String m_channelName;
105 bool m_channelNameHasBeenSet = false;
106
107 Aws::String m_eTag;
108 bool m_eTagHasBeenSet = false;
109
110 Aws::String m_description;
111 bool m_descriptionHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace mediapackagev2
116} // namespace Aws
UpdateChannelRequest & WithETag(const char *value)
UpdateChannelRequest & WithChannelGroupName(const char *value)
AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override
UpdateChannelRequest & WithChannelGroupName(const Aws::String &value)
UpdateChannelRequest & WithChannelName(const Aws::String &value)
UpdateChannelRequest & WithChannelGroupName(Aws::String &&value)
UpdateChannelRequest & WithETag(Aws::String &&value)
UpdateChannelRequest & WithDescription(const Aws::String &value)
UpdateChannelRequest & WithChannelName(const char *value)
UpdateChannelRequest & WithDescription(const char *value)
UpdateChannelRequest & WithETag(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateChannelRequest & WithDescription(Aws::String &&value)
UpdateChannelRequest & WithChannelName(Aws::String &&value)
AWS_MEDIAPACKAGEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String