AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const BatchResourceRequirementType& GetType() const{ return m_type; }
49 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
50 inline void SetType(const BatchResourceRequirementType& value) { m_typeHasBeenSet = true; m_type = value; }
51 inline void SetType(BatchResourceRequirementType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
52 inline BatchResourceRequirement& WithType(const BatchResourceRequirementType& value) { SetType(value); return *this;}
53 inline BatchResourceRequirement& WithType(BatchResourceRequirementType&& value) { SetType(std::move(value)); return *this;}
55
57
137 inline const Aws::String& GetValue() const{ return m_value; }
138 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
139 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
140 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
141 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
142 inline BatchResourceRequirement& WithValue(const Aws::String& value) { SetValue(value); return *this;}
143 inline BatchResourceRequirement& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
144 inline BatchResourceRequirement& WithValue(const char* value) { SetValue(value); return *this;}
146 private:
147
149 bool m_typeHasBeenSet = false;
150
151 Aws::String m_value;
152 bool m_valueHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace Pipes
157} // namespace Aws
AWS_PIPES_API BatchResourceRequirement & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchResourceRequirement & WithType(const BatchResourceRequirementType &value)
BatchResourceRequirement & WithValue(const char *value)
void SetType(const BatchResourceRequirementType &value)
BatchResourceRequirement & WithValue(Aws::String &&value)
BatchResourceRequirement & WithValue(const Aws::String &value)
const BatchResourceRequirementType & GetType() const
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(BatchResourceRequirementType &&value)
AWS_PIPES_API BatchResourceRequirement(Aws::Utils::Json::JsonView jsonValue)
BatchResourceRequirement & WithType(BatchResourceRequirementType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue