AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Destination.h
1
6#pragma once
7#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivs-realtime/model/DestinationState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/ivs-realtime/model/DestinationConfiguration.h>
12#include <aws/ivs-realtime/model/DestinationDetail.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace ivsrealtime
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_IVSREALTIME_API Destination();
39 AWS_IVSREALTIME_API Destination(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IVSREALTIME_API Destination& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const{ return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline Destination& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline Destination& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline Destination& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const DestinationState& GetState() const{ return m_state; }
63 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
64 inline void SetState(const DestinationState& value) { m_stateHasBeenSet = true; m_state = value; }
65 inline void SetState(DestinationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
66 inline Destination& WithState(const DestinationState& value) { SetState(value); return *this;}
67 inline Destination& WithState(DestinationState&& value) { SetState(std::move(value)); return *this;}
69
71
75 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
76 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
77 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
78 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
79 inline Destination& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
80 inline Destination& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
82
84
88 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
89 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
90 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
91 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
92 inline Destination& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
93 inline Destination& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
95
97
100 inline const DestinationConfiguration& GetConfiguration() const{ return m_configuration; }
101 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
102 inline void SetConfiguration(const DestinationConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
103 inline void SetConfiguration(DestinationConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
104 inline Destination& WithConfiguration(const DestinationConfiguration& value) { SetConfiguration(value); return *this;}
105 inline Destination& WithConfiguration(DestinationConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
107
109
112 inline const DestinationDetail& GetDetail() const{ return m_detail; }
113 inline bool DetailHasBeenSet() const { return m_detailHasBeenSet; }
114 inline void SetDetail(const DestinationDetail& value) { m_detailHasBeenSet = true; m_detail = value; }
115 inline void SetDetail(DestinationDetail&& value) { m_detailHasBeenSet = true; m_detail = std::move(value); }
116 inline Destination& WithDetail(const DestinationDetail& value) { SetDetail(value); return *this;}
117 inline Destination& WithDetail(DestinationDetail&& value) { SetDetail(std::move(value)); return *this;}
119 private:
120
121 Aws::String m_id;
122 bool m_idHasBeenSet = false;
123
124 DestinationState m_state;
125 bool m_stateHasBeenSet = false;
126
127 Aws::Utils::DateTime m_startTime;
128 bool m_startTimeHasBeenSet = false;
129
130 Aws::Utils::DateTime m_endTime;
131 bool m_endTimeHasBeenSet = false;
132
133 DestinationConfiguration m_configuration;
134 bool m_configurationHasBeenSet = false;
135
136 DestinationDetail m_detail;
137 bool m_detailHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace ivsrealtime
142} // namespace Aws
void SetStartTime(const Aws::Utils::DateTime &value)
Definition Destination.h:77
Destination & WithConfiguration(DestinationConfiguration &&value)
Destination & WithDetail(const DestinationDetail &value)
void SetId(const char *value)
Definition Destination.h:52
const Aws::Utils::DateTime & GetEndTime() const
Definition Destination.h:88
AWS_IVSREALTIME_API Destination(Aws::Utils::Json::JsonView jsonValue)
void SetDetail(DestinationDetail &&value)
void SetState(DestinationState &&value)
Definition Destination.h:65
const Aws::Utils::DateTime & GetStartTime() const
Definition Destination.h:75
Destination & WithId(const char *value)
Definition Destination.h:55
void SetId(Aws::String &&value)
Definition Destination.h:51
void SetId(const Aws::String &value)
Definition Destination.h:50
const DestinationConfiguration & GetConfiguration() const
Destination & WithStartTime(Aws::Utils::DateTime &&value)
Definition Destination.h:80
Destination & WithEndTime(const Aws::Utils::DateTime &value)
Definition Destination.h:92
Destination & WithEndTime(Aws::Utils::DateTime &&value)
Definition Destination.h:93
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
Destination & WithId(const Aws::String &value)
Definition Destination.h:53
void SetDetail(const DestinationDetail &value)
Destination & WithId(Aws::String &&value)
Definition Destination.h:54
const DestinationDetail & GetDetail() const
void SetState(const DestinationState &value)
Definition Destination.h:64
void SetConfiguration(const DestinationConfiguration &value)
Destination & WithConfiguration(const DestinationConfiguration &value)
void SetEndTime(const Aws::Utils::DateTime &value)
Definition Destination.h:90
const Aws::String & GetId() const
Definition Destination.h:48
AWS_IVSREALTIME_API Destination()
AWS_IVSREALTIME_API Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEndTime(Aws::Utils::DateTime &&value)
Definition Destination.h:91
Destination & WithState(const DestinationState &value)
Definition Destination.h:66
const DestinationState & GetState() const
Definition Destination.h:62
Destination & WithStartTime(const Aws::Utils::DateTime &value)
Definition Destination.h:79
void SetStartTime(Aws::Utils::DateTime &&value)
Definition Destination.h:78
void SetConfiguration(DestinationConfiguration &&value)
Destination & WithState(DestinationState &&value)
Definition Destination.h:67
Destination & WithDetail(DestinationDetail &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue