AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
BaseModel.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
28class BaseModel {
29 public:
30 AWS_SAGEMAKER_API BaseModel() = default;
31 AWS_SAGEMAKER_API BaseModel(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SAGEMAKER_API BaseModel& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetHubContentName() const { return m_hubContentName; }
40 inline bool HubContentNameHasBeenSet() const { return m_hubContentNameHasBeenSet; }
41 template <typename HubContentNameT = Aws::String>
42 void SetHubContentName(HubContentNameT&& value) {
43 m_hubContentNameHasBeenSet = true;
44 m_hubContentName = std::forward<HubContentNameT>(value);
45 }
46 template <typename HubContentNameT = Aws::String>
47 BaseModel& WithHubContentName(HubContentNameT&& value) {
48 SetHubContentName(std::forward<HubContentNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetHubContentVersion() const { return m_hubContentVersion; }
58 inline bool HubContentVersionHasBeenSet() const { return m_hubContentVersionHasBeenSet; }
59 template <typename HubContentVersionT = Aws::String>
60 void SetHubContentVersion(HubContentVersionT&& value) {
61 m_hubContentVersionHasBeenSet = true;
62 m_hubContentVersion = std::forward<HubContentVersionT>(value);
63 }
64 template <typename HubContentVersionT = Aws::String>
65 BaseModel& WithHubContentVersion(HubContentVersionT&& value) {
66 SetHubContentVersion(std::forward<HubContentVersionT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetRecipeName() const { return m_recipeName; }
76 inline bool RecipeNameHasBeenSet() const { return m_recipeNameHasBeenSet; }
77 template <typename RecipeNameT = Aws::String>
78 void SetRecipeName(RecipeNameT&& value) {
79 m_recipeNameHasBeenSet = true;
80 m_recipeName = std::forward<RecipeNameT>(value);
81 }
82 template <typename RecipeNameT = Aws::String>
83 BaseModel& WithRecipeName(RecipeNameT&& value) {
84 SetRecipeName(std::forward<RecipeNameT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_hubContentName;
90
91 Aws::String m_hubContentVersion;
92
93 Aws::String m_recipeName;
94 bool m_hubContentNameHasBeenSet = false;
95 bool m_hubContentVersionHasBeenSet = false;
96 bool m_recipeNameHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SageMaker
101} // namespace Aws
void SetHubContentVersion(HubContentVersionT &&value)
Definition BaseModel.h:60
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API BaseModel(Aws::Utils::Json::JsonView jsonValue)
void SetRecipeName(RecipeNameT &&value)
Definition BaseModel.h:78
AWS_SAGEMAKER_API BaseModel & operator=(Aws::Utils::Json::JsonView jsonValue)
BaseModel & WithHubContentVersion(HubContentVersionT &&value)
Definition BaseModel.h:65
AWS_SAGEMAKER_API BaseModel()=default
bool HubContentVersionHasBeenSet() const
Definition BaseModel.h:58
const Aws::String & GetHubContentName() const
Definition BaseModel.h:39
const Aws::String & GetHubContentVersion() const
Definition BaseModel.h:57
bool HubContentNameHasBeenSet() const
Definition BaseModel.h:40
const Aws::String & GetRecipeName() const
Definition BaseModel.h:75
void SetHubContentName(HubContentNameT &&value)
Definition BaseModel.h:42
BaseModel & WithHubContentName(HubContentNameT &&value)
Definition BaseModel.h:47
BaseModel & WithRecipeName(RecipeNameT &&value)
Definition BaseModel.h:83
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue