7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/RedshiftResultFormat.h>
10#include <aws/sagemaker/model/RedshiftResultCompressionType.h>
47 template<
typename ClusterIdT = Aws::String>
48 void SetClusterId(ClusterIdT&& value) { m_clusterIdHasBeenSet =
true; m_clusterId = std::forward<ClusterIdT>(value); }
49 template<
typename ClusterIdT = Aws::String>
57 template<
typename DatabaseT = Aws::String>
58 void SetDatabase(DatabaseT&& value) { m_databaseHasBeenSet =
true; m_database = std::forward<DatabaseT>(value); }
59 template<
typename DatabaseT = Aws::String>
67 template<
typename DbUserT = Aws::String>
68 void SetDbUser(DbUserT&& value) { m_dbUserHasBeenSet =
true; m_dbUser = std::forward<DbUserT>(value); }
69 template<
typename DbUserT = Aws::String>
77 template<
typename QueryStringT = Aws::String>
78 void SetQueryString(QueryStringT&& value) { m_queryStringHasBeenSet =
true; m_queryString = std::forward<QueryStringT>(value); }
79 template<
typename QueryStringT = Aws::String>
90 template<
typename ClusterRoleArnT = Aws::String>
91 void SetClusterRoleArn(ClusterRoleArnT&& value) { m_clusterRoleArnHasBeenSet =
true; m_clusterRoleArn = std::forward<ClusterRoleArnT>(value); }
92 template<
typename ClusterRoleArnT = Aws::String>
102 template<
typename OutputS3UriT = Aws::String>
103 void SetOutputS3Uri(OutputS3UriT&& value) { m_outputS3UriHasBeenSet =
true; m_outputS3Uri = std::forward<OutputS3UriT>(value); }
104 template<
typename OutputS3UriT = Aws::String>
115 template<
typename KmsKeyIdT = Aws::String>
116 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
117 template<
typename KmsKeyIdT = Aws::String>
139 bool m_clusterIdHasBeenSet =
false;
142 bool m_databaseHasBeenSet =
false;
145 bool m_dbUserHasBeenSet =
false;
148 bool m_queryStringHasBeenSet =
false;
151 bool m_clusterRoleArnHasBeenSet =
false;
154 bool m_outputS3UriHasBeenSet =
false;
157 bool m_kmsKeyIdHasBeenSet =
false;
160 bool m_outputFormatHasBeenSet =
false;
163 bool m_outputCompressionHasBeenSet =
false;
AWS_SAGEMAKER_API RedshiftDatasetDefinition(Aws::Utils::Json::JsonView jsonValue)
bool QueryStringHasBeenSet() const
void SetDatabase(DatabaseT &&value)
void SetOutputFormat(RedshiftResultFormat value)
const Aws::String & GetOutputS3Uri() const
RedshiftDatasetDefinition & WithQueryString(QueryStringT &&value)
const Aws::String & GetKmsKeyId() const
const Aws::String & GetDatabase() const
AWS_SAGEMAKER_API RedshiftDatasetDefinition()=default
bool ClusterIdHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
const Aws::String & GetClusterRoleArn() const
void SetClusterId(ClusterIdT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftDatasetDefinition & WithDatabase(DatabaseT &&value)
bool DbUserHasBeenSet() const
RedshiftDatasetDefinition & WithClusterRoleArn(ClusterRoleArnT &&value)
bool DatabaseHasBeenSet() const
AWS_SAGEMAKER_API RedshiftDatasetDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftDatasetDefinition & WithKmsKeyId(KmsKeyIdT &&value)
void SetQueryString(QueryStringT &&value)
const Aws::String & GetQueryString() const
RedshiftDatasetDefinition & WithDbUser(DbUserT &&value)
RedshiftResultFormat GetOutputFormat() const
void SetClusterRoleArn(ClusterRoleArnT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
bool OutputS3UriHasBeenSet() const
void SetDbUser(DbUserT &&value)
RedshiftResultCompressionType GetOutputCompression() const
RedshiftDatasetDefinition & WithOutputS3Uri(OutputS3UriT &&value)
bool OutputFormatHasBeenSet() const
bool OutputCompressionHasBeenSet() const
const Aws::String & GetClusterId() const
const Aws::String & GetDbUser() const
RedshiftDatasetDefinition & WithClusterId(ClusterIdT &&value)
RedshiftDatasetDefinition & WithOutputFormat(RedshiftResultFormat value)
RedshiftDatasetDefinition & WithOutputCompression(RedshiftResultCompressionType value)
void SetOutputCompression(RedshiftResultCompressionType value)
bool ClusterRoleArnHasBeenSet() const
void SetOutputS3Uri(OutputS3UriT &&value)
RedshiftResultCompressionType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue