AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
BatchJobDependency.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pipes/Pipes_EXPORTS.h>
9#include <aws/pipes/model/BatchJobDependencyType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Pipes {
21namespace Model {
22
30 public:
31 AWS_PIPES_API BatchJobDependency() = default;
34 AWS_PIPES_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 BatchJobDependency& WithJobId(JobIdT&& value) {
49 SetJobId(std::forward<JobIdT>(value));
50 return *this;
51 }
53
55
58 inline BatchJobDependencyType GetType() const { return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 inline void SetType(BatchJobDependencyType 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 Pipes
79} // namespace Aws
BatchJobDependencyType GetType() const
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(BatchJobDependencyType value)
AWS_PIPES_API BatchJobDependency & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchJobDependency & WithType(BatchJobDependencyType value)
BatchJobDependency & WithJobId(JobIdT &&value)
const Aws::String & GetJobId() const
AWS_PIPES_API BatchJobDependency()=default
AWS_PIPES_API BatchJobDependency(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue