AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateChannelRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediapackage/MediaPackageRequest.h>
9#include <aws/mediapackage/MediaPackage_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace MediaPackage {
15namespace Model {
16
23 public:
24 AWS_MEDIAPACKAGE_API UpdateChannelRequest() = 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 "UpdateChannel"; }
31
32 AWS_MEDIAPACKAGE_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetDescription() const { return m_description; }
39 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
40 template <typename DescriptionT = Aws::String>
41 void SetDescription(DescriptionT&& value) {
42 m_descriptionHasBeenSet = true;
43 m_description = std::forward<DescriptionT>(value);
44 }
45 template <typename DescriptionT = Aws::String>
46 UpdateChannelRequest& WithDescription(DescriptionT&& value) {
47 SetDescription(std::forward<DescriptionT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetId() const { return m_id; }
57 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
58 template <typename IdT = Aws::String>
59 void SetId(IdT&& value) {
60 m_idHasBeenSet = true;
61 m_id = std::forward<IdT>(value);
62 }
63 template <typename IdT = Aws::String>
65 SetId(std::forward<IdT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_description;
71
72 Aws::String m_id;
73 bool m_descriptionHasBeenSet = false;
74 bool m_idHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace MediaPackage
79} // namespace Aws
UpdateChannelRequest & WithDescription(DescriptionT &&value)
AWS_MEDIAPACKAGE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateChannelRequest & WithId(IdT &&value)
AWS_MEDIAPACKAGE_API UpdateChannelRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String