AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
TrialComponentArtifact.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
34 public:
35 AWS_SAGEMAKER_API TrialComponentArtifact() = default;
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
48 inline const Aws::String& GetMediaType() const { return m_mediaType; }
49 inline bool MediaTypeHasBeenSet() const { return m_mediaTypeHasBeenSet; }
50 template <typename MediaTypeT = Aws::String>
51 void SetMediaType(MediaTypeT&& value) {
52 m_mediaTypeHasBeenSet = true;
53 m_mediaType = std::forward<MediaTypeT>(value);
54 }
55 template <typename MediaTypeT = Aws::String>
57 SetMediaType(std::forward<MediaTypeT>(value));
58 return *this;
59 }
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) {
70 m_valueHasBeenSet = true;
71 m_value = std::forward<ValueT>(value);
72 }
73 template <typename ValueT = Aws::String>
75 SetValue(std::forward<ValueT>(value));
76 return *this;
77 }
79 private:
80 Aws::String m_mediaType;
81
82 Aws::String m_value;
83 bool m_mediaTypeHasBeenSet = false;
84 bool m_valueHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace SageMaker
89} // 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