AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
48 inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
49 inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
50 inline TrialComponentSource& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
51 inline TrialComponentSource& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
52 inline TrialComponentSource& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
54
56
59 inline const Aws::String& GetSourceType() const{ return m_sourceType; }
60 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
61 inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
62 inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
63 inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); }
64 inline TrialComponentSource& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;}
65 inline TrialComponentSource& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;}
66 inline TrialComponentSource& WithSourceType(const char* value) { SetSourceType(value); return *this;}
68 private:
69
70 Aws::String m_sourceArn;
71 bool m_sourceArnHasBeenSet = false;
72
73 Aws::String m_sourceType;
74 bool m_sourceTypeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SageMaker
79} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TrialComponentSource & WithSourceType(const char *value)
AWS_SAGEMAKER_API TrialComponentSource & operator=(Aws::Utils::Json::JsonView jsonValue)
TrialComponentSource & WithSourceArn(const Aws::String &value)
TrialComponentSource & WithSourceArn(Aws::String &&value)
AWS_SAGEMAKER_API TrialComponentSource(Aws::Utils::Json::JsonView jsonValue)
TrialComponentSource & WithSourceType(Aws::String &&value)
TrialComponentSource & WithSourceType(const Aws::String &value)
TrialComponentSource & WithSourceArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue