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/medialive/MediaLive_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 namespace Utils 14 { 15 namespace Json 16 { 17 class JsonValue; 18 class JsonView; 19 } // namespace Json 20 } // namespace Utils 21 namespace MediaLive 22 { 23 namespace Model 24 { 25 26 /** 27 * Placeholder documentation for OutputDestinationSettings<p><h3>See Also:</h3> 28 * <a 29 * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/OutputDestinationSettings">AWS 30 * API Reference</a></p> 31 */ 32 class AWS_MEDIALIVE_API OutputDestinationSettings 33 { 34 public: 35 OutputDestinationSettings(); 36 OutputDestinationSettings(Aws::Utils::Json::JsonView jsonValue); 37 OutputDestinationSettings& operator=(Aws::Utils::Json::JsonView jsonValue); 38 Aws::Utils::Json::JsonValue Jsonize() const; 39 40 41 /** 42 * key used to extract the password from EC2 Parameter store 43 */ GetPasswordParam()44 inline const Aws::String& GetPasswordParam() const{ return m_passwordParam; } 45 46 /** 47 * key used to extract the password from EC2 Parameter store 48 */ PasswordParamHasBeenSet()49 inline bool PasswordParamHasBeenSet() const { return m_passwordParamHasBeenSet; } 50 51 /** 52 * key used to extract the password from EC2 Parameter store 53 */ SetPasswordParam(const Aws::String & value)54 inline void SetPasswordParam(const Aws::String& value) { m_passwordParamHasBeenSet = true; m_passwordParam = value; } 55 56 /** 57 * key used to extract the password from EC2 Parameter store 58 */ SetPasswordParam(Aws::String && value)59 inline void SetPasswordParam(Aws::String&& value) { m_passwordParamHasBeenSet = true; m_passwordParam = std::move(value); } 60 61 /** 62 * key used to extract the password from EC2 Parameter store 63 */ SetPasswordParam(const char * value)64 inline void SetPasswordParam(const char* value) { m_passwordParamHasBeenSet = true; m_passwordParam.assign(value); } 65 66 /** 67 * key used to extract the password from EC2 Parameter store 68 */ WithPasswordParam(const Aws::String & value)69 inline OutputDestinationSettings& WithPasswordParam(const Aws::String& value) { SetPasswordParam(value); return *this;} 70 71 /** 72 * key used to extract the password from EC2 Parameter store 73 */ WithPasswordParam(Aws::String && value)74 inline OutputDestinationSettings& WithPasswordParam(Aws::String&& value) { SetPasswordParam(std::move(value)); return *this;} 75 76 /** 77 * key used to extract the password from EC2 Parameter store 78 */ WithPasswordParam(const char * value)79 inline OutputDestinationSettings& WithPasswordParam(const char* value) { SetPasswordParam(value); return *this;} 80 81 82 /** 83 * Stream name for RTMP destinations (URLs of type rtmp://) 84 */ GetStreamName()85 inline const Aws::String& GetStreamName() const{ return m_streamName; } 86 87 /** 88 * Stream name for RTMP destinations (URLs of type rtmp://) 89 */ StreamNameHasBeenSet()90 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; } 91 92 /** 93 * Stream name for RTMP destinations (URLs of type rtmp://) 94 */ SetStreamName(const Aws::String & value)95 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; } 96 97 /** 98 * Stream name for RTMP destinations (URLs of type rtmp://) 99 */ SetStreamName(Aws::String && value)100 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); } 101 102 /** 103 * Stream name for RTMP destinations (URLs of type rtmp://) 104 */ SetStreamName(const char * value)105 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); } 106 107 /** 108 * Stream name for RTMP destinations (URLs of type rtmp://) 109 */ WithStreamName(const Aws::String & value)110 inline OutputDestinationSettings& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;} 111 112 /** 113 * Stream name for RTMP destinations (URLs of type rtmp://) 114 */ WithStreamName(Aws::String && value)115 inline OutputDestinationSettings& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;} 116 117 /** 118 * Stream name for RTMP destinations (URLs of type rtmp://) 119 */ WithStreamName(const char * value)120 inline OutputDestinationSettings& WithStreamName(const char* value) { SetStreamName(value); return *this;} 121 122 123 /** 124 * A URL specifying a destination 125 */ GetUrl()126 inline const Aws::String& GetUrl() const{ return m_url; } 127 128 /** 129 * A URL specifying a destination 130 */ UrlHasBeenSet()131 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; } 132 133 /** 134 * A URL specifying a destination 135 */ SetUrl(const Aws::String & value)136 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; } 137 138 /** 139 * A URL specifying a destination 140 */ SetUrl(Aws::String && value)141 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); } 142 143 /** 144 * A URL specifying a destination 145 */ SetUrl(const char * value)146 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); } 147 148 /** 149 * A URL specifying a destination 150 */ WithUrl(const Aws::String & value)151 inline OutputDestinationSettings& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} 152 153 /** 154 * A URL specifying a destination 155 */ WithUrl(Aws::String && value)156 inline OutputDestinationSettings& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} 157 158 /** 159 * A URL specifying a destination 160 */ WithUrl(const char * value)161 inline OutputDestinationSettings& WithUrl(const char* value) { SetUrl(value); return *this;} 162 163 164 /** 165 * username for destination 166 */ GetUsername()167 inline const Aws::String& GetUsername() const{ return m_username; } 168 169 /** 170 * username for destination 171 */ UsernameHasBeenSet()172 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; } 173 174 /** 175 * username for destination 176 */ SetUsername(const Aws::String & value)177 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; } 178 179 /** 180 * username for destination 181 */ SetUsername(Aws::String && value)182 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); } 183 184 /** 185 * username for destination 186 */ SetUsername(const char * value)187 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); } 188 189 /** 190 * username for destination 191 */ WithUsername(const Aws::String & value)192 inline OutputDestinationSettings& WithUsername(const Aws::String& value) { SetUsername(value); return *this;} 193 194 /** 195 * username for destination 196 */ WithUsername(Aws::String && value)197 inline OutputDestinationSettings& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;} 198 199 /** 200 * username for destination 201 */ WithUsername(const char * value)202 inline OutputDestinationSettings& WithUsername(const char* value) { SetUsername(value); return *this;} 203 204 private: 205 206 Aws::String m_passwordParam; 207 bool m_passwordParamHasBeenSet; 208 209 Aws::String m_streamName; 210 bool m_streamNameHasBeenSet; 211 212 Aws::String m_url; 213 bool m_urlHasBeenSet; 214 215 Aws::String m_username; 216 bool m_usernameHasBeenSet; 217 }; 218 219 } // namespace Model 220 } // namespace MediaLive 221 } // namespace Aws 222