AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Batch {
20namespace Model {
21
29 public:
30 AWS_BATCH_API FrontOfQueueJobSummary() = default;
33 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetJobArn() const { return m_jobArn; }
40 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
41 template <typename JobArnT = Aws::String>
42 void SetJobArn(JobArnT&& value) {
43 m_jobArnHasBeenSet = true;
44 m_jobArn = std::forward<JobArnT>(value);
45 }
46 template <typename JobArnT = Aws::String>
48 SetJobArn(std::forward<JobArnT>(value));
49 return *this;
50 }
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) {
61 m_earliestTimeAtPositionHasBeenSet = true;
62 m_earliestTimeAtPosition = value;
63 }
66 return *this;
67 }
69 private:
70 Aws::String m_jobArn;
71
72 long long m_earliestTimeAtPosition{0};
73 bool m_jobArnHasBeenSet = false;
74 bool m_earliestTimeAtPositionHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Batch
79} // 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