AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
TrialComponentSource.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
29 public:
30 AWS_SAGEMAKER_API TrialComponentSource() = default;
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetSourceArn() const { return m_sourceArn; }
40 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
41 template <typename SourceArnT = Aws::String>
42 void SetSourceArn(SourceArnT&& value) {
43 m_sourceArnHasBeenSet = true;
44 m_sourceArn = std::forward<SourceArnT>(value);
45 }
46 template <typename SourceArnT = Aws::String>
47 TrialComponentSource& WithSourceArn(SourceArnT&& value) {
48 SetSourceArn(std::forward<SourceArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetSourceType() const { return m_sourceType; }
58 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
59 template <typename SourceTypeT = Aws::String>
60 void SetSourceType(SourceTypeT&& value) {
61 m_sourceTypeHasBeenSet = true;
62 m_sourceType = std::forward<SourceTypeT>(value);
63 }
64 template <typename SourceTypeT = Aws::String>
65 TrialComponentSource& WithSourceType(SourceTypeT&& value) {
66 SetSourceType(std::forward<SourceTypeT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_sourceArn;
72
73 Aws::String m_sourceType;
74 bool m_sourceArnHasBeenSet = false;
75 bool m_sourceTypeHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace SageMaker
80} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API TrialComponentSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API TrialComponentSource()=default
AWS_SAGEMAKER_API TrialComponentSource(Aws::Utils::Json::JsonView jsonValue)
TrialComponentSource & WithSourceArn(SourceArnT &&value)
TrialComponentSource & WithSourceType(SourceTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue