AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateChannelGroupRequest.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 UpdateChannelGroupRequest() = default;
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 "UpdateChannelGroup"; }
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 template<typename ChannelGroupNameT = Aws::String>
46 void SetChannelGroupName(ChannelGroupNameT&& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = std::forward<ChannelGroupNameT>(value); }
47 template<typename ChannelGroupNameT = Aws::String>
48 UpdateChannelGroupRequest& WithChannelGroupName(ChannelGroupNameT&& value) { SetChannelGroupName(std::forward<ChannelGroupNameT>(value)); return *this;}
50
52
57 inline const Aws::String& GetETag() const { return m_eTag; }
58 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
59 template<typename ETagT = Aws::String>
60 void SetETag(ETagT&& value) { m_eTagHasBeenSet = true; m_eTag = std::forward<ETagT>(value); }
61 template<typename ETagT = Aws::String>
62 UpdateChannelGroupRequest& WithETag(ETagT&& value) { SetETag(std::forward<ETagT>(value)); return *this;}
64
66
70 inline const Aws::String& GetDescription() const { return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 template<typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
74 template<typename DescriptionT = Aws::String>
75 UpdateChannelGroupRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
77 private:
78
79 Aws::String m_channelGroupName;
80 bool m_channelGroupNameHasBeenSet = false;
81
82 Aws::String m_eTag;
83 bool m_eTagHasBeenSet = false;
84
85 Aws::String m_description;
86 bool m_descriptionHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace mediapackagev2
91} // 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