AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FrontOfQueueDetail.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/batch/model/FrontOfQueueJobSummary.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Batch
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BATCH_API FrontOfQueueDetail();
39 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const Aws::Vector<FrontOfQueueJobSummary>& GetJobs() const{ return m_jobs; }
50 inline bool JobsHasBeenSet() const { return m_jobsHasBeenSet; }
51 inline void SetJobs(const Aws::Vector<FrontOfQueueJobSummary>& value) { m_jobsHasBeenSet = true; m_jobs = value; }
52 inline void SetJobs(Aws::Vector<FrontOfQueueJobSummary>&& value) { m_jobsHasBeenSet = true; m_jobs = std::move(value); }
53 inline FrontOfQueueDetail& WithJobs(const Aws::Vector<FrontOfQueueJobSummary>& value) { SetJobs(value); return *this;}
54 inline FrontOfQueueDetail& WithJobs(Aws::Vector<FrontOfQueueJobSummary>&& value) { SetJobs(std::move(value)); return *this;}
55 inline FrontOfQueueDetail& AddJobs(const FrontOfQueueJobSummary& value) { m_jobsHasBeenSet = true; m_jobs.push_back(value); return *this; }
56 inline FrontOfQueueDetail& AddJobs(FrontOfQueueJobSummary&& value) { m_jobsHasBeenSet = true; m_jobs.push_back(std::move(value)); return *this; }
58
60
64 inline long long GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
65 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
66 inline void SetLastUpdatedAt(long long value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
67 inline FrontOfQueueDetail& WithLastUpdatedAt(long long value) { SetLastUpdatedAt(value); return *this;}
69 private:
70
72 bool m_jobsHasBeenSet = false;
73
74 long long m_lastUpdatedAt;
75 bool m_lastUpdatedAtHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Batch
80} // namespace Aws
FrontOfQueueDetail & WithLastUpdatedAt(long long value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetJobs(Aws::Vector< FrontOfQueueJobSummary > &&value)
FrontOfQueueDetail & WithJobs(const Aws::Vector< FrontOfQueueJobSummary > &value)
AWS_BATCH_API FrontOfQueueDetail(Aws::Utils::Json::JsonView jsonValue)
FrontOfQueueDetail & AddJobs(const FrontOfQueueJobSummary &value)
FrontOfQueueDetail & WithJobs(Aws::Vector< FrontOfQueueJobSummary > &&value)
const Aws::Vector< FrontOfQueueJobSummary > & GetJobs() const
AWS_BATCH_API FrontOfQueueDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetJobs(const Aws::Vector< FrontOfQueueJobSummary > &value)
FrontOfQueueDetail & AddJobs(FrontOfQueueJobSummary &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue