AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
MotionGraphicsActivateScheduleActionSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MEDIALIVE_API MotionGraphicsActivateScheduleActionSettings() = default;
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline long long GetDuration() const { return m_duration; }
48 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
49 inline void SetDuration(long long value) { m_durationHasBeenSet = true; m_duration = value; }
50 inline MotionGraphicsActivateScheduleActionSettings& WithDuration(long long value) { SetDuration(value); return *this;}
52
54
57 inline const Aws::String& GetPasswordParam() const { return m_passwordParam; }
58 inline bool PasswordParamHasBeenSet() const { return m_passwordParamHasBeenSet; }
59 template<typename PasswordParamT = Aws::String>
60 void SetPasswordParam(PasswordParamT&& value) { m_passwordParamHasBeenSet = true; m_passwordParam = std::forward<PasswordParamT>(value); }
61 template<typename PasswordParamT = Aws::String>
62 MotionGraphicsActivateScheduleActionSettings& WithPasswordParam(PasswordParamT&& value) { SetPasswordParam(std::forward<PasswordParamT>(value)); return *this;}
64
66
69 inline const Aws::String& GetUrl() const { return m_url; }
70 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
71 template<typename UrlT = Aws::String>
72 void SetUrl(UrlT&& value) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
73 template<typename UrlT = Aws::String>
74 MotionGraphicsActivateScheduleActionSettings& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
76
78
81 inline const Aws::String& GetUsername() const { return m_username; }
82 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
83 template<typename UsernameT = Aws::String>
84 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet = true; m_username = std::forward<UsernameT>(value); }
85 template<typename UsernameT = Aws::String>
86 MotionGraphicsActivateScheduleActionSettings& WithUsername(UsernameT&& value) { SetUsername(std::forward<UsernameT>(value)); return *this;}
88 private:
89
90 long long m_duration{0};
91 bool m_durationHasBeenSet = false;
92
93 Aws::String m_passwordParam;
94 bool m_passwordParamHasBeenSet = false;
95
96 Aws::String m_url;
97 bool m_urlHasBeenSet = false;
98
99 Aws::String m_username;
100 bool m_usernameHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace MediaLive
105} // namespace Aws
MotionGraphicsActivateScheduleActionSettings & WithUsername(UsernameT &&value)
MotionGraphicsActivateScheduleActionSettings & WithDuration(long long value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API MotionGraphicsActivateScheduleActionSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API MotionGraphicsActivateScheduleActionSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
MotionGraphicsActivateScheduleActionSettings & WithPasswordParam(PasswordParamT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue