AWS SDK for C++  1.9.104
AWS SDK for C++
ScheduleConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
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 MediaTailor
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Transition& GetTransition() const{ return m_transition; }
45 
49  inline bool TransitionHasBeenSet() const { return m_transitionHasBeenSet; }
50 
54  inline void SetTransition(const Transition& value) { m_transitionHasBeenSet = true; m_transition = value; }
55 
59  inline void SetTransition(Transition&& value) { m_transitionHasBeenSet = true; m_transition = std::move(value); }
60 
64  inline ScheduleConfiguration& WithTransition(const Transition& value) { SetTransition(value); return *this;}
65 
69  inline ScheduleConfiguration& WithTransition(Transition&& value) { SetTransition(std::move(value)); return *this;}
70 
71  private:
72 
73  Transition m_transition;
74  bool m_transitionHasBeenSet;
75  };
76 
77 } // namespace Model
78 } // namespace MediaTailor
79 } // namespace Aws
Aws::MediaTailor::Model::ScheduleConfiguration
Definition: ScheduleConfiguration.h:33
Aws::MediaTailor::Model::ScheduleConfiguration::WithTransition
ScheduleConfiguration & WithTransition(const Transition &value)
Definition: ScheduleConfiguration.h:64
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::ScheduleConfiguration::GetTransition
const Transition & GetTransition() const
Definition: ScheduleConfiguration.h:44
Aws::MediaTailor::Model::ScheduleConfiguration::SetTransition
void SetTransition(Transition &&value)
Definition: ScheduleConfiguration.h:59
Aws::MediaTailor::Model::ScheduleConfiguration::TransitionHasBeenSet
bool TransitionHasBeenSet() const
Definition: ScheduleConfiguration.h:49
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaTailor::Model::ScheduleConfiguration::SetTransition
void SetTransition(const Transition &value)
Definition: ScheduleConfiguration.h:54
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::Transition
Definition: Transition.h:33
Aws::MediaTailor::Model::ScheduleConfiguration::ScheduleConfiguration
ScheduleConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::ScheduleConfiguration::ScheduleConfiguration
ScheduleConfiguration()
Aws::MediaTailor::Model::ScheduleConfiguration::operator=
ScheduleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::ScheduleConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaTailor::Model::ScheduleConfiguration::WithTransition
ScheduleConfiguration & WithTransition(Transition &&value)
Definition: ScheduleConfiguration.h:69
Transition.h