AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
JobDependency.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/batch/model/ArrayJobDependency.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 JobDependency() = default;
37 AWS_BATCH_API JobDependency(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetJobId() const { return m_jobId; }
47 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
48 template<typename JobIdT = Aws::String>
49 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
50 template<typename JobIdT = Aws::String>
51 JobDependency& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
53
55
58 inline ArrayJobDependency GetType() const { return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 inline void SetType(ArrayJobDependency value) { m_typeHasBeenSet = true; m_type = value; }
61 inline JobDependency& WithType(ArrayJobDependency value) { SetType(value); return *this;}
63 private:
64
65 Aws::String m_jobId;
66 bool m_jobIdHasBeenSet = false;
67
69 bool m_typeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Batch
74} // namespace Aws
ArrayJobDependency GetType() const
void SetJobId(JobIdT &&value)
AWS_BATCH_API JobDependency & operator=(Aws::Utils::Json::JsonView jsonValue)
JobDependency & WithJobId(JobIdT &&value)
void SetType(ArrayJobDependency value)
const Aws::String & GetJobId() const
AWS_BATCH_API JobDependency(Aws::Utils::Json::JsonView jsonValue)
JobDependency & WithType(ArrayJobDependency value)
AWS_BATCH_API JobDependency()=default
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue