AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Batch {
23namespace Model {
25 public:
26 AWS_BATCH_API GetJobQueueSnapshotResult() = default;
29
31
37 inline const FrontOfQueueDetail& GetFrontOfQueue() const { return m_frontOfQueue; }
38 template <typename FrontOfQueueT = FrontOfQueueDetail>
39 void SetFrontOfQueue(FrontOfQueueT&& value) {
40 m_frontOfQueueHasBeenSet = true;
41 m_frontOfQueue = std::forward<FrontOfQueueT>(value);
42 }
43 template <typename FrontOfQueueT = FrontOfQueueDetail>
45 SetFrontOfQueue(std::forward<FrontOfQueueT>(value));
46 return *this;
47 }
49
51
52 inline const Aws::String& GetRequestId() const { return m_requestId; }
53 template <typename RequestIdT = Aws::String>
54 void SetRequestId(RequestIdT&& value) {
55 m_requestIdHasBeenSet = true;
56 m_requestId = std::forward<RequestIdT>(value);
57 }
58 template <typename RequestIdT = Aws::String>
60 SetRequestId(std::forward<RequestIdT>(value));
61 return *this;
62 }
64 private:
65 FrontOfQueueDetail m_frontOfQueue;
66
67 Aws::String m_requestId;
68 bool m_frontOfQueueHasBeenSet = false;
69 bool m_requestIdHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace Batch
74} // 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
AWS_BATCH_API GetJobQueueSnapshotResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue