AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
UpdateChannelGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediapackagev2/Mediapackagev2Request.h>
9#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace mediapackagev2 {
15namespace Model {
16
20 public:
21 AWS_MEDIAPACKAGEV2_API UpdateChannelGroupRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateChannelGroup"; }
28
29 AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override;
30
31 AWS_MEDIAPACKAGEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
39 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
40 inline bool ChannelGroupNameHasBeenSet() const { return m_channelGroupNameHasBeenSet; }
41 template <typename ChannelGroupNameT = Aws::String>
42 void SetChannelGroupName(ChannelGroupNameT&& value) {
43 m_channelGroupNameHasBeenSet = true;
44 m_channelGroupName = std::forward<ChannelGroupNameT>(value);
45 }
46 template <typename ChannelGroupNameT = Aws::String>
47 UpdateChannelGroupRequest& WithChannelGroupName(ChannelGroupNameT&& value) {
48 SetChannelGroupName(std::forward<ChannelGroupNameT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetETag() const { return m_eTag; }
60 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
61 template <typename ETagT = Aws::String>
62 void SetETag(ETagT&& value) {
63 m_eTagHasBeenSet = true;
64 m_eTag = std::forward<ETagT>(value);
65 }
66 template <typename ETagT = Aws::String>
68 SetETag(std::forward<ETagT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetDescription() const { return m_description; }
79 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
80 template <typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) {
82 m_descriptionHasBeenSet = true;
83 m_description = std::forward<DescriptionT>(value);
84 }
85 template <typename DescriptionT = Aws::String>
87 SetDescription(std::forward<DescriptionT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_channelGroupName;
93 bool m_channelGroupNameHasBeenSet = false;
94
95 Aws::String m_eTag;
96 bool m_eTagHasBeenSet = false;
97
98 Aws::String m_description;
99 bool m_descriptionHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace mediapackagev2
104} // namespace Aws
UpdateChannelGroupRequest & WithETag(ETagT &&value)
AWS_MEDIAPACKAGEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_MEDIAPACKAGEV2_API UpdateChannelGroupRequest()=default
UpdateChannelGroupRequest & WithDescription(DescriptionT &&value)
AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override
UpdateChannelGroupRequest & WithChannelGroupName(ChannelGroupNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String