AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HPOResourceConfig.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 Personalize
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_PERSONALIZE_API HPOResourceConfig();
36 AWS_PERSONALIZE_API HPOResourceConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetMaxNumberOfTrainingJobs() const{ return m_maxNumberOfTrainingJobs; }
47 inline bool MaxNumberOfTrainingJobsHasBeenSet() const { return m_maxNumberOfTrainingJobsHasBeenSet; }
48 inline void SetMaxNumberOfTrainingJobs(const Aws::String& value) { m_maxNumberOfTrainingJobsHasBeenSet = true; m_maxNumberOfTrainingJobs = value; }
49 inline void SetMaxNumberOfTrainingJobs(Aws::String&& value) { m_maxNumberOfTrainingJobsHasBeenSet = true; m_maxNumberOfTrainingJobs = std::move(value); }
50 inline void SetMaxNumberOfTrainingJobs(const char* value) { m_maxNumberOfTrainingJobsHasBeenSet = true; m_maxNumberOfTrainingJobs.assign(value); }
52 inline HPOResourceConfig& WithMaxNumberOfTrainingJobs(Aws::String&& value) { SetMaxNumberOfTrainingJobs(std::move(value)); return *this;}
53 inline HPOResourceConfig& WithMaxNumberOfTrainingJobs(const char* value) { SetMaxNumberOfTrainingJobs(value); return *this;}
55
57
62 inline const Aws::String& GetMaxParallelTrainingJobs() const{ return m_maxParallelTrainingJobs; }
63 inline bool MaxParallelTrainingJobsHasBeenSet() const { return m_maxParallelTrainingJobsHasBeenSet; }
64 inline void SetMaxParallelTrainingJobs(const Aws::String& value) { m_maxParallelTrainingJobsHasBeenSet = true; m_maxParallelTrainingJobs = value; }
65 inline void SetMaxParallelTrainingJobs(Aws::String&& value) { m_maxParallelTrainingJobsHasBeenSet = true; m_maxParallelTrainingJobs = std::move(value); }
66 inline void SetMaxParallelTrainingJobs(const char* value) { m_maxParallelTrainingJobsHasBeenSet = true; m_maxParallelTrainingJobs.assign(value); }
68 inline HPOResourceConfig& WithMaxParallelTrainingJobs(Aws::String&& value) { SetMaxParallelTrainingJobs(std::move(value)); return *this;}
69 inline HPOResourceConfig& WithMaxParallelTrainingJobs(const char* value) { SetMaxParallelTrainingJobs(value); return *this;}
71 private:
72
73 Aws::String m_maxNumberOfTrainingJobs;
74 bool m_maxNumberOfTrainingJobsHasBeenSet = false;
75
76 Aws::String m_maxParallelTrainingJobs;
77 bool m_maxParallelTrainingJobsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Personalize
82} // namespace Aws
const Aws::String & GetMaxNumberOfTrainingJobs() const
HPOResourceConfig & WithMaxNumberOfTrainingJobs(const char *value)
void SetMaxParallelTrainingJobs(const Aws::String &value)
void SetMaxNumberOfTrainingJobs(Aws::String &&value)
void SetMaxParallelTrainingJobs(Aws::String &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMaxParallelTrainingJobs() const
HPOResourceConfig & WithMaxNumberOfTrainingJobs(const Aws::String &value)
HPOResourceConfig & WithMaxNumberOfTrainingJobs(Aws::String &&value)
AWS_PERSONALIZE_API HPOResourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
HPOResourceConfig & WithMaxParallelTrainingJobs(Aws::String &&value)
AWS_PERSONALIZE_API HPOResourceConfig(Aws::Utils::Json::JsonView jsonValue)
void SetMaxNumberOfTrainingJobs(const Aws::String &value)
HPOResourceConfig & WithMaxParallelTrainingJobs(const Aws::String &value)
HPOResourceConfig & WithMaxParallelTrainingJobs(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue