AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExperimentSource.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 ExperimentSource();
35 AWS_SAGEMAKER_API ExperimentSource(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 ExperimentSource& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
50 inline ExperimentSource& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
51 inline ExperimentSource& 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 ExperimentSource& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;}
64 inline ExperimentSource& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;}
65 inline ExperimentSource& 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
ExperimentSource & WithSourceArn(Aws::String &&value)
void SetSourceType(const Aws::String &value)
const Aws::String & GetSourceType() const
ExperimentSource & WithSourceType(const char *value)
void SetSourceArn(const Aws::String &value)
ExperimentSource & WithSourceArn(const Aws::String &value)
const Aws::String & GetSourceArn() const
AWS_SAGEMAKER_API ExperimentSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ExperimentSource(Aws::Utils::Json::JsonView jsonValue)
void SetSourceType(Aws::String &&value)
ExperimentSource & WithSourceType(Aws::String &&value)
ExperimentSource & WithSourceArn(const char *value)
ExperimentSource & WithSourceType(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue