AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Personalize
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PERSONALIZE_API SolutionUpdateConfig() = default;
37 AWS_PERSONALIZE_API SolutionUpdateConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const AutoTrainingConfig& GetAutoTrainingConfig() const { return m_autoTrainingConfig; }
45 inline bool AutoTrainingConfigHasBeenSet() const { return m_autoTrainingConfigHasBeenSet; }
46 template<typename AutoTrainingConfigT = AutoTrainingConfig>
47 void SetAutoTrainingConfig(AutoTrainingConfigT&& value) { m_autoTrainingConfigHasBeenSet = true; m_autoTrainingConfig = std::forward<AutoTrainingConfigT>(value); }
48 template<typename AutoTrainingConfigT = AutoTrainingConfig>
49 SolutionUpdateConfig& WithAutoTrainingConfig(AutoTrainingConfigT&& value) { SetAutoTrainingConfig(std::forward<AutoTrainingConfigT>(value)); return *this;}
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) { m_eventsConfigHasBeenSet = true; m_eventsConfig = std::forward<EventsConfigT>(value); }
62 template<typename EventsConfigT = EventsConfig>
63 SolutionUpdateConfig& WithEventsConfig(EventsConfigT&& value) { SetEventsConfig(std::forward<EventsConfigT>(value)); return *this;}
65 private:
66
67 AutoTrainingConfig m_autoTrainingConfig;
68 bool m_autoTrainingConfigHasBeenSet = false;
69
70 EventsConfig m_eventsConfig;
71 bool m_eventsConfigHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Personalize
76} // 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