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/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
41 {
42 public:
43 AWS_GAMELIFT_API ContainerDependency();
46 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
54 inline const Aws::String& GetContainerName() const{ return m_containerName; }
55 inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
56 inline void SetContainerName(const Aws::String& value) { m_containerNameHasBeenSet = true; m_containerName = value; }
57 inline void SetContainerName(Aws::String&& value) { m_containerNameHasBeenSet = true; m_containerName = std::move(value); }
58 inline void SetContainerName(const char* value) { m_containerNameHasBeenSet = true; m_containerName.assign(value); }
59 inline ContainerDependency& WithContainerName(const Aws::String& value) { SetContainerName(value); return *this;}
60 inline ContainerDependency& WithContainerName(Aws::String&& value) { SetContainerName(std::move(value)); return *this;}
61 inline ContainerDependency& WithContainerName(const char* value) { SetContainerName(value); return *this;}
63
65
78 inline const ContainerDependencyCondition& GetCondition() const{ return m_condition; }
79 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
80 inline void SetCondition(const ContainerDependencyCondition& value) { m_conditionHasBeenSet = true; m_condition = value; }
81 inline void SetCondition(ContainerDependencyCondition&& value) { m_conditionHasBeenSet = true; m_condition = std::move(value); }
82 inline ContainerDependency& WithCondition(const ContainerDependencyCondition& value) { SetCondition(value); return *this;}
83 inline ContainerDependency& WithCondition(ContainerDependencyCondition&& value) { SetCondition(std::move(value)); return *this;}
85 private:
86
87 Aws::String m_containerName;
88 bool m_containerNameHasBeenSet = false;
89
91 bool m_conditionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace GameLift
96} // namespace Aws
void SetCondition(const ContainerDependencyCondition &value)
ContainerDependency & WithCondition(ContainerDependencyCondition &&value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
ContainerDependency & WithContainerName(Aws::String &&value)
AWS_GAMELIFT_API ContainerDependency(Aws::Utils::Json::JsonView jsonValue)
const ContainerDependencyCondition & GetCondition() const
ContainerDependency & WithContainerName(const char *value)
void SetCondition(ContainerDependencyCondition &&value)
void SetContainerName(const Aws::String &value)
AWS_GAMELIFT_API ContainerDependency & operator=(Aws::Utils::Json::JsonView jsonValue)
ContainerDependency & WithCondition(const ContainerDependencyCondition &value)
ContainerDependency & WithContainerName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue