AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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); }
49 inline UpdateChannelGroupRequest& WithChannelGroupName(Aws::String&& value) { SetChannelGroupName(std::move(value)); return *this;}
50 inline UpdateChannelGroupRequest& WithChannelGroupName(const char* value) { SetChannelGroupName(value); return *this;}
52
54
59 inline const Aws::String& GetETag() const{ return m_eTag; }
60 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
61 inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; }
62 inline void SetETag(Aws::String&& value) { m_eTagHasBeenSet = true; m_eTag = std::move(value); }
63 inline void SetETag(const char* value) { m_eTagHasBeenSet = true; m_eTag.assign(value); }
64 inline UpdateChannelGroupRequest& WithETag(const Aws::String& value) { SetETag(value); return *this;}
65 inline UpdateChannelGroupRequest& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
66 inline UpdateChannelGroupRequest& WithETag(const char* value) { SetETag(value); return *this;}
68
70
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline UpdateChannelGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline UpdateChannelGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline UpdateChannelGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
83 private:
84
85 Aws::String m_channelGroupName;
86 bool m_channelGroupNameHasBeenSet = false;
87
88 Aws::String m_eTag;
89 bool m_eTagHasBeenSet = false;
90
91 Aws::String m_description;
92 bool m_descriptionHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace mediapackagev2
97} // namespace Aws
UpdateChannelGroupRequest & WithChannelGroupName(const char *value)
UpdateChannelGroupRequest & WithDescription(const char *value)
UpdateChannelGroupRequest & WithChannelGroupName(const Aws::String &value)
UpdateChannelGroupRequest & WithDescription(const Aws::String &value)
UpdateChannelGroupRequest & WithDescription(Aws::String &&value)
UpdateChannelGroupRequest & WithChannelGroupName(Aws::String &&value)
UpdateChannelGroupRequest & WithETag(Aws::String &&value)
AWS_MEDIAPACKAGEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateChannelGroupRequest & WithETag(const char *value)
AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override
UpdateChannelGroupRequest & WithETag(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String