AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
FrontOfQueueJobSummary.h
1
6#pragma once
7#include <aws/batch/Batch_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 Batch
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_BATCH_API FrontOfQueueJobSummary() = default;
38 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetJobArn() const { return m_jobArn; }
46 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
47 template<typename JobArnT = Aws::String>
48 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
49 template<typename JobArnT = Aws::String>
50 FrontOfQueueJobSummary& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
52
54
58 inline long long GetEarliestTimeAtPosition() const { return m_earliestTimeAtPosition; }
59 inline bool EarliestTimeAtPositionHasBeenSet() const { return m_earliestTimeAtPositionHasBeenSet; }
60 inline void SetEarliestTimeAtPosition(long long value) { m_earliestTimeAtPositionHasBeenSet = true; m_earliestTimeAtPosition = value; }
61 inline FrontOfQueueJobSummary& WithEarliestTimeAtPosition(long long value) { SetEarliestTimeAtPosition(value); return *this;}
63 private:
64
65 Aws::String m_jobArn;
66 bool m_jobArnHasBeenSet = false;
67
68 long long m_earliestTimeAtPosition{0};
69 bool m_earliestTimeAtPositionHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Batch
74} // namespace Aws
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
FrontOfQueueJobSummary & WithEarliestTimeAtPosition(long long value)
AWS_BATCH_API FrontOfQueueJobSummary(Aws::Utils::Json::JsonView jsonValue)
FrontOfQueueJobSummary & WithJobArn(JobArnT &&value)
AWS_BATCH_API FrontOfQueueJobSummary()=default
AWS_BATCH_API FrontOfQueueJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue