AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
45 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const EcsResourceRequirementType& GetType() const{ return m_type; }
54 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
55 inline void SetType(const EcsResourceRequirementType& value) { m_typeHasBeenSet = true; m_type = value; }
56 inline void SetType(EcsResourceRequirementType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
57 inline EcsResourceRequirement& WithType(const EcsResourceRequirementType& value) { SetType(value); return *this;}
58 inline EcsResourceRequirement& WithType(EcsResourceRequirementType&& value) { SetType(std::move(value)); return *this;}
60
62
72 inline const Aws::String& GetValue() const{ return m_value; }
73 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
74 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
75 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
76 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
77 inline EcsResourceRequirement& WithValue(const Aws::String& value) { SetValue(value); return *this;}
78 inline EcsResourceRequirement& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
79 inline EcsResourceRequirement& WithValue(const char* value) { SetValue(value); return *this;}
81 private:
82
84 bool m_typeHasBeenSet = false;
85
86 Aws::String m_value;
87 bool m_valueHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Pipes
92} // namespace Aws
EcsResourceRequirement & WithType(EcsResourceRequirementType &&value)
void SetType(const EcsResourceRequirementType &value)
void SetType(EcsResourceRequirementType &&value)
EcsResourceRequirement & WithValue(Aws::String &&value)
const EcsResourceRequirementType & GetType() const
EcsResourceRequirement & WithValue(const char *value)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PIPES_API EcsResourceRequirement & operator=(Aws::Utils::Json::JsonView jsonValue)
EcsResourceRequirement & WithType(const EcsResourceRequirementType &value)
EcsResourceRequirement & WithValue(const Aws::String &value)
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