AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ContainerDependency.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ECS
23{
24namespace Model
25{
26
52 {
53 public:
58
59
63 inline const Aws::String& GetContainerName() const{ return m_containerName; }
64
68 inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
69
73 inline void SetContainerName(const Aws::String& value) { m_containerNameHasBeenSet = true; m_containerName = value; }
74
78 inline void SetContainerName(Aws::String&& value) { m_containerNameHasBeenSet = true; m_containerName = std::move(value); }
79
83 inline void SetContainerName(const char* value) { m_containerNameHasBeenSet = true; m_containerName.assign(value); }
84
88 inline ContainerDependency& WithContainerName(const Aws::String& value) { SetContainerName(value); return *this;}
89
93 inline ContainerDependency& WithContainerName(Aws::String&& value) { SetContainerName(std::move(value)); return *this;}
94
98 inline ContainerDependency& WithContainerName(const char* value) { SetContainerName(value); return *this;}
99
100
118 inline const ContainerCondition& GetCondition() const{ return m_condition; }
119
137 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
138
156 inline void SetCondition(const ContainerCondition& value) { m_conditionHasBeenSet = true; m_condition = value; }
157
175 inline void SetCondition(ContainerCondition&& value) { m_conditionHasBeenSet = true; m_condition = std::move(value); }
176
194 inline ContainerDependency& WithCondition(const ContainerCondition& value) { SetCondition(value); return *this;}
195
213 inline ContainerDependency& WithCondition(ContainerCondition&& value) { SetCondition(std::move(value)); return *this;}
214
215 private:
216
217 Aws::String m_containerName;
218 bool m_containerNameHasBeenSet = false;
219
220 ContainerCondition m_condition;
221 bool m_conditionHasBeenSet = false;
222 };
223
224} // namespace Model
225} // namespace ECS
226} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
const Aws::String & GetContainerName() const
ContainerDependency & WithCondition(ContainerCondition &&value)
const ContainerCondition & GetCondition() const
AWS_ECS_API ContainerDependency & operator=(Aws::Utils::Json::JsonView jsonValue)
ContainerDependency & WithContainerName(const char *value)
ContainerDependency & WithContainerName(const Aws::String &value)
AWS_ECS_API ContainerDependency(Aws::Utils::Json::JsonView jsonValue)
void SetCondition(const ContainerCondition &value)
void SetContainerName(Aws::String &&value)
void SetContainerName(const Aws::String &value)
ContainerDependency & WithContainerName(Aws::String &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetContainerName(const char *value)
ContainerDependency & WithCondition(const ContainerCondition &value)
void SetCondition(ContainerCondition &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String