AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ShuffleConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace SageMaker {
17namespace Model {
18
39 public:
40 AWS_SAGEMAKER_API ShuffleConfig() = default;
41 AWS_SAGEMAKER_API ShuffleConfig(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SAGEMAKER_API ShuffleConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
46
49 inline long long GetSeed() const { return m_seed; }
50 inline bool SeedHasBeenSet() const { return m_seedHasBeenSet; }
51 inline void SetSeed(long long value) {
52 m_seedHasBeenSet = true;
53 m_seed = value;
54 }
55 inline ShuffleConfig& WithSeed(long long value) {
56 SetSeed(value);
57 return *this;
58 }
60 private:
61 long long m_seed{0};
62 bool m_seedHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace SageMaker
67} // namespace Aws
AWS_SAGEMAKER_API ShuffleConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ShuffleConfig & WithSeed(long long value)
AWS_SAGEMAKER_API ShuffleConfig()=default
AWS_SAGEMAKER_API ShuffleConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue