AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
49 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
50 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
51 inline JobDependency& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
52 inline JobDependency& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
53 inline JobDependency& WithJobId(const char* value) { SetJobId(value); return *this;}
55
57
60 inline const ArrayJobDependency& GetType() const{ return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(const ArrayJobDependency& value) { m_typeHasBeenSet = true; m_type = value; }
63 inline void SetType(ArrayJobDependency&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
64 inline JobDependency& WithType(const ArrayJobDependency& value) { SetType(value); return *this;}
65 inline JobDependency& WithType(ArrayJobDependency&& value) { SetType(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_jobId;
70 bool m_jobIdHasBeenSet = false;
71
72 ArrayJobDependency m_type;
73 bool m_typeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Batch
78} // namespace Aws
JobDependency & WithJobId(const char *value)
void SetJobId(const char *value)
JobDependency & WithType(const ArrayJobDependency &value)
JobDependency & WithJobId(const Aws::String &value)
void SetJobId(Aws::String &&value)
AWS_BATCH_API JobDependency & operator=(Aws::Utils::Json::JsonView jsonValue)
const ArrayJobDependency & GetType() const
JobDependency & WithType(ArrayJobDependency &&value)
const Aws::String & GetJobId() const
void SetType(ArrayJobDependency &&value)
AWS_BATCH_API JobDependency(Aws::Utils::Json::JsonView jsonValue)
void SetJobId(const Aws::String &value)
JobDependency & WithJobId(Aws::String &&value)
void SetType(const ArrayJobDependency &value)
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