AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
QueueTransition.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaConvert {
21namespace Model {
22
30 public:
31 AWS_MEDIACONVERT_API QueueTransition() = default;
32 AWS_MEDIACONVERT_API QueueTransition(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIACONVERT_API QueueTransition& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetDestinationQueue() const { return m_destinationQueue; }
41 inline bool DestinationQueueHasBeenSet() const { return m_destinationQueueHasBeenSet; }
42 template <typename DestinationQueueT = Aws::String>
43 void SetDestinationQueue(DestinationQueueT&& value) {
44 m_destinationQueueHasBeenSet = true;
45 m_destinationQueue = std::forward<DestinationQueueT>(value);
46 }
47 template <typename DestinationQueueT = Aws::String>
48 QueueTransition& WithDestinationQueue(DestinationQueueT&& value) {
49 SetDestinationQueue(std::forward<DestinationQueueT>(value));
50 return *this;
51 }
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) {
62 m_sourceQueueHasBeenSet = true;
63 m_sourceQueue = std::forward<SourceQueueT>(value);
64 }
65 template <typename SourceQueueT = Aws::String>
66 QueueTransition& WithSourceQueue(SourceQueueT&& value) {
67 SetSourceQueue(std::forward<SourceQueueT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
78 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
79 template <typename TimestampT = Aws::Utils::DateTime>
80 void SetTimestamp(TimestampT&& value) {
81 m_timestampHasBeenSet = true;
82 m_timestamp = std::forward<TimestampT>(value);
83 }
84 template <typename TimestampT = Aws::Utils::DateTime>
85 QueueTransition& WithTimestamp(TimestampT&& value) {
86 SetTimestamp(std::forward<TimestampT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_destinationQueue;
92
93 Aws::String m_sourceQueue;
94
95 Aws::Utils::DateTime m_timestamp{};
96 bool m_destinationQueueHasBeenSet = false;
97 bool m_sourceQueueHasBeenSet = false;
98 bool m_timestampHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace MediaConvert
103} // 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