AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobSample.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/databrew/model/SampleMode.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
35 {
36 public:
37 AWS_GLUEDATABREW_API JobSample();
38 AWS_GLUEDATABREW_API JobSample(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GLUEDATABREW_API JobSample& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
51 inline const SampleMode& GetMode() const{ return m_mode; }
52 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
53 inline void SetMode(const SampleMode& value) { m_modeHasBeenSet = true; m_mode = value; }
54 inline void SetMode(SampleMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
55 inline JobSample& WithMode(const SampleMode& value) { SetMode(value); return *this;}
56 inline JobSample& WithMode(SampleMode&& value) { SetMode(std::move(value)); return *this;}
58
60
66 inline long long GetSize() const{ return m_size; }
67 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
68 inline void SetSize(long long value) { m_sizeHasBeenSet = true; m_size = value; }
69 inline JobSample& WithSize(long long value) { SetSize(value); return *this;}
71 private:
72
73 SampleMode m_mode;
74 bool m_modeHasBeenSet = false;
75
76 long long m_size;
77 bool m_sizeHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace GlueDataBrew
82} // namespace Aws
const SampleMode & GetMode() const
Definition JobSample.h:51
void SetMode(SampleMode &&value)
Definition JobSample.h:54
void SetSize(long long value)
Definition JobSample.h:68
AWS_GLUEDATABREW_API JobSample()
void SetMode(const SampleMode &value)
Definition JobSample.h:53
JobSample & WithMode(SampleMode &&value)
Definition JobSample.h:56
AWS_GLUEDATABREW_API JobSample & operator=(Aws::Utils::Json::JsonView jsonValue)
JobSample & WithSize(long long value)
Definition JobSample.h:69
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
JobSample & WithMode(const SampleMode &value)
Definition JobSample.h:55
AWS_GLUEDATABREW_API JobSample(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue