AWS SDK for C++

AWS SDK for C++ Version 1.11.908

Loading...
Searching...
No Matches
ContainerDependency.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10#include <aws/gamelift/model/ContainerDependencyCondition.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace GameLift {
21namespace Model {
22
44 public:
45 AWS_GAMELIFT_API ContainerDependency() = default;
46 AWS_GAMELIFT_API ContainerDependency(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
47 AWS_GAMELIFT_API ContainerDependency& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
48 AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
49
51
55 inline const Aws::String& GetContainerName() const { return m_containerName; }
56 inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
57 template <typename ContainerNameT = Aws::String>
58 void SetContainerName(ContainerNameT&& value) {
59 m_containerNameHasBeenSet = true;
60 m_containerName = std::forward<ContainerNameT>(value);
61 }
62 template <typename ContainerNameT = Aws::String>
63 ContainerDependency& WithContainerName(ContainerNameT&& value) {
64 SetContainerName(std::forward<ContainerNameT>(value));
65 return *this;
66 }
68
70
83 inline ContainerDependencyCondition GetCondition() const { return m_condition; }
84 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
86 m_conditionHasBeenSet = true;
87 m_condition = value;
88 }
90 SetCondition(value);
91 return *this;
92 }
94 private:
95 Aws::String m_containerName;
96
98 bool m_containerNameHasBeenSet = false;
99 bool m_conditionHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace GameLift
104} // namespace Aws
void SetContainerName(ContainerNameT &&value)
AWS_GAMELIFT_API ContainerDependency()=default
AWS_GAMELIFT_API ContainerDependency(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_GAMELIFT_API ContainerDependency & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ContainerDependencyCondition GetCondition() const
ContainerDependency & WithCondition(ContainerDependencyCondition value)
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetCondition(ContainerDependencyCondition value)
ContainerDependency & WithContainerName(ContainerNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String