AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrialSource.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
32 {
33 public:
34 AWS_SAGEMAKER_API TrialSource();
35 AWS_SAGEMAKER_API TrialSource(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SAGEMAKER_API TrialSource& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
45 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
46 inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
47 inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
48 inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
49 inline TrialSource& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
50 inline TrialSource& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
51 inline TrialSource& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
53
55
58 inline const Aws::String& GetSourceType() const{ return m_sourceType; }
59 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
60 inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
61 inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
62 inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); }
63 inline TrialSource& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;}
64 inline TrialSource& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;}
65 inline TrialSource& WithSourceType(const char* value) { SetSourceType(value); return *this;}
67 private:
68
69 Aws::String m_sourceArn;
70 bool m_sourceArnHasBeenSet = false;
71
72 Aws::String m_sourceType;
73 bool m_sourceTypeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SageMaker
78} // namespace Aws
void SetSourceArn(const char *value)
Definition TrialSource.h:48
void SetSourceArn(const Aws::String &value)
Definition TrialSource.h:46
TrialSource & WithSourceType(const char *value)
Definition TrialSource.h:65
TrialSource & WithSourceArn(const char *value)
Definition TrialSource.h:51
TrialSource & WithSourceType(const Aws::String &value)
Definition TrialSource.h:63
void SetSourceType(Aws::String &&value)
Definition TrialSource.h:61
TrialSource & WithSourceArn(const Aws::String &value)
Definition TrialSource.h:49
AWS_SAGEMAKER_API TrialSource(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSourceArn() const
Definition TrialSource.h:44
void SetSourceArn(Aws::String &&value)
Definition TrialSource.h:47
void SetSourceType(const Aws::String &value)
Definition TrialSource.h:60
AWS_SAGEMAKER_API TrialSource & operator=(Aws::Utils::Json::JsonView jsonValue)
TrialSource & WithSourceArn(Aws::String &&value)
Definition TrialSource.h:50
void SetSourceType(const char *value)
Definition TrialSource.h:62
const Aws::String & GetSourceType() const
Definition TrialSource.h:58
TrialSource & WithSourceType(Aws::String &&value)
Definition TrialSource.h:64
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue