AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Batch {
20namespace Model {
21
28 public:
29 AWS_BATCH_API TaskContainerDependency() = default;
32 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetContainerName() const { return m_containerName; }
39 inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
40 template <typename ContainerNameT = Aws::String>
41 void SetContainerName(ContainerNameT&& value) {
42 m_containerNameHasBeenSet = true;
43 m_containerName = std::forward<ContainerNameT>(value);
44 }
45 template <typename ContainerNameT = Aws::String>
46 TaskContainerDependency& WithContainerName(ContainerNameT&& value) {
47 SetContainerName(std::forward<ContainerNameT>(value));
48 return *this;
49 }
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) {
70 m_conditionHasBeenSet = true;
71 m_condition = std::forward<ConditionT>(value);
72 }
73 template <typename ConditionT = Aws::String>
75 SetCondition(std::forward<ConditionT>(value));
76 return *this;
77 }
79 private:
80 Aws::String m_containerName;
81
82 Aws::String m_condition;
83 bool m_containerNameHasBeenSet = false;
84 bool m_conditionHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace Batch
89} // 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