AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
62
63
65
68 inline const Aws::String& GetContainerName() const{ return m_containerName; }
69 inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
70 inline void SetContainerName(const Aws::String& value) { m_containerNameHasBeenSet = true; m_containerName = value; }
71 inline void SetContainerName(Aws::String&& value) { m_containerNameHasBeenSet = true; m_containerName = std::move(value); }
72 inline void SetContainerName(const char* value) { m_containerNameHasBeenSet = true; m_containerName.assign(value); }
73 inline ContainerDependency& WithContainerName(const Aws::String& value) { SetContainerName(value); return *this;}
74 inline ContainerDependency& WithContainerName(Aws::String&& value) { SetContainerName(std::move(value)); return *this;}
75 inline ContainerDependency& WithContainerName(const char* value) { SetContainerName(value); return *this;}
77
79
96 inline const ContainerCondition& GetCondition() const{ return m_condition; }
97 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
98 inline void SetCondition(const ContainerCondition& value) { m_conditionHasBeenSet = true; m_condition = value; }
99 inline void SetCondition(ContainerCondition&& value) { m_conditionHasBeenSet = true; m_condition = std::move(value); }
100 inline ContainerDependency& WithCondition(const ContainerCondition& value) { SetCondition(value); return *this;}
101 inline ContainerDependency& WithCondition(ContainerCondition&& value) { SetCondition(std::move(value)); return *this;}
103 private:
104
105 Aws::String m_containerName;
106 bool m_containerNameHasBeenSet = false;
107
108 ContainerCondition m_condition;
109 bool m_conditionHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace ECS
114} // namespace Aws
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
ContainerDependency & WithCondition(const ContainerCondition &value)
void SetCondition(ContainerCondition &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue