AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EcsResourceRequirement.h
1
6#pragma once
7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/pipes/model/EcsResourceRequirementType.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Pipes
23{
24namespace Model
25{
26
40 {
41 public:
42 AWS_PIPES_API EcsResourceRequirement() = default;
45 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline EcsResourceRequirementType GetType() const { return m_type; }
54 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
55 inline void SetType(EcsResourceRequirementType value) { m_typeHasBeenSet = true; m_type = value; }
56 inline EcsResourceRequirement& WithType(EcsResourceRequirementType value) { SetType(value); return *this;}
58
60
70 inline const Aws::String& GetValue() const { return m_value; }
71 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
72 template<typename ValueT = Aws::String>
73 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
74 template<typename ValueT = Aws::String>
75 EcsResourceRequirement& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
77 private:
78
80 bool m_typeHasBeenSet = false;
81
82 Aws::String m_value;
83 bool m_valueHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Pipes
88} // namespace Aws
void SetType(EcsResourceRequirementType value)
EcsResourceRequirement & WithValue(ValueT &&value)
EcsResourceRequirementType GetType() const
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
EcsResourceRequirement & WithType(EcsResourceRequirementType value)
AWS_PIPES_API EcsResourceRequirement()=default
AWS_PIPES_API EcsResourceRequirement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PIPES_API EcsResourceRequirement(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue