1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/databrew/GlueDataBrew_EXPORTS.h> 8 #include <aws/databrew/model/S3Location.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 namespace Utils 14 { 15 namespace Json 16 { 17 class JsonValue; 18 class JsonView; 19 } // namespace Json 20 } // namespace Utils 21 namespace GlueDataBrew 22 { 23 namespace Model 24 { 25 26 /** 27 * <p>Represents options that specify how and where DataBrew writes the Amazon S3 28 * output generated by recipe jobs.</p><p><h3>See Also:</h3> <a 29 * href="http://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/S3TableOutputOptions">AWS 30 * API Reference</a></p> 31 */ 32 class AWS_GLUEDATABREW_API S3TableOutputOptions 33 { 34 public: 35 S3TableOutputOptions(); 36 S3TableOutputOptions(Aws::Utils::Json::JsonView jsonValue); 37 S3TableOutputOptions& operator=(Aws::Utils::Json::JsonView jsonValue); 38 Aws::Utils::Json::JsonValue Jsonize() const; 39 40 41 /** 42 * <p>Represents an Amazon S3 location (bucket name and object key) where DataBrew 43 * can write output from a job.</p> 44 */ GetLocation()45 inline const S3Location& GetLocation() const{ return m_location; } 46 47 /** 48 * <p>Represents an Amazon S3 location (bucket name and object key) where DataBrew 49 * can write output from a job.</p> 50 */ LocationHasBeenSet()51 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; } 52 53 /** 54 * <p>Represents an Amazon S3 location (bucket name and object key) where DataBrew 55 * can write output from a job.</p> 56 */ SetLocation(const S3Location & value)57 inline void SetLocation(const S3Location& value) { m_locationHasBeenSet = true; m_location = value; } 58 59 /** 60 * <p>Represents an Amazon S3 location (bucket name and object key) where DataBrew 61 * can write output from a job.</p> 62 */ SetLocation(S3Location && value)63 inline void SetLocation(S3Location&& value) { m_locationHasBeenSet = true; m_location = std::move(value); } 64 65 /** 66 * <p>Represents an Amazon S3 location (bucket name and object key) where DataBrew 67 * can write output from a job.</p> 68 */ WithLocation(const S3Location & value)69 inline S3TableOutputOptions& WithLocation(const S3Location& value) { SetLocation(value); return *this;} 70 71 /** 72 * <p>Represents an Amazon S3 location (bucket name and object key) where DataBrew 73 * can write output from a job.</p> 74 */ WithLocation(S3Location && value)75 inline S3TableOutputOptions& WithLocation(S3Location&& value) { SetLocation(std::move(value)); return *this;} 76 77 private: 78 79 S3Location m_location; 80 bool m_locationHasBeenSet; 81 }; 82 83 } // namespace Model 84 } // namespace GlueDataBrew 85 } // namespace Aws 86