AWS SDK for C++  1.9.159
AWS SDK for C++
HopDestination.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace MediaConvert
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
46  inline int GetPriority() const{ return m_priority; }
47 
53  inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
54 
60  inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
61 
67  inline HopDestination& WithPriority(int value) { SetPriority(value); return *this;}
68 
69 
77  inline const Aws::String& GetQueue() const{ return m_queue; }
78 
86  inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
87 
95  inline void SetQueue(const Aws::String& value) { m_queueHasBeenSet = true; m_queue = value; }
96 
104  inline void SetQueue(Aws::String&& value) { m_queueHasBeenSet = true; m_queue = std::move(value); }
105 
113  inline void SetQueue(const char* value) { m_queueHasBeenSet = true; m_queue.assign(value); }
114 
122  inline HopDestination& WithQueue(const Aws::String& value) { SetQueue(value); return *this;}
123 
131  inline HopDestination& WithQueue(Aws::String&& value) { SetQueue(std::move(value)); return *this;}
132 
140  inline HopDestination& WithQueue(const char* value) { SetQueue(value); return *this;}
141 
142 
148  inline int GetWaitMinutes() const{ return m_waitMinutes; }
149 
155  inline bool WaitMinutesHasBeenSet() const { return m_waitMinutesHasBeenSet; }
156 
162  inline void SetWaitMinutes(int value) { m_waitMinutesHasBeenSet = true; m_waitMinutes = value; }
163 
169  inline HopDestination& WithWaitMinutes(int value) { SetWaitMinutes(value); return *this;}
170 
171  private:
172 
173  int m_priority;
174  bool m_priorityHasBeenSet;
175 
176  Aws::String m_queue;
177  bool m_queueHasBeenSet;
178 
179  int m_waitMinutes;
180  bool m_waitMinutesHasBeenSet;
181  };
182 
183 } // namespace Model
184 } // namespace MediaConvert
185 } // namespace Aws
Aws::MediaConvert::Model::HopDestination::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaConvert::Model::HopDestination::HopDestination
HopDestination()
Aws::MediaConvert::Model::HopDestination::GetPriority
int GetPriority() const
Definition: HopDestination.h:46
Aws::MediaConvert::Model::HopDestination
Definition: HopDestination.h:33
Aws::MediaConvert::Model::HopDestination::WithPriority
HopDestination & WithPriority(int value)
Definition: HopDestination.h:67
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::HopDestination::PriorityHasBeenSet
bool PriorityHasBeenSet() const
Definition: HopDestination.h:53
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::HopDestination::WithWaitMinutes
HopDestination & WithWaitMinutes(int value)
Definition: HopDestination.h:169
Aws::MediaConvert::Model::HopDestination::GetQueue
const Aws::String & GetQueue() const
Definition: HopDestination.h:77
Aws::MediaConvert::Model::HopDestination::WithQueue
HopDestination & WithQueue(const char *value)
Definition: HopDestination.h:140
Aws::MediaConvert::Model::HopDestination::WaitMinutesHasBeenSet
bool WaitMinutesHasBeenSet() const
Definition: HopDestination.h:155
Aws::MediaConvert::Model::HopDestination::SetQueue
void SetQueue(Aws::String &&value)
Definition: HopDestination.h:104
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::HopDestination::QueueHasBeenSet
bool QueueHasBeenSet() const
Definition: HopDestination.h:86
Aws::MediaConvert::Model::HopDestination::SetQueue
void SetQueue(const Aws::String &value)
Definition: HopDestination.h:95
Aws::MediaConvert::Model::HopDestination::HopDestination
HopDestination(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::HopDestination::WithQueue
HopDestination & WithQueue(Aws::String &&value)
Definition: HopDestination.h:131
Aws::MediaConvert::Model::HopDestination::GetWaitMinutes
int GetWaitMinutes() const
Definition: HopDestination.h:148
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::HopDestination::SetPriority
void SetPriority(int value)
Definition: HopDestination.h:60
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::HopDestination::operator=
HopDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::HopDestination::SetWaitMinutes
void SetWaitMinutes(int value)
Definition: HopDestination.h:162
Aws::MediaConvert::Model::HopDestination::SetQueue
void SetQueue(const char *value)
Definition: HopDestination.h:113
Aws::MediaConvert::Model::HopDestination::WithQueue
HopDestination & WithQueue(const Aws::String &value)
Definition: HopDestination.h:122