AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ContainerDependency.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecs/model/ContainerCondition.h>
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
56 {
57 public:
58 AWS_ECS_API ContainerDependency() = default;
62
63
65
68 inline const Aws::String& GetContainerName() const { return m_containerName; }
69 inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
70 template<typename ContainerNameT = Aws::String>
71 void SetContainerName(ContainerNameT&& value) { m_containerNameHasBeenSet = true; m_containerName = std::forward<ContainerNameT>(value); }
72 template<typename ContainerNameT = Aws::String>
73 ContainerDependency& WithContainerName(ContainerNameT&& value) { SetContainerName(std::forward<ContainerNameT>(value)); return *this;}
75
77
94 inline ContainerCondition GetCondition() const { return m_condition; }
95 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
96 inline void SetCondition(ContainerCondition value) { m_conditionHasBeenSet = true; m_condition = value; }
97 inline ContainerDependency& WithCondition(ContainerCondition value) { SetCondition(value); return *this;}
99 private:
100
101 Aws::String m_containerName;
102 bool m_containerNameHasBeenSet = false;
103
105 bool m_conditionHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace ECS
110} // namespace Aws
const Aws::String & GetContainerName() const
ContainerDependency & WithCondition(ContainerCondition value)
ContainerCondition GetCondition() const
AWS_ECS_API ContainerDependency()=default
AWS_ECS_API ContainerDependency & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCondition(ContainerCondition value)
ContainerDependency & WithContainerName(ContainerNameT &&value)
AWS_ECS_API ContainerDependency(Aws::Utils::Json::JsonView jsonValue)
void SetContainerName(ContainerNameT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue