AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TaskContainerDependency.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Batch
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_BATCH_API TaskContainerDependency() = default;
37 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetContainerName() const { return m_containerName; }
45 inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
46 template<typename ContainerNameT = Aws::String>
47 void SetContainerName(ContainerNameT&& value) { m_containerNameHasBeenSet = true; m_containerName = std::forward<ContainerNameT>(value); }
48 template<typename ContainerNameT = Aws::String>
49 TaskContainerDependency& WithContainerName(ContainerNameT&& value) { SetContainerName(std::forward<ContainerNameT>(value)); return *this;}
51
53
66 inline const Aws::String& GetCondition() const { return m_condition; }
67 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
68 template<typename ConditionT = Aws::String>
69 void SetCondition(ConditionT&& value) { m_conditionHasBeenSet = true; m_condition = std::forward<ConditionT>(value); }
70 template<typename ConditionT = Aws::String>
71 TaskContainerDependency& WithCondition(ConditionT&& value) { SetCondition(std::forward<ConditionT>(value)); return *this;}
73 private:
74
75 Aws::String m_containerName;
76 bool m_containerNameHasBeenSet = false;
77
78 Aws::String m_condition;
79 bool m_conditionHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Batch
84} // namespace Aws
TaskContainerDependency & WithContainerName(ContainerNameT &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
TaskContainerDependency & WithCondition(ConditionT &&value)
AWS_BATCH_API TaskContainerDependency(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API TaskContainerDependency()=default
AWS_BATCH_API TaskContainerDependency & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue