AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
ContainerDependency.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gamelift/GameLift_EXPORTS.h>
9#include <aws/gamelift/model/ContainerDependencyCondition.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GameLift {
21namespace Model {
22
43 public:
44 AWS_GAMELIFT_API ContainerDependency() = default;
47 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
48
50
54 inline const Aws::String& GetContainerName() const { return m_containerName; }
55 inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
56 template <typename ContainerNameT = Aws::String>
57 void SetContainerName(ContainerNameT&& value) {
58 m_containerNameHasBeenSet = true;
59 m_containerName = std::forward<ContainerNameT>(value);
60 }
61 template <typename ContainerNameT = Aws::String>
62 ContainerDependency& WithContainerName(ContainerNameT&& value) {
63 SetContainerName(std::forward<ContainerNameT>(value));
64 return *this;
65 }
67
69
82 inline ContainerDependencyCondition GetCondition() const { return m_condition; }
83 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
85 m_conditionHasBeenSet = true;
86 m_condition = value;
87 }
89 SetCondition(value);
90 return *this;
91 }
93 private:
94 Aws::String m_containerName;
95
97 bool m_containerNameHasBeenSet = false;
98 bool m_conditionHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace GameLift
103} // 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