/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The location of the pipeline definition stored in Amazon S3.See
* Also:
AWS
* API Reference
Name of the S3 bucket.
*/ inline const Aws::String& GetBucket() const{ return m_bucket; } /** *Name of the S3 bucket.
*/ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** *Name of the S3 bucket.
*/ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** *Name of the S3 bucket.
*/ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** *Name of the S3 bucket.
*/ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** *Name of the S3 bucket.
*/ inline PipelineDefinitionS3Location& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** *Name of the S3 bucket.
*/ inline PipelineDefinitionS3Location& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** *Name of the S3 bucket.
*/ inline PipelineDefinitionS3Location& WithBucket(const char* value) { SetBucket(value); return *this;} /** *The object key (or key name) uniquely identifies the object in an S3 bucket. *
*/ inline const Aws::String& GetObjectKey() const{ return m_objectKey; } /** *The object key (or key name) uniquely identifies the object in an S3 bucket. *
*/ inline bool ObjectKeyHasBeenSet() const { return m_objectKeyHasBeenSet; } /** *The object key (or key name) uniquely identifies the object in an S3 bucket. *
*/ inline void SetObjectKey(const Aws::String& value) { m_objectKeyHasBeenSet = true; m_objectKey = value; } /** *The object key (or key name) uniquely identifies the object in an S3 bucket. *
*/ inline void SetObjectKey(Aws::String&& value) { m_objectKeyHasBeenSet = true; m_objectKey = std::move(value); } /** *The object key (or key name) uniquely identifies the object in an S3 bucket. *
*/ inline void SetObjectKey(const char* value) { m_objectKeyHasBeenSet = true; m_objectKey.assign(value); } /** *The object key (or key name) uniquely identifies the object in an S3 bucket. *
*/ inline PipelineDefinitionS3Location& WithObjectKey(const Aws::String& value) { SetObjectKey(value); return *this;} /** *The object key (or key name) uniquely identifies the object in an S3 bucket. *
*/ inline PipelineDefinitionS3Location& WithObjectKey(Aws::String&& value) { SetObjectKey(std::move(value)); return *this;} /** *The object key (or key name) uniquely identifies the object in an S3 bucket. *
*/ inline PipelineDefinitionS3Location& WithObjectKey(const char* value) { SetObjectKey(value); return *this;} /** *Version Id of the pipeline definition file. If not specified, Amazon * SageMaker will retrieve the latest version.
*/ inline const Aws::String& GetVersionId() const{ return m_versionId; } /** *Version Id of the pipeline definition file. If not specified, Amazon * SageMaker will retrieve the latest version.
*/ inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } /** *Version Id of the pipeline definition file. If not specified, Amazon * SageMaker will retrieve the latest version.
*/ inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } /** *Version Id of the pipeline definition file. If not specified, Amazon * SageMaker will retrieve the latest version.
*/ inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); } /** *Version Id of the pipeline definition file. If not specified, Amazon * SageMaker will retrieve the latest version.
*/ inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); } /** *Version Id of the pipeline definition file. If not specified, Amazon * SageMaker will retrieve the latest version.
*/ inline PipelineDefinitionS3Location& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} /** *Version Id of the pipeline definition file. If not specified, Amazon * SageMaker will retrieve the latest version.
*/ inline PipelineDefinitionS3Location& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} /** *Version Id of the pipeline definition file. If not specified, Amazon * SageMaker will retrieve the latest version.
*/ inline PipelineDefinitionS3Location& WithVersionId(const char* value) { SetVersionId(value); return *this;} private: Aws::String m_bucket; bool m_bucketHasBeenSet = false; Aws::String m_objectKey; bool m_objectKeyHasBeenSet = false; Aws::String m_versionId; bool m_versionIdHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws