AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
QueueTransition.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaConvert
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MEDIACONVERT_API QueueTransition() = default;
37 AWS_MEDIACONVERT_API QueueTransition(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIACONVERT_API QueueTransition& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDestinationQueue() const { return m_destinationQueue; }
47 inline bool DestinationQueueHasBeenSet() const { return m_destinationQueueHasBeenSet; }
48 template<typename DestinationQueueT = Aws::String>
49 void SetDestinationQueue(DestinationQueueT&& value) { m_destinationQueueHasBeenSet = true; m_destinationQueue = std::forward<DestinationQueueT>(value); }
50 template<typename DestinationQueueT = Aws::String>
51 QueueTransition& WithDestinationQueue(DestinationQueueT&& value) { SetDestinationQueue(std::forward<DestinationQueueT>(value)); return *this;}
53
55
58 inline const Aws::String& GetSourceQueue() const { return m_sourceQueue; }
59 inline bool SourceQueueHasBeenSet() const { return m_sourceQueueHasBeenSet; }
60 template<typename SourceQueueT = Aws::String>
61 void SetSourceQueue(SourceQueueT&& value) { m_sourceQueueHasBeenSet = true; m_sourceQueue = std::forward<SourceQueueT>(value); }
62 template<typename SourceQueueT = Aws::String>
63 QueueTransition& WithSourceQueue(SourceQueueT&& value) { SetSourceQueue(std::forward<SourceQueueT>(value)); return *this;}
65
67
71 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
72 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
73 template<typename TimestampT = Aws::Utils::DateTime>
74 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet = true; m_timestamp = std::forward<TimestampT>(value); }
75 template<typename TimestampT = Aws::Utils::DateTime>
76 QueueTransition& WithTimestamp(TimestampT&& value) { SetTimestamp(std::forward<TimestampT>(value)); return *this;}
78 private:
79
80 Aws::String m_destinationQueue;
81 bool m_destinationQueueHasBeenSet = false;
82
83 Aws::String m_sourceQueue;
84 bool m_sourceQueueHasBeenSet = false;
85
86 Aws::Utils::DateTime m_timestamp{};
87 bool m_timestampHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace MediaConvert
92} // namespace Aws
void SetSourceQueue(SourceQueueT &&value)
AWS_MEDIACONVERT_API QueueTransition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API QueueTransition()=default
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
QueueTransition & WithTimestamp(TimestampT &&value)
QueueTransition & WithSourceQueue(SourceQueueT &&value)
const Aws::Utils::DateTime & GetTimestamp() const
QueueTransition & WithDestinationQueue(DestinationQueueT &&value)
void SetDestinationQueue(DestinationQueueT &&value)
AWS_MEDIACONVERT_API QueueTransition(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDestinationQueue() const
const Aws::String & GetSourceQueue() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue