AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
HPOResourceConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/personalize/Personalize_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Personalize {
20namespace Model {
21
29 public:
30 AWS_PERSONALIZE_API HPOResourceConfig() = default;
31 AWS_PERSONALIZE_API HPOResourceConfig(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetMaxNumberOfTrainingJobs() const { return m_maxNumberOfTrainingJobs; }
41 inline bool MaxNumberOfTrainingJobsHasBeenSet() const { return m_maxNumberOfTrainingJobsHasBeenSet; }
42 template <typename MaxNumberOfTrainingJobsT = Aws::String>
43 void SetMaxNumberOfTrainingJobs(MaxNumberOfTrainingJobsT&& value) {
44 m_maxNumberOfTrainingJobsHasBeenSet = true;
45 m_maxNumberOfTrainingJobs = std::forward<MaxNumberOfTrainingJobsT>(value);
46 }
47 template <typename MaxNumberOfTrainingJobsT = Aws::String>
48 HPOResourceConfig& WithMaxNumberOfTrainingJobs(MaxNumberOfTrainingJobsT&& value) {
49 SetMaxNumberOfTrainingJobs(std::forward<MaxNumberOfTrainingJobsT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetMaxParallelTrainingJobs() const { return m_maxParallelTrainingJobs; }
61 inline bool MaxParallelTrainingJobsHasBeenSet() const { return m_maxParallelTrainingJobsHasBeenSet; }
62 template <typename MaxParallelTrainingJobsT = Aws::String>
63 void SetMaxParallelTrainingJobs(MaxParallelTrainingJobsT&& value) {
64 m_maxParallelTrainingJobsHasBeenSet = true;
65 m_maxParallelTrainingJobs = std::forward<MaxParallelTrainingJobsT>(value);
66 }
67 template <typename MaxParallelTrainingJobsT = Aws::String>
68 HPOResourceConfig& WithMaxParallelTrainingJobs(MaxParallelTrainingJobsT&& value) {
69 SetMaxParallelTrainingJobs(std::forward<MaxParallelTrainingJobsT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_maxNumberOfTrainingJobs;
75
76 Aws::String m_maxParallelTrainingJobs;
77 bool m_maxNumberOfTrainingJobsHasBeenSet = false;
78 bool m_maxParallelTrainingJobsHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Personalize
83} // namespace Aws
const Aws::String & GetMaxNumberOfTrainingJobs() const
HPOResourceConfig & WithMaxNumberOfTrainingJobs(MaxNumberOfTrainingJobsT &&value)
AWS_PERSONALIZE_API HPOResourceConfig()=default
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMaxParallelTrainingJobs() const
AWS_PERSONALIZE_API HPOResourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API HPOResourceConfig(Aws::Utils::Json::JsonView jsonValue)
void SetMaxNumberOfTrainingJobs(MaxNumberOfTrainingJobsT &&value)
void SetMaxParallelTrainingJobs(MaxParallelTrainingJobsT &&value)
HPOResourceConfig & WithMaxParallelTrainingJobs(MaxParallelTrainingJobsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue