AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
GetJobQueueSnapshotResult.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/FrontOfQueueDetail.h>
9#include <aws/batch/model/QueueSnapshotUtilizationDetail.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Batch {
24namespace Model {
26 public:
27 AWS_BATCH_API GetJobQueueSnapshotResult() = default;
30
32
38 inline const FrontOfQueueDetail& GetFrontOfQueue() const { return m_frontOfQueue; }
39 template <typename FrontOfQueueT = FrontOfQueueDetail>
40 void SetFrontOfQueue(FrontOfQueueT&& value) {
41 m_frontOfQueueHasBeenSet = true;
42 m_frontOfQueue = std::forward<FrontOfQueueT>(value);
43 }
44 template <typename FrontOfQueueT = FrontOfQueueDetail>
46 SetFrontOfQueue(std::forward<FrontOfQueueT>(value));
47 return *this;
48 }
50
52
56 inline const QueueSnapshotUtilizationDetail& GetQueueUtilization() const { return m_queueUtilization; }
57 template <typename QueueUtilizationT = QueueSnapshotUtilizationDetail>
58 void SetQueueUtilization(QueueUtilizationT&& value) {
59 m_queueUtilizationHasBeenSet = true;
60 m_queueUtilization = std::forward<QueueUtilizationT>(value);
61 }
62 template <typename QueueUtilizationT = QueueSnapshotUtilizationDetail>
63 GetJobQueueSnapshotResult& WithQueueUtilization(QueueUtilizationT&& value) {
64 SetQueueUtilization(std::forward<QueueUtilizationT>(value));
65 return *this;
66 }
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template <typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) {
74 m_requestIdHasBeenSet = true;
75 m_requestId = std::forward<RequestIdT>(value);
76 }
77 template <typename RequestIdT = Aws::String>
79 SetRequestId(std::forward<RequestIdT>(value));
80 return *this;
81 }
83 private:
84 FrontOfQueueDetail m_frontOfQueue;
85
86 QueueSnapshotUtilizationDetail m_queueUtilization;
87
88 Aws::String m_requestId;
89 bool m_frontOfQueueHasBeenSet = false;
90 bool m_queueUtilizationHasBeenSet = false;
91 bool m_requestIdHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace Batch
96} // namespace Aws
GetJobQueueSnapshotResult & WithRequestId(RequestIdT &&value)
AWS_BATCH_API GetJobQueueSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetJobQueueSnapshotResult & WithFrontOfQueue(FrontOfQueueT &&value)
AWS_BATCH_API GetJobQueueSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const FrontOfQueueDetail & GetFrontOfQueue() const
GetJobQueueSnapshotResult & WithQueueUtilization(QueueUtilizationT &&value)
const QueueSnapshotUtilizationDetail & GetQueueUtilization() const
AWS_BATCH_API GetJobQueueSnapshotResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue