AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
BatchResourceRequirement.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pipes/Pipes_EXPORTS.h>
9#include <aws/pipes/model/BatchResourceRequirementType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Pipes {
21namespace Model {
22
31 public:
32 AWS_PIPES_API BatchResourceRequirement() = default;
35 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline BatchResourceRequirementType GetType() const { return m_type; }
43 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
45 m_typeHasBeenSet = true;
46 m_type = value;
47 }
49 SetType(value);
50 return *this;
51 }
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) {
139 m_valueHasBeenSet = true;
140 m_value = std::forward<ValueT>(value);
141 }
142 template <typename ValueT = Aws::String>
144 SetValue(std::forward<ValueT>(value));
145 return *this;
146 }
148 private:
150
151 Aws::String m_value;
152 bool m_typeHasBeenSet = false;
153 bool m_valueHasBeenSet = false;
154};
155
156} // namespace Model
157} // namespace Pipes
158} // 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