/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the configuration to write the query results to S3.See
* Also:
AWS
* API Reference
Intended file format of the result.
*/ inline const ResultFormat& GetResultFormat() const{ return m_resultFormat; } /** *Intended file format of the result.
*/ inline bool ResultFormatHasBeenSet() const { return m_resultFormatHasBeenSet; } /** *Intended file format of the result.
*/ inline void SetResultFormat(const ResultFormat& value) { m_resultFormatHasBeenSet = true; m_resultFormat = value; } /** *Intended file format of the result.
*/ inline void SetResultFormat(ResultFormat&& value) { m_resultFormatHasBeenSet = true; m_resultFormat = std::move(value); } /** *Intended file format of the result.
*/ inline ProtectedQueryS3OutputConfiguration& WithResultFormat(const ResultFormat& value) { SetResultFormat(value); return *this;} /** *Intended file format of the result.
*/ inline ProtectedQueryS3OutputConfiguration& WithResultFormat(ResultFormat&& value) { SetResultFormat(std::move(value)); return *this;} /** *The S3 bucket to unload the protected query results.
*/ inline const Aws::String& GetBucket() const{ return m_bucket; } /** *The S3 bucket to unload the protected query results.
*/ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** *The S3 bucket to unload the protected query results.
*/ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** *The S3 bucket to unload the protected query results.
*/ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** *The S3 bucket to unload the protected query results.
*/ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** *The S3 bucket to unload the protected query results.
*/ inline ProtectedQueryS3OutputConfiguration& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** *The S3 bucket to unload the protected query results.
*/ inline ProtectedQueryS3OutputConfiguration& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** *The S3 bucket to unload the protected query results.
*/ inline ProtectedQueryS3OutputConfiguration& WithBucket(const char* value) { SetBucket(value); return *this;} /** *The S3 prefix to unload the protected query results.
*/ inline const Aws::String& GetKeyPrefix() const{ return m_keyPrefix; } /** *The S3 prefix to unload the protected query results.
*/ inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; } /** *The S3 prefix to unload the protected query results.
*/ inline void SetKeyPrefix(const Aws::String& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = value; } /** *The S3 prefix to unload the protected query results.
*/ inline void SetKeyPrefix(Aws::String&& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::move(value); } /** *The S3 prefix to unload the protected query results.
*/ inline void SetKeyPrefix(const char* value) { m_keyPrefixHasBeenSet = true; m_keyPrefix.assign(value); } /** *The S3 prefix to unload the protected query results.
*/ inline ProtectedQueryS3OutputConfiguration& WithKeyPrefix(const Aws::String& value) { SetKeyPrefix(value); return *this;} /** *The S3 prefix to unload the protected query results.
*/ inline ProtectedQueryS3OutputConfiguration& WithKeyPrefix(Aws::String&& value) { SetKeyPrefix(std::move(value)); return *this;} /** *The S3 prefix to unload the protected query results.
*/ inline ProtectedQueryS3OutputConfiguration& WithKeyPrefix(const char* value) { SetKeyPrefix(value); return *this;} private: ResultFormat m_resultFormat; bool m_resultFormatHasBeenSet = false; Aws::String m_bucket; bool m_bucketHasBeenSet = false; Aws::String m_keyPrefix; bool m_keyPrefixHasBeenSet = false; }; } // namespace Model } // namespace CleanRooms } // namespace Aws