AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Sample.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/databrew/model/SampleType.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GlueDataBrew
22{
23namespace Model
24{
25
32 class Sample
33 {
34 public:
35 AWS_GLUEDATABREW_API Sample();
36 AWS_GLUEDATABREW_API Sample(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GLUEDATABREW_API Sample& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetSize() const{ return m_size; }
46 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
47 inline void SetSize(int value) { m_sizeHasBeenSet = true; m_size = value; }
48 inline Sample& WithSize(int value) { SetSize(value); return *this;}
50
52
55 inline const SampleType& GetType() const{ return m_type; }
56 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
57 inline void SetType(const SampleType& value) { m_typeHasBeenSet = true; m_type = value; }
58 inline void SetType(SampleType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
59 inline Sample& WithType(const SampleType& value) { SetType(value); return *this;}
60 inline Sample& WithType(SampleType&& value) { SetType(std::move(value)); return *this;}
62 private:
63
64 int m_size;
65 bool m_sizeHasBeenSet = false;
66
67 SampleType m_type;
68 bool m_typeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace GlueDataBrew
73} // namespace Aws
AWS_GLUEDATABREW_API Sample()
const SampleType & GetType() const
Definition Sample.h:55
AWS_GLUEDATABREW_API Sample & operator=(Aws::Utils::Json::JsonView jsonValue)
Sample & WithType(SampleType &&value)
Definition Sample.h:60
Sample & WithSize(int value)
Definition Sample.h:48
void SetType(const SampleType &value)
Definition Sample.h:57
AWS_GLUEDATABREW_API Sample(Aws::Utils::Json::JsonView jsonValue)
Sample & WithType(const SampleType &value)
Definition Sample.h:59
void SetType(SampleType &&value)
Definition Sample.h:58
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue