AWS SDK for C++  1.9.158
AWS SDK for C++
QueueTransition.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace MediaConvert
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetDestinationQueue() const{ return m_destinationQueue; }
46 
50  inline bool DestinationQueueHasBeenSet() const { return m_destinationQueueHasBeenSet; }
51 
55  inline void SetDestinationQueue(const Aws::String& value) { m_destinationQueueHasBeenSet = true; m_destinationQueue = value; }
56 
60  inline void SetDestinationQueue(Aws::String&& value) { m_destinationQueueHasBeenSet = true; m_destinationQueue = std::move(value); }
61 
65  inline void SetDestinationQueue(const char* value) { m_destinationQueueHasBeenSet = true; m_destinationQueue.assign(value); }
66 
70  inline QueueTransition& WithDestinationQueue(const Aws::String& value) { SetDestinationQueue(value); return *this;}
71 
75  inline QueueTransition& WithDestinationQueue(Aws::String&& value) { SetDestinationQueue(std::move(value)); return *this;}
76 
80  inline QueueTransition& WithDestinationQueue(const char* value) { SetDestinationQueue(value); return *this;}
81 
82 
86  inline const Aws::String& GetSourceQueue() const{ return m_sourceQueue; }
87 
91  inline bool SourceQueueHasBeenSet() const { return m_sourceQueueHasBeenSet; }
92 
96  inline void SetSourceQueue(const Aws::String& value) { m_sourceQueueHasBeenSet = true; m_sourceQueue = value; }
97 
101  inline void SetSourceQueue(Aws::String&& value) { m_sourceQueueHasBeenSet = true; m_sourceQueue = std::move(value); }
102 
106  inline void SetSourceQueue(const char* value) { m_sourceQueueHasBeenSet = true; m_sourceQueue.assign(value); }
107 
111  inline QueueTransition& WithSourceQueue(const Aws::String& value) { SetSourceQueue(value); return *this;}
112 
116  inline QueueTransition& WithSourceQueue(Aws::String&& value) { SetSourceQueue(std::move(value)); return *this;}
117 
121  inline QueueTransition& WithSourceQueue(const char* value) { SetSourceQueue(value); return *this;}
122 
123 
128  inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
129 
134  inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
135 
140  inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
141 
146  inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
147 
152  inline QueueTransition& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
153 
158  inline QueueTransition& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
159 
160  private:
161 
162  Aws::String m_destinationQueue;
163  bool m_destinationQueueHasBeenSet;
164 
165  Aws::String m_sourceQueue;
166  bool m_sourceQueueHasBeenSet;
167 
168  Aws::Utils::DateTime m_timestamp;
169  bool m_timestampHasBeenSet;
170  };
171 
172 } // namespace Model
173 } // namespace MediaConvert
174 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::MediaConvert::Model::QueueTransition
Definition: QueueTransition.h:34
Aws::MediaConvert::Model::QueueTransition::WithDestinationQueue
QueueTransition & WithDestinationQueue(Aws::String &&value)
Definition: QueueTransition.h:75
Aws::MediaConvert::Model::QueueTransition::QueueTransition
QueueTransition()
Aws::MediaConvert::Model::QueueTransition::SetSourceQueue
void SetSourceQueue(const Aws::String &value)
Definition: QueueTransition.h:96
Aws::MediaConvert::Model::QueueTransition::SetSourceQueue
void SetSourceQueue(const char *value)
Definition: QueueTransition.h:106
Aws::MediaConvert::Model::QueueTransition::WithSourceQueue
QueueTransition & WithSourceQueue(const char *value)
Definition: QueueTransition.h:121
Aws::MediaConvert::Model::QueueTransition::WithTimestamp
QueueTransition & WithTimestamp(Aws::Utils::DateTime &&value)
Definition: QueueTransition.h:158
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
DateTime.h
Aws::MediaConvert::Model::QueueTransition::SetDestinationQueue
void SetDestinationQueue(Aws::String &&value)
Definition: QueueTransition.h:60
Aws::MediaConvert::Model::QueueTransition::GetDestinationQueue
const Aws::String & GetDestinationQueue() const
Definition: QueueTransition.h:45
Aws::MediaConvert::Model::QueueTransition::SetDestinationQueue
void SetDestinationQueue(const Aws::String &value)
Definition: QueueTransition.h:55
Aws::MediaConvert::Model::QueueTransition::SetTimestamp
void SetTimestamp(const Aws::Utils::DateTime &value)
Definition: QueueTransition.h:140
Aws::MediaConvert::Model::QueueTransition::SetDestinationQueue
void SetDestinationQueue(const char *value)
Definition: QueueTransition.h:65
Aws::MediaConvert::Model::QueueTransition::operator=
QueueTransition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::QueueTransition::GetSourceQueue
const Aws::String & GetSourceQueue() const
Definition: QueueTransition.h:86
Aws::MediaConvert::Model::QueueTransition::WithSourceQueue
QueueTransition & WithSourceQueue(Aws::String &&value)
Definition: QueueTransition.h:116
Aws::MediaConvert::Model::QueueTransition::GetTimestamp
const Aws::Utils::DateTime & GetTimestamp() const
Definition: QueueTransition.h:128
Aws::MediaConvert::Model::QueueTransition::SetTimestamp
void SetTimestamp(Aws::Utils::DateTime &&value)
Definition: QueueTransition.h:146
Aws::MediaConvert::Model::QueueTransition::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaConvert::Model::QueueTransition::QueueTransition
QueueTransition(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::QueueTransition::DestinationQueueHasBeenSet
bool DestinationQueueHasBeenSet() const
Definition: QueueTransition.h:50
Aws::MediaConvert::Model::QueueTransition::WithSourceQueue
QueueTransition & WithSourceQueue(const Aws::String &value)
Definition: QueueTransition.h:111
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::QueueTransition::SetSourceQueue
void SetSourceQueue(Aws::String &&value)
Definition: QueueTransition.h:101
Aws::MediaConvert::Model::QueueTransition::WithDestinationQueue
QueueTransition & WithDestinationQueue(const Aws::String &value)
Definition: QueueTransition.h:70
Aws::MediaConvert::Model::QueueTransition::WithDestinationQueue
QueueTransition & WithDestinationQueue(const char *value)
Definition: QueueTransition.h:80
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::QueueTransition::TimestampHasBeenSet
bool TimestampHasBeenSet() const
Definition: QueueTransition.h:134
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::QueueTransition::SourceQueueHasBeenSet
bool SourceQueueHasBeenSet() const
Definition: QueueTransition.h:91
Aws::MediaConvert::Model::QueueTransition::WithTimestamp
QueueTransition & WithTimestamp(const Aws::Utils::DateTime &value)
Definition: QueueTransition.h:152