AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DestinationSummary.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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ivsrealtime
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IVSREALTIME_API DestinationSummary();
37 AWS_IVSREALTIME_API DestinationSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const{ return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline DestinationSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline DestinationSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline DestinationSummary& WithId(const char* value) { SetId(value); return *this;}
55
57
60 inline const DestinationState& GetState() const{ return m_state; }
61 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
62 inline void SetState(const DestinationState& value) { m_stateHasBeenSet = true; m_state = value; }
63 inline void SetState(DestinationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
64 inline DestinationSummary& WithState(const DestinationState& value) { SetState(value); return *this;}
65 inline DestinationSummary& WithState(DestinationState&& value) { SetState(std::move(value)); return *this;}
67
69
73 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
74 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
75 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
76 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
77 inline DestinationSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
78 inline DestinationSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
80
82
86 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
87 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
88 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
89 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
90 inline DestinationSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
91 inline DestinationSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
93 private:
94
95 Aws::String m_id;
96 bool m_idHasBeenSet = false;
97
98 DestinationState m_state;
99 bool m_stateHasBeenSet = false;
100
101 Aws::Utils::DateTime m_startTime;
102 bool m_startTimeHasBeenSet = false;
103
104 Aws::Utils::DateTime m_endTime;
105 bool m_endTimeHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace ivsrealtime
110} // namespace Aws
void SetEndTime(const Aws::Utils::DateTime &value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
DestinationSummary & WithState(DestinationState &&value)
DestinationSummary & WithEndTime(Aws::Utils::DateTime &&value)
AWS_IVSREALTIME_API DestinationSummary(Aws::Utils::Json::JsonView jsonValue)
DestinationSummary & WithEndTime(const Aws::Utils::DateTime &value)
DestinationSummary & WithState(const DestinationState &value)
const DestinationState & GetState() const
DestinationSummary & WithId(Aws::String &&value)
DestinationSummary & WithStartTime(Aws::Utils::DateTime &&value)
void SetState(const DestinationState &value)
const Aws::Utils::DateTime & GetStartTime() const
const Aws::Utils::DateTime & GetEndTime() const
DestinationSummary & WithStartTime(const Aws::Utils::DateTime &value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetEndTime(Aws::Utils::DateTime &&value)
DestinationSummary & WithId(const char *value)
AWS_IVSREALTIME_API DestinationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DestinationSummary & WithId(const Aws::String &value)
void SetStartTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue