AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetContainerName(const Aws::String& value) { m_containerNameHasBeenSet = true; m_containerName = value; }
47 inline void SetContainerName(Aws::String&& value) { m_containerNameHasBeenSet = true; m_containerName = std::move(value); }
48 inline void SetContainerName(const char* value) { m_containerNameHasBeenSet = true; m_containerName.assign(value); }
49 inline TaskContainerDependency& WithContainerName(const Aws::String& value) { SetContainerName(value); return *this;}
50 inline TaskContainerDependency& WithContainerName(Aws::String&& value) { SetContainerName(std::move(value)); return *this;}
51 inline TaskContainerDependency& WithContainerName(const char* value) { SetContainerName(value); return *this;}
53
55
68 inline const Aws::String& GetCondition() const{ return m_condition; }
69 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
70 inline void SetCondition(const Aws::String& value) { m_conditionHasBeenSet = true; m_condition = value; }
71 inline void SetCondition(Aws::String&& value) { m_conditionHasBeenSet = true; m_condition = std::move(value); }
72 inline void SetCondition(const char* value) { m_conditionHasBeenSet = true; m_condition.assign(value); }
73 inline TaskContainerDependency& WithCondition(const Aws::String& value) { SetCondition(value); return *this;}
74 inline TaskContainerDependency& WithCondition(Aws::String&& value) { SetCondition(std::move(value)); return *this;}
75 inline TaskContainerDependency& WithCondition(const char* value) { SetCondition(value); return *this;}
77 private:
78
79 Aws::String m_containerName;
80 bool m_containerNameHasBeenSet = false;
81
82 Aws::String m_condition;
83 bool m_conditionHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Batch
88} // namespace Aws
TaskContainerDependency & WithContainerName(const Aws::String &value)
TaskContainerDependency & WithCondition(const char *value)
TaskContainerDependency & WithContainerName(Aws::String &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
TaskContainerDependency & WithCondition(Aws::String &&value)
AWS_BATCH_API TaskContainerDependency(Aws::Utils::Json::JsonView jsonValue)
TaskContainerDependency & WithCondition(const Aws::String &value)
AWS_BATCH_API TaskContainerDependency & operator=(Aws::Utils::Json::JsonView jsonValue)
TaskContainerDependency & WithContainerName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue