AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Batch
25{
26namespace Model
27{
29 {
30 public:
31 AWS_BATCH_API GetJobQueueSnapshotResult() = default;
34
35
37
43 inline const FrontOfQueueDetail& GetFrontOfQueue() const { return m_frontOfQueue; }
44 template<typename FrontOfQueueT = FrontOfQueueDetail>
45 void SetFrontOfQueue(FrontOfQueueT&& value) { m_frontOfQueueHasBeenSet = true; m_frontOfQueue = std::forward<FrontOfQueueT>(value); }
46 template<typename FrontOfQueueT = FrontOfQueueDetail>
47 GetJobQueueSnapshotResult& WithFrontOfQueue(FrontOfQueueT&& value) { SetFrontOfQueue(std::forward<FrontOfQueueT>(value)); return *this;}
49
51
52 inline const Aws::String& GetRequestId() const { return m_requestId; }
53 template<typename RequestIdT = Aws::String>
54 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
55 template<typename RequestIdT = Aws::String>
56 GetJobQueueSnapshotResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
58 private:
59
60 FrontOfQueueDetail m_frontOfQueue;
61 bool m_frontOfQueueHasBeenSet = false;
62
63 Aws::String m_requestId;
64 bool m_requestIdHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace Batch
69} // 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