AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueueEnvironmentSummary.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace deadline
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_DEADLINE_API QueueEnvironmentSummary();
37 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetQueueEnvironmentId() const{ return m_queueEnvironmentId; }
45 inline bool QueueEnvironmentIdHasBeenSet() const { return m_queueEnvironmentIdHasBeenSet; }
46 inline void SetQueueEnvironmentId(const Aws::String& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = value; }
47 inline void SetQueueEnvironmentId(Aws::String&& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = std::move(value); }
48 inline void SetQueueEnvironmentId(const char* value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId.assign(value); }
50 inline QueueEnvironmentSummary& WithQueueEnvironmentId(Aws::String&& value) { SetQueueEnvironmentId(std::move(value)); return *this;}
51 inline QueueEnvironmentSummary& WithQueueEnvironmentId(const char* value) { SetQueueEnvironmentId(value); return *this;}
53
55
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 inline QueueEnvironmentSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
64 inline QueueEnvironmentSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 inline QueueEnvironmentSummary& WithName(const char* value) { SetName(value); return *this;}
67
69
72 inline int GetPriority() const{ return m_priority; }
73 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
74 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
75 inline QueueEnvironmentSummary& WithPriority(int value) { SetPriority(value); return *this;}
77 private:
78
79 Aws::String m_queueEnvironmentId;
80 bool m_queueEnvironmentIdHasBeenSet = false;
81
82 Aws::String m_name;
83 bool m_nameHasBeenSet = false;
84
85 int m_priority;
86 bool m_priorityHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace deadline
91} // namespace Aws
QueueEnvironmentSummary & WithQueueEnvironmentId(Aws::String &&value)
QueueEnvironmentSummary & WithName(const char *value)
QueueEnvironmentSummary & WithName(const Aws::String &value)
QueueEnvironmentSummary & WithQueueEnvironmentId(const Aws::String &value)
AWS_DEADLINE_API QueueEnvironmentSummary(Aws::Utils::Json::JsonView jsonValue)
QueueEnvironmentSummary & WithQueueEnvironmentId(const char *value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
QueueEnvironmentSummary & WithName(Aws::String &&value)
QueueEnvironmentSummary & WithPriority(int value)
AWS_DEADLINE_API QueueEnvironmentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue