7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
9#include <aws/ecs/model/ResourceType.h>
10#include <aws/ecs/model/SharingStrategy.h>
64 template <
typename ValueT = Aws::String>
66 m_valueHasBeenSet =
true;
67 m_value = std::forward<ValueT>(value);
69 template <
typename ValueT = Aws::String>
71 SetValue(std::forward<ValueT>(value));
83 m_typeHasBeenSet =
true;
106 template <
typename SharingStrategyT = SharingStrategy>
108 m_sharingStrategyHasBeenSet =
true;
109 m_sharingStrategy = std::forward<SharingStrategyT>(value);
111 template <
typename SharingStrategyT = SharingStrategy>
122 SharingStrategy m_sharingStrategy;
123 bool m_valueHasBeenSet =
false;
124 bool m_typeHasBeenSet =
false;
125 bool m_sharingStrategyHasBeenSet =
false;
AWS_ECS_API ResourceRequirement()=default
bool ValueHasBeenSet() const
void SetValue(ValueT &&value)
ResourceRequirement & WithValue(ValueT &&value)
void SetType(ResourceType value)
AWS_ECS_API ResourceRequirement & operator=(Aws::Utils::Json::JsonView jsonValue)
const SharingStrategy & GetSharingStrategy() const
ResourceRequirement & WithSharingStrategy(SharingStrategyT &&value)
ResourceRequirement & WithType(ResourceType value)
bool TypeHasBeenSet() const
AWS_ECS_API ResourceRequirement(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceType GetType() const
const Aws::String & GetValue() const
void SetSharingStrategy(SharingStrategyT &&value)
bool SharingStrategyHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue