AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; }
48 inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); }
49 inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); }
50 inline FrontOfQueueJobSummary& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
51 inline FrontOfQueueJobSummary& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
52 inline FrontOfQueueJobSummary& WithJobArn(const char* value) { SetJobArn(value); return *this;}
54
56
60 inline long long GetEarliestTimeAtPosition() const{ return m_earliestTimeAtPosition; }
61 inline bool EarliestTimeAtPositionHasBeenSet() const { return m_earliestTimeAtPositionHasBeenSet; }
62 inline void SetEarliestTimeAtPosition(long long value) { m_earliestTimeAtPositionHasBeenSet = true; m_earliestTimeAtPosition = value; }
63 inline FrontOfQueueJobSummary& WithEarliestTimeAtPosition(long long value) { SetEarliestTimeAtPosition(value); return *this;}
65 private:
66
67 Aws::String m_jobArn;
68 bool m_jobArnHasBeenSet = false;
69
70 long long m_earliestTimeAtPosition;
71 bool m_earliestTimeAtPositionHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Batch
76} // 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(const char *value)
FrontOfQueueJobSummary & WithJobArn(const Aws::String &value)
FrontOfQueueJobSummary & WithJobArn(Aws::String &&value)
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