AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDestinationQueue(const Aws::String& value) { m_destinationQueueHasBeenSet = true; m_destinationQueue = value; }
49 inline void SetDestinationQueue(Aws::String&& value) { m_destinationQueueHasBeenSet = true; m_destinationQueue = std::move(value); }
50 inline void SetDestinationQueue(const char* value) { m_destinationQueueHasBeenSet = true; m_destinationQueue.assign(value); }
51 inline QueueTransition& WithDestinationQueue(const Aws::String& value) { SetDestinationQueue(value); return *this;}
52 inline QueueTransition& WithDestinationQueue(Aws::String&& value) { SetDestinationQueue(std::move(value)); return *this;}
53 inline QueueTransition& WithDestinationQueue(const char* value) { SetDestinationQueue(value); return *this;}
55
57
60 inline const Aws::String& GetSourceQueue() const{ return m_sourceQueue; }
61 inline bool SourceQueueHasBeenSet() const { return m_sourceQueueHasBeenSet; }
62 inline void SetSourceQueue(const Aws::String& value) { m_sourceQueueHasBeenSet = true; m_sourceQueue = value; }
63 inline void SetSourceQueue(Aws::String&& value) { m_sourceQueueHasBeenSet = true; m_sourceQueue = std::move(value); }
64 inline void SetSourceQueue(const char* value) { m_sourceQueueHasBeenSet = true; m_sourceQueue.assign(value); }
65 inline QueueTransition& WithSourceQueue(const Aws::String& value) { SetSourceQueue(value); return *this;}
66 inline QueueTransition& WithSourceQueue(Aws::String&& value) { SetSourceQueue(std::move(value)); return *this;}
67 inline QueueTransition& WithSourceQueue(const char* value) { SetSourceQueue(value); return *this;}
69
71
75 inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
76 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
77 inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
78 inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
79 inline QueueTransition& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
80 inline QueueTransition& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
82 private:
83
84 Aws::String m_destinationQueue;
85 bool m_destinationQueueHasBeenSet = false;
86
87 Aws::String m_sourceQueue;
88 bool m_sourceQueueHasBeenSet = false;
89
90 Aws::Utils::DateTime m_timestamp;
91 bool m_timestampHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace MediaConvert
96} // namespace Aws
void SetDestinationQueue(const Aws::String &value)
AWS_MEDIACONVERT_API QueueTransition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDestinationQueue(Aws::String &&value)
QueueTransition & WithDestinationQueue(Aws::String &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
QueueTransition & WithTimestamp(Aws::Utils::DateTime &&value)
QueueTransition & WithDestinationQueue(const char *value)
const Aws::Utils::DateTime & GetTimestamp() const
void SetTimestamp(Aws::Utils::DateTime &&value)
QueueTransition & WithSourceQueue(const Aws::String &value)
QueueTransition & WithTimestamp(const Aws::Utils::DateTime &value)
QueueTransition & WithSourceQueue(Aws::String &&value)
AWS_MEDIACONVERT_API QueueTransition(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDestinationQueue() const
QueueTransition & WithDestinationQueue(const Aws::String &value)
void SetSourceQueue(const Aws::String &value)
void SetTimestamp(const Aws::Utils::DateTime &value)
const Aws::String & GetSourceQueue() const
QueueTransition & WithSourceQueue(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue