AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
JobDependency.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/ArrayJobDependency.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Batch {
21namespace Model {
22
30 public:
31 AWS_BATCH_API JobDependency() = default;
32 AWS_BATCH_API JobDependency(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetJobId() const { return m_jobId; }
41 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
42 template <typename JobIdT = Aws::String>
43 void SetJobId(JobIdT&& value) {
44 m_jobIdHasBeenSet = true;
45 m_jobId = std::forward<JobIdT>(value);
46 }
47 template <typename JobIdT = Aws::String>
48 JobDependency& WithJobId(JobIdT&& value) {
49 SetJobId(std::forward<JobIdT>(value));
50 return *this;
51 }
53
55
58 inline ArrayJobDependency GetType() const { return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 inline void SetType(ArrayJobDependency value) {
61 m_typeHasBeenSet = true;
62 m_type = value;
63 }
65 SetType(value);
66 return *this;
67 }
69 private:
70 Aws::String m_jobId;
71
73 bool m_jobIdHasBeenSet = false;
74 bool m_typeHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Batch
79} // 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