/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure describing the source of an action.See Also:
AWS
* API Reference
The URI of the source.
*/ inline const Aws::String& GetSourceUri() const{ return m_sourceUri; } /** *The URI of the source.
*/ inline bool SourceUriHasBeenSet() const { return m_sourceUriHasBeenSet; } /** *The URI of the source.
*/ inline void SetSourceUri(const Aws::String& value) { m_sourceUriHasBeenSet = true; m_sourceUri = value; } /** *The URI of the source.
*/ inline void SetSourceUri(Aws::String&& value) { m_sourceUriHasBeenSet = true; m_sourceUri = std::move(value); } /** *The URI of the source.
*/ inline void SetSourceUri(const char* value) { m_sourceUriHasBeenSet = true; m_sourceUri.assign(value); } /** *The URI of the source.
*/ inline ActionSource& WithSourceUri(const Aws::String& value) { SetSourceUri(value); return *this;} /** *The URI of the source.
*/ inline ActionSource& WithSourceUri(Aws::String&& value) { SetSourceUri(std::move(value)); return *this;} /** *The URI of the source.
*/ inline ActionSource& WithSourceUri(const char* value) { SetSourceUri(value); return *this;} /** *The type of the source.
*/ inline const Aws::String& GetSourceType() const{ return m_sourceType; } /** *The type of the source.
*/ inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; } /** *The type of the source.
*/ inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; } /** *The type of the source.
*/ inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); } /** *The type of the source.
*/ inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); } /** *The type of the source.
*/ inline ActionSource& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;} /** *The type of the source.
*/ inline ActionSource& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;} /** *The type of the source.
*/ inline ActionSource& WithSourceType(const char* value) { SetSourceType(value); return *this;} /** *The ID of the source.
*/ inline const Aws::String& GetSourceId() const{ return m_sourceId; } /** *The ID of the source.
*/ inline bool SourceIdHasBeenSet() const { return m_sourceIdHasBeenSet; } /** *The ID of the source.
*/ inline void SetSourceId(const Aws::String& value) { m_sourceIdHasBeenSet = true; m_sourceId = value; } /** *The ID of the source.
*/ inline void SetSourceId(Aws::String&& value) { m_sourceIdHasBeenSet = true; m_sourceId = std::move(value); } /** *The ID of the source.
*/ inline void SetSourceId(const char* value) { m_sourceIdHasBeenSet = true; m_sourceId.assign(value); } /** *The ID of the source.
*/ inline ActionSource& WithSourceId(const Aws::String& value) { SetSourceId(value); return *this;} /** *The ID of the source.
*/ inline ActionSource& WithSourceId(Aws::String&& value) { SetSourceId(std::move(value)); return *this;} /** *The ID of the source.
*/ inline ActionSource& WithSourceId(const char* value) { SetSourceId(value); return *this;} private: Aws::String m_sourceUri; bool m_sourceUriHasBeenSet = false; Aws::String m_sourceType; bool m_sourceTypeHasBeenSet = false; Aws::String m_sourceId; bool m_sourceIdHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws