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/mediapackage/MediaPackage_EXPORTS.h>
8#include <aws/mediapackage/MediaPackageRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace MediaPackage
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_MEDIAPACKAGE_API UpdateChannelRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateChannel"; }
34
35 AWS_MEDIAPACKAGE_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetDescription() const{ return m_description; }
43 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
44 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
45 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
46 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
47 inline UpdateChannelRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
48 inline UpdateChannelRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
49 inline UpdateChannelRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
51
53
56 inline const Aws::String& GetId() const{ return m_id; }
57 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
58 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
59 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
60 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
61 inline UpdateChannelRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
62 inline UpdateChannelRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
63 inline UpdateChannelRequest& WithId(const char* value) { SetId(value); return *this;}
65 private:
66
67 Aws::String m_description;
68 bool m_descriptionHasBeenSet = false;
69
70 Aws::String m_id;
71 bool m_idHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace MediaPackage
76} // namespace Aws
AWS_MEDIAPACKAGE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateChannelRequest & WithId(Aws::String &&value)
UpdateChannelRequest & WithDescription(const char *value)
UpdateChannelRequest & WithDescription(const Aws::String &value)
UpdateChannelRequest & WithId(const Aws::String &value)
UpdateChannelRequest & WithDescription(Aws::String &&value)
UpdateChannelRequest & WithId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String