AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename SourceArnT = Aws::String>
47 void SetSourceArn(SourceArnT&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::forward<SourceArnT>(value); }
48 template<typename SourceArnT = Aws::String>
49 TrialSource& WithSourceArn(SourceArnT&& value) { SetSourceArn(std::forward<SourceArnT>(value)); return *this;}
51
53
56 inline const Aws::String& GetSourceType() const { return m_sourceType; }
57 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
58 template<typename SourceTypeT = Aws::String>
59 void SetSourceType(SourceTypeT&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::forward<SourceTypeT>(value); }
60 template<typename SourceTypeT = Aws::String>
61 TrialSource& WithSourceType(SourceTypeT&& value) { SetSourceType(std::forward<SourceTypeT>(value)); return *this;}
63 private:
64
65 Aws::String m_sourceArn;
66 bool m_sourceArnHasBeenSet = false;
67
68 Aws::String m_sourceType;
69 bool m_sourceTypeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace SageMaker
74} // namespace Aws
AWS_SAGEMAKER_API TrialSource()=default
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(SourceArnT &&value)
Definition TrialSource.h:47
void SetSourceType(SourceTypeT &&value)
Definition TrialSource.h:59
TrialSource & WithSourceType(SourceTypeT &&value)
Definition TrialSource.h:61
AWS_SAGEMAKER_API TrialSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSourceType() const
Definition TrialSource.h:56
TrialSource & WithSourceArn(SourceArnT &&value)
Definition TrialSource.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue