133 lines
3.6 KiB
C++
133 lines
3.6 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/sagemaker/SageMaker_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace SageMaker
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>The source of the experiment.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ExperimentSource">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_SAGEMAKER_API ExperimentSource
|
|
{
|
|
public:
|
|
ExperimentSource();
|
|
ExperimentSource(Aws::Utils::Json::JsonView jsonValue);
|
|
ExperimentSource& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the source.</p>
|
|
*/
|
|
inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the source.</p>
|
|
*/
|
|
inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the source.</p>
|
|
*/
|
|
inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the source.</p>
|
|
*/
|
|
inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the source.</p>
|
|
*/
|
|
inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the source.</p>
|
|
*/
|
|
inline ExperimentSource& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the source.</p>
|
|
*/
|
|
inline ExperimentSource& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the source.</p>
|
|
*/
|
|
inline ExperimentSource& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The source type.</p>
|
|
*/
|
|
inline const Aws::String& GetSourceType() const{ return m_sourceType; }
|
|
|
|
/**
|
|
* <p>The source type.</p>
|
|
*/
|
|
inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The source type.</p>
|
|
*/
|
|
inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
|
|
|
|
/**
|
|
* <p>The source type.</p>
|
|
*/
|
|
inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
|
|
|
|
/**
|
|
* <p>The source type.</p>
|
|
*/
|
|
inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); }
|
|
|
|
/**
|
|
* <p>The source type.</p>
|
|
*/
|
|
inline ExperimentSource& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;}
|
|
|
|
/**
|
|
* <p>The source type.</p>
|
|
*/
|
|
inline ExperimentSource& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The source type.</p>
|
|
*/
|
|
inline ExperimentSource& WithSourceType(const char* value) { SetSourceType(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_sourceArn;
|
|
bool m_sourceArnHasBeenSet;
|
|
|
|
Aws::String m_sourceType;
|
|
bool m_sourceTypeHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SageMaker
|
|
} // namespace Aws
|