/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

The location of resources.

See Also:

AWS API * Reference

*/ class Location { public: AWS_GLUE_API Location(); AWS_GLUE_API Location(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API Location& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A JDBC location.

*/ inline const Aws::Vector& GetJdbc() const{ return m_jdbc; } /** *

A JDBC location.

*/ inline bool JdbcHasBeenSet() const { return m_jdbcHasBeenSet; } /** *

A JDBC location.

*/ inline void SetJdbc(const Aws::Vector& value) { m_jdbcHasBeenSet = true; m_jdbc = value; } /** *

A JDBC location.

*/ inline void SetJdbc(Aws::Vector&& value) { m_jdbcHasBeenSet = true; m_jdbc = std::move(value); } /** *

A JDBC location.

*/ inline Location& WithJdbc(const Aws::Vector& value) { SetJdbc(value); return *this;} /** *

A JDBC location.

*/ inline Location& WithJdbc(Aws::Vector&& value) { SetJdbc(std::move(value)); return *this;} /** *

A JDBC location.

*/ inline Location& AddJdbc(const CodeGenNodeArg& value) { m_jdbcHasBeenSet = true; m_jdbc.push_back(value); return *this; } /** *

A JDBC location.

*/ inline Location& AddJdbc(CodeGenNodeArg&& value) { m_jdbcHasBeenSet = true; m_jdbc.push_back(std::move(value)); return *this; } /** *

An Amazon Simple Storage Service (Amazon S3) location.

*/ inline const Aws::Vector& GetS3() const{ return m_s3; } /** *

An Amazon Simple Storage Service (Amazon S3) location.

*/ inline bool S3HasBeenSet() const { return m_s3HasBeenSet; } /** *

An Amazon Simple Storage Service (Amazon S3) location.

*/ inline void SetS3(const Aws::Vector& value) { m_s3HasBeenSet = true; m_s3 = value; } /** *

An Amazon Simple Storage Service (Amazon S3) location.

*/ inline void SetS3(Aws::Vector&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); } /** *

An Amazon Simple Storage Service (Amazon S3) location.

*/ inline Location& WithS3(const Aws::Vector& value) { SetS3(value); return *this;} /** *

An Amazon Simple Storage Service (Amazon S3) location.

*/ inline Location& WithS3(Aws::Vector&& value) { SetS3(std::move(value)); return *this;} /** *

An Amazon Simple Storage Service (Amazon S3) location.

*/ inline Location& AddS3(const CodeGenNodeArg& value) { m_s3HasBeenSet = true; m_s3.push_back(value); return *this; } /** *

An Amazon Simple Storage Service (Amazon S3) location.

*/ inline Location& AddS3(CodeGenNodeArg&& value) { m_s3HasBeenSet = true; m_s3.push_back(std::move(value)); return *this; } /** *

An Amazon DynamoDB table location.

*/ inline const Aws::Vector& GetDynamoDB() const{ return m_dynamoDB; } /** *

An Amazon DynamoDB table location.

*/ inline bool DynamoDBHasBeenSet() const { return m_dynamoDBHasBeenSet; } /** *

An Amazon DynamoDB table location.

*/ inline void SetDynamoDB(const Aws::Vector& value) { m_dynamoDBHasBeenSet = true; m_dynamoDB = value; } /** *

An Amazon DynamoDB table location.

*/ inline void SetDynamoDB(Aws::Vector&& value) { m_dynamoDBHasBeenSet = true; m_dynamoDB = std::move(value); } /** *

An Amazon DynamoDB table location.

*/ inline Location& WithDynamoDB(const Aws::Vector& value) { SetDynamoDB(value); return *this;} /** *

An Amazon DynamoDB table location.

*/ inline Location& WithDynamoDB(Aws::Vector&& value) { SetDynamoDB(std::move(value)); return *this;} /** *

An Amazon DynamoDB table location.

*/ inline Location& AddDynamoDB(const CodeGenNodeArg& value) { m_dynamoDBHasBeenSet = true; m_dynamoDB.push_back(value); return *this; } /** *

An Amazon DynamoDB table location.

*/ inline Location& AddDynamoDB(CodeGenNodeArg&& value) { m_dynamoDBHasBeenSet = true; m_dynamoDB.push_back(std::move(value)); return *this; } private: Aws::Vector m_jdbc; bool m_jdbcHasBeenSet = false; Aws::Vector m_s3; bool m_s3HasBeenSet = false; Aws::Vector m_dynamoDB; bool m_dynamoDBHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws