/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Configuration for Redshift Dataset Definition input.See Also:
* AWS
* API Reference
The IAM role attached to your Redshift cluster that Amazon SageMaker uses to * generate datasets.
*/ inline const Aws::String& GetClusterRoleArn() const{ return m_clusterRoleArn; } /** *The IAM role attached to your Redshift cluster that Amazon SageMaker uses to * generate datasets.
*/ inline bool ClusterRoleArnHasBeenSet() const { return m_clusterRoleArnHasBeenSet; } /** *The IAM role attached to your Redshift cluster that Amazon SageMaker uses to * generate datasets.
*/ inline void SetClusterRoleArn(const Aws::String& value) { m_clusterRoleArnHasBeenSet = true; m_clusterRoleArn = value; } /** *The IAM role attached to your Redshift cluster that Amazon SageMaker uses to * generate datasets.
*/ inline void SetClusterRoleArn(Aws::String&& value) { m_clusterRoleArnHasBeenSet = true; m_clusterRoleArn = std::move(value); } /** *The IAM role attached to your Redshift cluster that Amazon SageMaker uses to * generate datasets.
*/ inline void SetClusterRoleArn(const char* value) { m_clusterRoleArnHasBeenSet = true; m_clusterRoleArn.assign(value); } /** *The IAM role attached to your Redshift cluster that Amazon SageMaker uses to * generate datasets.
*/ inline RedshiftDatasetDefinition& WithClusterRoleArn(const Aws::String& value) { SetClusterRoleArn(value); return *this;} /** *The IAM role attached to your Redshift cluster that Amazon SageMaker uses to * generate datasets.
*/ inline RedshiftDatasetDefinition& WithClusterRoleArn(Aws::String&& value) { SetClusterRoleArn(std::move(value)); return *this;} /** *The IAM role attached to your Redshift cluster that Amazon SageMaker uses to * generate datasets.
*/ inline RedshiftDatasetDefinition& WithClusterRoleArn(const char* value) { SetClusterRoleArn(value); return *this;} /** *The location in Amazon S3 where the Redshift query results are stored.
*/ inline const Aws::String& GetOutputS3Uri() const{ return m_outputS3Uri; } /** *The location in Amazon S3 where the Redshift query results are stored.
*/ inline bool OutputS3UriHasBeenSet() const { return m_outputS3UriHasBeenSet; } /** *The location in Amazon S3 where the Redshift query results are stored.
*/ inline void SetOutputS3Uri(const Aws::String& value) { m_outputS3UriHasBeenSet = true; m_outputS3Uri = value; } /** *The location in Amazon S3 where the Redshift query results are stored.
*/ inline void SetOutputS3Uri(Aws::String&& value) { m_outputS3UriHasBeenSet = true; m_outputS3Uri = std::move(value); } /** *The location in Amazon S3 where the Redshift query results are stored.
*/ inline void SetOutputS3Uri(const char* value) { m_outputS3UriHasBeenSet = true; m_outputS3Uri.assign(value); } /** *The location in Amazon S3 where the Redshift query results are stored.
*/ inline RedshiftDatasetDefinition& WithOutputS3Uri(const Aws::String& value) { SetOutputS3Uri(value); return *this;} /** *The location in Amazon S3 where the Redshift query results are stored.
*/ inline RedshiftDatasetDefinition& WithOutputS3Uri(Aws::String&& value) { SetOutputS3Uri(std::move(value)); return *this;} /** *The location in Amazon S3 where the Redshift query results are stored.
*/ inline RedshiftDatasetDefinition& WithOutputS3Uri(const char* value) { SetOutputS3Uri(value); return *this;} /** *The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt data from a Redshift execution.
*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt data from a Redshift execution.
*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt data from a Redshift execution.
*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** *The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt data from a Redshift execution.
*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** *The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt data from a Redshift execution.
*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** *The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt data from a Redshift execution.
*/ inline RedshiftDatasetDefinition& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt data from a Redshift execution.
*/ inline RedshiftDatasetDefinition& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt data from a Redshift execution.
*/ inline RedshiftDatasetDefinition& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} inline const RedshiftResultFormat& GetOutputFormat() const{ return m_outputFormat; } inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; } inline void SetOutputFormat(const RedshiftResultFormat& value) { m_outputFormatHasBeenSet = true; m_outputFormat = value; } inline void SetOutputFormat(RedshiftResultFormat&& value) { m_outputFormatHasBeenSet = true; m_outputFormat = std::move(value); } inline RedshiftDatasetDefinition& WithOutputFormat(const RedshiftResultFormat& value) { SetOutputFormat(value); return *this;} inline RedshiftDatasetDefinition& WithOutputFormat(RedshiftResultFormat&& value) { SetOutputFormat(std::move(value)); return *this;} inline const RedshiftResultCompressionType& GetOutputCompression() const{ return m_outputCompression; } inline bool OutputCompressionHasBeenSet() const { return m_outputCompressionHasBeenSet; } inline void SetOutputCompression(const RedshiftResultCompressionType& value) { m_outputCompressionHasBeenSet = true; m_outputCompression = value; } inline void SetOutputCompression(RedshiftResultCompressionType&& value) { m_outputCompressionHasBeenSet = true; m_outputCompression = std::move(value); } inline RedshiftDatasetDefinition& WithOutputCompression(const RedshiftResultCompressionType& value) { SetOutputCompression(value); return *this;} inline RedshiftDatasetDefinition& WithOutputCompression(RedshiftResultCompressionType&& value) { SetOutputCompression(std::move(value)); return *this;} private: Aws::String m_clusterId; bool m_clusterIdHasBeenSet = false; Aws::String m_database; bool m_databaseHasBeenSet = false; Aws::String m_dbUser; bool m_dbUserHasBeenSet = false; Aws::String m_queryString; bool m_queryStringHasBeenSet = false; Aws::String m_clusterRoleArn; bool m_clusterRoleArnHasBeenSet = false; Aws::String m_outputS3Uri; bool m_outputS3UriHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; RedshiftResultFormat m_outputFormat; bool m_outputFormatHasBeenSet = false; RedshiftResultCompressionType m_outputCompression; bool m_outputCompressionHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws