AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 SampleType GetType() const { return m_type; }
56 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
57 inline void SetType(SampleType value) { m_typeHasBeenSet = true; m_type = value; }
58 inline Sample& WithType(SampleType value) { SetType(value); return *this;}
60 private:
61
62 int m_size{0};
63 bool m_sizeHasBeenSet = false;
64
66 bool m_typeHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace GlueDataBrew
71} // namespace Aws
void SetType(SampleType value)
Definition Sample.h:57
Sample & WithType(SampleType value)
Definition Sample.h:58
SampleType GetType() const
Definition Sample.h:55
AWS_GLUEDATABREW_API Sample()=default
AWS_GLUEDATABREW_API Sample & operator=(Aws::Utils::Json::JsonView jsonValue)
Sample & WithSize(int value)
Definition Sample.h:48
AWS_GLUEDATABREW_API Sample(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue