AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
SolutionUpdateConfig.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/personalize/model/AutoTrainingConfig.h>
9#include <aws/personalize/model/EventsConfig.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Personalize {
21namespace Model {
22
30 public:
31 AWS_PERSONALIZE_API SolutionUpdateConfig() = default;
32 AWS_PERSONALIZE_API SolutionUpdateConfig(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const AutoTrainingConfig& GetAutoTrainingConfig() const { return m_autoTrainingConfig; }
39 inline bool AutoTrainingConfigHasBeenSet() const { return m_autoTrainingConfigHasBeenSet; }
40 template <typename AutoTrainingConfigT = AutoTrainingConfig>
41 void SetAutoTrainingConfig(AutoTrainingConfigT&& value) {
42 m_autoTrainingConfigHasBeenSet = true;
43 m_autoTrainingConfig = std::forward<AutoTrainingConfigT>(value);
44 }
45 template <typename AutoTrainingConfigT = AutoTrainingConfig>
46 SolutionUpdateConfig& WithAutoTrainingConfig(AutoTrainingConfigT&& value) {
47 SetAutoTrainingConfig(std::forward<AutoTrainingConfigT>(value));
48 return *this;
49 }
51
53
58 inline const EventsConfig& GetEventsConfig() const { return m_eventsConfig; }
59 inline bool EventsConfigHasBeenSet() const { return m_eventsConfigHasBeenSet; }
60 template <typename EventsConfigT = EventsConfig>
61 void SetEventsConfig(EventsConfigT&& value) {
62 m_eventsConfigHasBeenSet = true;
63 m_eventsConfig = std::forward<EventsConfigT>(value);
64 }
65 template <typename EventsConfigT = EventsConfig>
66 SolutionUpdateConfig& WithEventsConfig(EventsConfigT&& value) {
67 SetEventsConfig(std::forward<EventsConfigT>(value));
68 return *this;
69 }
71 private:
72 AutoTrainingConfig m_autoTrainingConfig;
73
74 EventsConfig m_eventsConfig;
75 bool m_autoTrainingConfigHasBeenSet = false;
76 bool m_eventsConfigHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Personalize
81} // namespace Aws
AWS_PERSONALIZE_API SolutionUpdateConfig()=default
AWS_PERSONALIZE_API SolutionUpdateConfig(Aws::Utils::Json::JsonView jsonValue)
SolutionUpdateConfig & WithEventsConfig(EventsConfigT &&value)
const AutoTrainingConfig & GetAutoTrainingConfig() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
SolutionUpdateConfig & WithAutoTrainingConfig(AutoTrainingConfigT &&value)
AWS_PERSONALIZE_API SolutionUpdateConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAutoTrainingConfig(AutoTrainingConfigT &&value)
Aws::Utils::Json::JsonValue JsonValue