AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ThemeGenerationConfig.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/personalize/model/FieldsForThemeGeneration.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 ThemeGenerationConfig() = default;
31 AWS_PERSONALIZE_API ThemeGenerationConfig(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const FieldsForThemeGeneration& GetFieldsForThemeGeneration() const { return m_fieldsForThemeGeneration; }
40 inline bool FieldsForThemeGenerationHasBeenSet() const { return m_fieldsForThemeGenerationHasBeenSet; }
41 template <typename FieldsForThemeGenerationT = FieldsForThemeGeneration>
42 void SetFieldsForThemeGeneration(FieldsForThemeGenerationT&& value) {
43 m_fieldsForThemeGenerationHasBeenSet = true;
44 m_fieldsForThemeGeneration = std::forward<FieldsForThemeGenerationT>(value);
45 }
46 template <typename FieldsForThemeGenerationT = FieldsForThemeGeneration>
47 ThemeGenerationConfig& WithFieldsForThemeGeneration(FieldsForThemeGenerationT&& value) {
48 SetFieldsForThemeGeneration(std::forward<FieldsForThemeGenerationT>(value));
49 return *this;
50 }
52 private:
53 FieldsForThemeGeneration m_fieldsForThemeGeneration;
54 bool m_fieldsForThemeGenerationHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace Personalize
59} // namespace Aws
AWS_PERSONALIZE_API ThemeGenerationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API ThemeGenerationConfig(Aws::Utils::Json::JsonView jsonValue)
void SetFieldsForThemeGeneration(FieldsForThemeGenerationT &&value)
const FieldsForThemeGeneration & GetFieldsForThemeGeneration() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
ThemeGenerationConfig & WithFieldsForThemeGeneration(FieldsForThemeGenerationT &&value)
AWS_PERSONALIZE_API ThemeGenerationConfig()=default
Aws::Utils::Json::JsonValue JsonValue