1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/kinesisvideo/KinesisVideo_EXPORTS.h> 8 #include <aws/kinesisvideo/KinesisVideoRequest.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 namespace KinesisVideo 15 { 16 namespace Model 17 { 18 19 /** 20 */ 21 class AWS_KINESISVIDEO_API DescribeSignalingChannelRequest : public KinesisVideoRequest 22 { 23 public: 24 DescribeSignalingChannelRequest(); 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. GetServiceRequestName()30 inline virtual const char* GetServiceRequestName() const override { return "DescribeSignalingChannel"; } 31 32 Aws::String SerializePayload() const override; 33 34 35 /** 36 * <p>The name of the signaling channel that you want to describe.</p> 37 */ GetChannelName()38 inline const Aws::String& GetChannelName() const{ return m_channelName; } 39 40 /** 41 * <p>The name of the signaling channel that you want to describe.</p> 42 */ ChannelNameHasBeenSet()43 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; } 44 45 /** 46 * <p>The name of the signaling channel that you want to describe.</p> 47 */ SetChannelName(const Aws::String & value)48 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; } 49 50 /** 51 * <p>The name of the signaling channel that you want to describe.</p> 52 */ SetChannelName(Aws::String && value)53 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); } 54 55 /** 56 * <p>The name of the signaling channel that you want to describe.</p> 57 */ SetChannelName(const char * value)58 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); } 59 60 /** 61 * <p>The name of the signaling channel that you want to describe.</p> 62 */ WithChannelName(const Aws::String & value)63 inline DescribeSignalingChannelRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;} 64 65 /** 66 * <p>The name of the signaling channel that you want to describe.</p> 67 */ WithChannelName(Aws::String && value)68 inline DescribeSignalingChannelRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;} 69 70 /** 71 * <p>The name of the signaling channel that you want to describe.</p> 72 */ WithChannelName(const char * value)73 inline DescribeSignalingChannelRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;} 74 75 76 /** 77 * <p>The ARN of the signaling channel that you want to describe.</p> 78 */ GetChannelARN()79 inline const Aws::String& GetChannelARN() const{ return m_channelARN; } 80 81 /** 82 * <p>The ARN of the signaling channel that you want to describe.</p> 83 */ ChannelARNHasBeenSet()84 inline bool ChannelARNHasBeenSet() const { return m_channelARNHasBeenSet; } 85 86 /** 87 * <p>The ARN of the signaling channel that you want to describe.</p> 88 */ SetChannelARN(const Aws::String & value)89 inline void SetChannelARN(const Aws::String& value) { m_channelARNHasBeenSet = true; m_channelARN = value; } 90 91 /** 92 * <p>The ARN of the signaling channel that you want to describe.</p> 93 */ SetChannelARN(Aws::String && value)94 inline void SetChannelARN(Aws::String&& value) { m_channelARNHasBeenSet = true; m_channelARN = std::move(value); } 95 96 /** 97 * <p>The ARN of the signaling channel that you want to describe.</p> 98 */ SetChannelARN(const char * value)99 inline void SetChannelARN(const char* value) { m_channelARNHasBeenSet = true; m_channelARN.assign(value); } 100 101 /** 102 * <p>The ARN of the signaling channel that you want to describe.</p> 103 */ WithChannelARN(const Aws::String & value)104 inline DescribeSignalingChannelRequest& WithChannelARN(const Aws::String& value) { SetChannelARN(value); return *this;} 105 106 /** 107 * <p>The ARN of the signaling channel that you want to describe.</p> 108 */ WithChannelARN(Aws::String && value)109 inline DescribeSignalingChannelRequest& WithChannelARN(Aws::String&& value) { SetChannelARN(std::move(value)); return *this;} 110 111 /** 112 * <p>The ARN of the signaling channel that you want to describe.</p> 113 */ WithChannelARN(const char * value)114 inline DescribeSignalingChannelRequest& WithChannelARN(const char* value) { SetChannelARN(value); return *this;} 115 116 private: 117 118 Aws::String m_channelName; 119 bool m_channelNameHasBeenSet; 120 121 Aws::String m_channelARN; 122 bool m_channelARNHasBeenSet; 123 }; 124 125 } // namespace Model 126 } // namespace KinesisVideo 127 } // namespace Aws 128