AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ContainerDependency.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gamelift/model/ContainerDependencyCondition.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 GameLift
23{
24namespace Model
25{
26
47 {
48 public:
49 AWS_GAMELIFT_API ContainerDependency() = default;
52 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
53
54
56
60 inline const Aws::String& GetContainerName() const { return m_containerName; }
61 inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
62 template<typename ContainerNameT = Aws::String>
63 void SetContainerName(ContainerNameT&& value) { m_containerNameHasBeenSet = true; m_containerName = std::forward<ContainerNameT>(value); }
64 template<typename ContainerNameT = Aws::String>
65 ContainerDependency& WithContainerName(ContainerNameT&& value) { SetContainerName(std::forward<ContainerNameT>(value)); return *this;}
67
69
82 inline ContainerDependencyCondition GetCondition() const { return m_condition; }
83 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
84 inline void SetCondition(ContainerDependencyCondition value) { m_conditionHasBeenSet = true; m_condition = value; }
87 private:
88
89 Aws::String m_containerName;
90 bool m_containerNameHasBeenSet = false;
91
93 bool m_conditionHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace GameLift
98} // namespace Aws
void SetContainerName(ContainerNameT &&value)
AWS_GAMELIFT_API ContainerDependency()=default
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GAMELIFT_API ContainerDependency(Aws::Utils::Json::JsonView jsonValue)
ContainerDependencyCondition GetCondition() const
ContainerDependency & WithCondition(ContainerDependencyCondition value)
void SetCondition(ContainerDependencyCondition value)
AWS_GAMELIFT_API ContainerDependency & operator=(Aws::Utils::Json::JsonView jsonValue)
ContainerDependency & WithContainerName(ContainerNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue