/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MediaLive { namespace Model { /** * Settings to specify the rendering of motion graphics into the video * stream.

See Also:

AWS * API Reference

*/ class MotionGraphicsActivateScheduleActionSettings { public: AWS_MEDIALIVE_API MotionGraphicsActivateScheduleActionSettings(); AWS_MEDIALIVE_API MotionGraphicsActivateScheduleActionSettings(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API MotionGraphicsActivateScheduleActionSettings& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const; /** * Duration (in milliseconds) that motion graphics should render on to the video * stream. Leaving out this property or setting to 0 will result in rendering * continuing until a deactivate action is processed. */ inline long long GetDuration() const{ return m_duration; } /** * Duration (in milliseconds) that motion graphics should render on to the video * stream. Leaving out this property or setting to 0 will result in rendering * continuing until a deactivate action is processed. */ inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; } /** * Duration (in milliseconds) that motion graphics should render on to the video * stream. Leaving out this property or setting to 0 will result in rendering * continuing until a deactivate action is processed. */ inline void SetDuration(long long value) { m_durationHasBeenSet = true; m_duration = value; } /** * Duration (in milliseconds) that motion graphics should render on to the video * stream. Leaving out this property or setting to 0 will result in rendering * continuing until a deactivate action is processed. */ inline MotionGraphicsActivateScheduleActionSettings& WithDuration(long long value) { SetDuration(value); return *this;} /** * Key used to extract the password from EC2 Parameter store */ inline const Aws::String& GetPasswordParam() const{ return m_passwordParam; } /** * Key used to extract the password from EC2 Parameter store */ inline bool PasswordParamHasBeenSet() const { return m_passwordParamHasBeenSet; } /** * Key used to extract the password from EC2 Parameter store */ inline void SetPasswordParam(const Aws::String& value) { m_passwordParamHasBeenSet = true; m_passwordParam = value; } /** * Key used to extract the password from EC2 Parameter store */ inline void SetPasswordParam(Aws::String&& value) { m_passwordParamHasBeenSet = true; m_passwordParam = std::move(value); } /** * Key used to extract the password from EC2 Parameter store */ inline void SetPasswordParam(const char* value) { m_passwordParamHasBeenSet = true; m_passwordParam.assign(value); } /** * Key used to extract the password from EC2 Parameter store */ inline MotionGraphicsActivateScheduleActionSettings& WithPasswordParam(const Aws::String& value) { SetPasswordParam(value); return *this;} /** * Key used to extract the password from EC2 Parameter store */ inline MotionGraphicsActivateScheduleActionSettings& WithPasswordParam(Aws::String&& value) { SetPasswordParam(std::move(value)); return *this;} /** * Key used to extract the password from EC2 Parameter store */ inline MotionGraphicsActivateScheduleActionSettings& WithPasswordParam(const char* value) { SetPasswordParam(value); return *this;} /** * URI of the HTML5 content to be rendered into the live stream. */ inline const Aws::String& GetUrl() const{ return m_url; } /** * URI of the HTML5 content to be rendered into the live stream. */ inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; } /** * URI of the HTML5 content to be rendered into the live stream. */ inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; } /** * URI of the HTML5 content to be rendered into the live stream. */ inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); } /** * URI of the HTML5 content to be rendered into the live stream. */ inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); } /** * URI of the HTML5 content to be rendered into the live stream. */ inline MotionGraphicsActivateScheduleActionSettings& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** * URI of the HTML5 content to be rendered into the live stream. */ inline MotionGraphicsActivateScheduleActionSettings& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** * URI of the HTML5 content to be rendered into the live stream. */ inline MotionGraphicsActivateScheduleActionSettings& WithUrl(const char* value) { SetUrl(value); return *this;} /** * Documentation update needed */ inline const Aws::String& GetUsername() const{ return m_username; } /** * Documentation update needed */ inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; } /** * Documentation update needed */ inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; } /** * Documentation update needed */ inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); } /** * Documentation update needed */ inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); } /** * Documentation update needed */ inline MotionGraphicsActivateScheduleActionSettings& WithUsername(const Aws::String& value) { SetUsername(value); return *this;} /** * Documentation update needed */ inline MotionGraphicsActivateScheduleActionSettings& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;} /** * Documentation update needed */ inline MotionGraphicsActivateScheduleActionSettings& WithUsername(const char* value) { SetUsername(value); return *this;} private: long long m_duration; bool m_durationHasBeenSet = false; Aws::String m_passwordParam; bool m_passwordParamHasBeenSet = false; Aws::String m_url; bool m_urlHasBeenSet = false; Aws::String m_username; bool m_usernameHasBeenSet = false; }; } // namespace Model } // namespace MediaLive } // namespace Aws