AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
AutoMLResult.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
31 public:
32 AWS_PERSONALIZE_API AutoMLResult() = default;
33 AWS_PERSONALIZE_API AutoMLResult(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PERSONALIZE_API AutoMLResult& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetBestRecipeArn() const { return m_bestRecipeArn; }
42 inline bool BestRecipeArnHasBeenSet() const { return m_bestRecipeArnHasBeenSet; }
43 template <typename BestRecipeArnT = Aws::String>
44 void SetBestRecipeArn(BestRecipeArnT&& value) {
45 m_bestRecipeArnHasBeenSet = true;
46 m_bestRecipeArn = std::forward<BestRecipeArnT>(value);
47 }
48 template <typename BestRecipeArnT = Aws::String>
49 AutoMLResult& WithBestRecipeArn(BestRecipeArnT&& value) {
50 SetBestRecipeArn(std::forward<BestRecipeArnT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_bestRecipeArn;
56 bool m_bestRecipeArnHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace Personalize
61} // namespace Aws
void SetBestRecipeArn(BestRecipeArnT &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
AutoMLResult & WithBestRecipeArn(BestRecipeArnT &&value)
const Aws::String & GetBestRecipeArn() const
AWS_PERSONALIZE_API AutoMLResult(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API AutoMLResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API AutoMLResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue