AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchResourceRequirement.h
1
6#pragma once
7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/pipes/model/BatchResourceRequirementType.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
35 {
36 public:
37 AWS_PIPES_API BatchResourceRequirement() = default;
40 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline BatchResourceRequirementType GetType() const { return m_type; }
49 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
50 inline void SetType(BatchResourceRequirementType value) { m_typeHasBeenSet = true; m_type = value; }
53
55
135 inline const Aws::String& GetValue() const { return m_value; }
136 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
137 template<typename ValueT = Aws::String>
138 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
139 template<typename ValueT = Aws::String>
140 BatchResourceRequirement& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
142 private:
143
145 bool m_typeHasBeenSet = false;
146
147 Aws::String m_value;
148 bool m_valueHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace Pipes
153} // namespace Aws
BatchResourceRequirement & WithType(BatchResourceRequirementType value)
AWS_PIPES_API BatchResourceRequirement & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchResourceRequirementType GetType() const
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
BatchResourceRequirement & WithValue(ValueT &&value)
void SetType(BatchResourceRequirementType value)
AWS_PIPES_API BatchResourceRequirement()=default
AWS_PIPES_API BatchResourceRequirement(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue