This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-quicksight/include/aws/quicksight/model/RelationalTable.h

232 lines
7.1 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/quicksight/QuickSight_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/quicksight/model/InputColumn.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace QuickSight
{
namespace Model
{
/**
* <p>A physical table type for relational data sources.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RelationalTable">AWS
* API Reference</a></p>
*/
class AWS_QUICKSIGHT_API RelationalTable
{
public:
RelationalTable();
RelationalTable(Aws::Utils::Json::JsonView jsonValue);
RelationalTable& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon Resource Name (ARN) for the data source.</p>
*/
inline const Aws::String& GetDataSourceArn() const{ return m_dataSourceArn; }
/**
* <p>The Amazon Resource Name (ARN) for the data source.</p>
*/
inline bool DataSourceArnHasBeenSet() const { return m_dataSourceArnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) for the data source.</p>
*/
inline void SetDataSourceArn(const Aws::String& value) { m_dataSourceArnHasBeenSet = true; m_dataSourceArn = value; }
/**
* <p>The Amazon Resource Name (ARN) for the data source.</p>
*/
inline void SetDataSourceArn(Aws::String&& value) { m_dataSourceArnHasBeenSet = true; m_dataSourceArn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) for the data source.</p>
*/
inline void SetDataSourceArn(const char* value) { m_dataSourceArnHasBeenSet = true; m_dataSourceArn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) for the data source.</p>
*/
inline RelationalTable& WithDataSourceArn(const Aws::String& value) { SetDataSourceArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) for the data source.</p>
*/
inline RelationalTable& WithDataSourceArn(Aws::String&& value) { SetDataSourceArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) for the data source.</p>
*/
inline RelationalTable& WithDataSourceArn(const char* value) { SetDataSourceArn(value); return *this;}
/**
* <p>The schema name. This name applies to certain relational database
* engines.</p>
*/
inline const Aws::String& GetSchema() const{ return m_schema; }
/**
* <p>The schema name. This name applies to certain relational database
* engines.</p>
*/
inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
/**
* <p>The schema name. This name applies to certain relational database
* engines.</p>
*/
inline void SetSchema(const Aws::String& value) { m_schemaHasBeenSet = true; m_schema = value; }
/**
* <p>The schema name. This name applies to certain relational database
* engines.</p>
*/
inline void SetSchema(Aws::String&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); }
/**
* <p>The schema name. This name applies to certain relational database
* engines.</p>
*/
inline void SetSchema(const char* value) { m_schemaHasBeenSet = true; m_schema.assign(value); }
/**
* <p>The schema name. This name applies to certain relational database
* engines.</p>
*/
inline RelationalTable& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
/**
* <p>The schema name. This name applies to certain relational database
* engines.</p>
*/
inline RelationalTable& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;}
/**
* <p>The schema name. This name applies to certain relational database
* engines.</p>
*/
inline RelationalTable& WithSchema(const char* value) { SetSchema(value); return *this;}
/**
* <p>The name of the relational table.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the relational table.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the relational table.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the relational table.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the relational table.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the relational table.</p>
*/
inline RelationalTable& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the relational table.</p>
*/
inline RelationalTable& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the relational table.</p>
*/
inline RelationalTable& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The column schema of the table.</p>
*/
inline const Aws::Vector<InputColumn>& GetInputColumns() const{ return m_inputColumns; }
/**
* <p>The column schema of the table.</p>
*/
inline bool InputColumnsHasBeenSet() const { return m_inputColumnsHasBeenSet; }
/**
* <p>The column schema of the table.</p>
*/
inline void SetInputColumns(const Aws::Vector<InputColumn>& value) { m_inputColumnsHasBeenSet = true; m_inputColumns = value; }
/**
* <p>The column schema of the table.</p>
*/
inline void SetInputColumns(Aws::Vector<InputColumn>&& value) { m_inputColumnsHasBeenSet = true; m_inputColumns = std::move(value); }
/**
* <p>The column schema of the table.</p>
*/
inline RelationalTable& WithInputColumns(const Aws::Vector<InputColumn>& value) { SetInputColumns(value); return *this;}
/**
* <p>The column schema of the table.</p>
*/
inline RelationalTable& WithInputColumns(Aws::Vector<InputColumn>&& value) { SetInputColumns(std::move(value)); return *this;}
/**
* <p>The column schema of the table.</p>
*/
inline RelationalTable& AddInputColumns(const InputColumn& value) { m_inputColumnsHasBeenSet = true; m_inputColumns.push_back(value); return *this; }
/**
* <p>The column schema of the table.</p>
*/
inline RelationalTable& AddInputColumns(InputColumn&& value) { m_inputColumnsHasBeenSet = true; m_inputColumns.push_back(std::move(value)); return *this; }
private:
Aws::String m_dataSourceArn;
bool m_dataSourceArnHasBeenSet;
Aws::String m_schema;
bool m_schemaHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::Vector<InputColumn> m_inputColumns;
bool m_inputColumnsHasBeenSet;
};
} // namespace Model
} // namespace QuickSight
} // namespace Aws