AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TrialComponentArtifact.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
38 {
39 public:
40 AWS_SAGEMAKER_API TrialComponentArtifact() = default;
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
54 inline const Aws::String& GetMediaType() const { return m_mediaType; }
55 inline bool MediaTypeHasBeenSet() const { return m_mediaTypeHasBeenSet; }
56 template<typename MediaTypeT = Aws::String>
57 void SetMediaType(MediaTypeT&& value) { m_mediaTypeHasBeenSet = true; m_mediaType = std::forward<MediaTypeT>(value); }
58 template<typename MediaTypeT = Aws::String>
59 TrialComponentArtifact& WithMediaType(MediaTypeT&& value) { SetMediaType(std::forward<MediaTypeT>(value)); return *this;}
61
63
66 inline const Aws::String& GetValue() const { return m_value; }
67 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
68 template<typename ValueT = Aws::String>
69 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
70 template<typename ValueT = Aws::String>
71 TrialComponentArtifact& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
73 private:
74
75 Aws::String m_mediaType;
76 bool m_mediaTypeHasBeenSet = false;
77
78 Aws::String m_value;
79 bool m_valueHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace SageMaker
84} // namespace Aws
AWS_SAGEMAKER_API TrialComponentArtifact & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API TrialComponentArtifact()=default
TrialComponentArtifact & WithMediaType(MediaTypeT &&value)
AWS_SAGEMAKER_API TrialComponentArtifact(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TrialComponentArtifact & WithValue(ValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue