AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TrialComponentSource.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
33 {
34 public:
35 AWS_SAGEMAKER_API TrialComponentSource() = default;
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetSourceArn() const { return m_sourceArn; }
46 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
47 template<typename SourceArnT = Aws::String>
48 void SetSourceArn(SourceArnT&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::forward<SourceArnT>(value); }
49 template<typename SourceArnT = Aws::String>
50 TrialComponentSource& WithSourceArn(SourceArnT&& value) { SetSourceArn(std::forward<SourceArnT>(value)); return *this;}
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) { m_sourceTypeHasBeenSet = true; m_sourceType = std::forward<SourceTypeT>(value); }
61 template<typename SourceTypeT = Aws::String>
62 TrialComponentSource& WithSourceType(SourceTypeT&& value) { SetSourceType(std::forward<SourceTypeT>(value)); return *this;}
64 private:
65
66 Aws::String m_sourceArn;
67 bool m_sourceArnHasBeenSet = false;
68
69 Aws::String m_sourceType;
70 bool m_sourceTypeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SageMaker
75} // 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