AWS SDK for C++  1.9.123
AWS SDK for C++
DescribeChannelRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MediaLive
15 {
16 namespace Model
17 {
18 
25  {
26  public:
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 "DescribeChannel"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetChannelId() const{ return m_channelId; }
42 
46  inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
47 
51  inline void SetChannelId(const Aws::String& value) { m_channelIdHasBeenSet = true; m_channelId = value; }
52 
56  inline void SetChannelId(Aws::String&& value) { m_channelIdHasBeenSet = true; m_channelId = std::move(value); }
57 
61  inline void SetChannelId(const char* value) { m_channelIdHasBeenSet = true; m_channelId.assign(value); }
62 
66  inline DescribeChannelRequest& WithChannelId(const Aws::String& value) { SetChannelId(value); return *this;}
67 
71  inline DescribeChannelRequest& WithChannelId(Aws::String&& value) { SetChannelId(std::move(value)); return *this;}
72 
76  inline DescribeChannelRequest& WithChannelId(const char* value) { SetChannelId(value); return *this;}
77 
78  private:
79 
80  Aws::String m_channelId;
81  bool m_channelIdHasBeenSet;
82  };
83 
84 } // namespace Model
85 } // namespace MediaLive
86 } // namespace Aws
Aws::MediaLive::Model::DescribeChannelRequest::DescribeChannelRequest
DescribeChannelRequest()
Aws::MediaLive::Model::DescribeChannelRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaLive::Model::DescribeChannelRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeChannelRequest.h:33
Aws::MediaLive::Model::DescribeChannelRequest::SetChannelId
void SetChannelId(Aws::String &&value)
Definition: DescribeChannelRequest.h:56
Aws::MediaLive::Model::DescribeChannelRequest::SetChannelId
void SetChannelId(const Aws::String &value)
Definition: DescribeChannelRequest.h:51
Aws::MediaLive::Model::DescribeChannelRequest::WithChannelId
DescribeChannelRequest & WithChannelId(Aws::String &&value)
Definition: DescribeChannelRequest.h:71
Aws::MediaLive::Model::DescribeChannelRequest::WithChannelId
DescribeChannelRequest & WithChannelId(const Aws::String &value)
Definition: DescribeChannelRequest.h:66
Aws::MediaLive::MediaLiveRequest
Definition: MediaLiveRequest.h:17
Aws::MediaLive::Model::DescribeChannelRequest::ChannelIdHasBeenSet
bool ChannelIdHasBeenSet() const
Definition: DescribeChannelRequest.h:46
Aws::MediaLive::Model::DescribeChannelRequest::SetChannelId
void SetChannelId(const char *value)
Definition: DescribeChannelRequest.h:61
AWS_MEDIALIVE_API
#define AWS_MEDIALIVE_API
Definition: MediaLive_EXPORTS.h:28
AWSString.h
Aws::MediaLive::Model::DescribeChannelRequest
Definition: DescribeChannelRequest.h:25
Aws::MediaLive::Model::DescribeChannelRequest::GetChannelId
const Aws::String & GetChannelId() const
Definition: DescribeChannelRequest.h:41
Aws
Definition: AccessManagementClient.h:15
MediaLiveRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaLive::Model::DescribeChannelRequest::WithChannelId
DescribeChannelRequest & WithChannelId(const char *value)
Definition: DescribeChannelRequest.h:76
MediaLive_EXPORTS.h