AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AthenaSourceConfig.h
1
6#pragma once
7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutmetrics/model/BackTestConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LookoutMetrics
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_LOOKOUTMETRICS_API AthenaSourceConfig() = default;
36 AWS_LOOKOUTMETRICS_API AthenaSourceConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LOOKOUTMETRICS_API AthenaSourceConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
47 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
48 template<typename RoleArnT = Aws::String>
49 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
50 template<typename RoleArnT = Aws::String>
51 AthenaSourceConfig& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
59 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
60 template<typename DatabaseNameT = Aws::String>
61 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
62 template<typename DatabaseNameT = Aws::String>
63 AthenaSourceConfig& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDataCatalog() const { return m_dataCatalog; }
71 inline bool DataCatalogHasBeenSet() const { return m_dataCatalogHasBeenSet; }
72 template<typename DataCatalogT = Aws::String>
73 void SetDataCatalog(DataCatalogT&& value) { m_dataCatalogHasBeenSet = true; m_dataCatalog = std::forward<DataCatalogT>(value); }
74 template<typename DataCatalogT = Aws::String>
75 AthenaSourceConfig& WithDataCatalog(DataCatalogT&& value) { SetDataCatalog(std::forward<DataCatalogT>(value)); return *this;}
77
79
82 inline const Aws::String& GetTableName() const { return m_tableName; }
83 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
84 template<typename TableNameT = Aws::String>
85 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
86 template<typename TableNameT = Aws::String>
87 AthenaSourceConfig& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
89
91
94 inline const Aws::String& GetWorkGroupName() const { return m_workGroupName; }
95 inline bool WorkGroupNameHasBeenSet() const { return m_workGroupNameHasBeenSet; }
96 template<typename WorkGroupNameT = Aws::String>
97 void SetWorkGroupName(WorkGroupNameT&& value) { m_workGroupNameHasBeenSet = true; m_workGroupName = std::forward<WorkGroupNameT>(value); }
98 template<typename WorkGroupNameT = Aws::String>
99 AthenaSourceConfig& WithWorkGroupName(WorkGroupNameT&& value) { SetWorkGroupName(std::forward<WorkGroupNameT>(value)); return *this;}
101
103
106 inline const Aws::String& GetS3ResultsPath() const { return m_s3ResultsPath; }
107 inline bool S3ResultsPathHasBeenSet() const { return m_s3ResultsPathHasBeenSet; }
108 template<typename S3ResultsPathT = Aws::String>
109 void SetS3ResultsPath(S3ResultsPathT&& value) { m_s3ResultsPathHasBeenSet = true; m_s3ResultsPath = std::forward<S3ResultsPathT>(value); }
110 template<typename S3ResultsPathT = Aws::String>
111 AthenaSourceConfig& WithS3ResultsPath(S3ResultsPathT&& value) { SetS3ResultsPath(std::forward<S3ResultsPathT>(value)); return *this;}
113
115
118 inline const BackTestConfiguration& GetBackTestConfiguration() const { return m_backTestConfiguration; }
119 inline bool BackTestConfigurationHasBeenSet() const { return m_backTestConfigurationHasBeenSet; }
120 template<typename BackTestConfigurationT = BackTestConfiguration>
121 void SetBackTestConfiguration(BackTestConfigurationT&& value) { m_backTestConfigurationHasBeenSet = true; m_backTestConfiguration = std::forward<BackTestConfigurationT>(value); }
122 template<typename BackTestConfigurationT = BackTestConfiguration>
123 AthenaSourceConfig& WithBackTestConfiguration(BackTestConfigurationT&& value) { SetBackTestConfiguration(std::forward<BackTestConfigurationT>(value)); return *this;}
125 private:
126
127 Aws::String m_roleArn;
128 bool m_roleArnHasBeenSet = false;
129
130 Aws::String m_databaseName;
131 bool m_databaseNameHasBeenSet = false;
132
133 Aws::String m_dataCatalog;
134 bool m_dataCatalogHasBeenSet = false;
135
136 Aws::String m_tableName;
137 bool m_tableNameHasBeenSet = false;
138
139 Aws::String m_workGroupName;
140 bool m_workGroupNameHasBeenSet = false;
141
142 Aws::String m_s3ResultsPath;
143 bool m_s3ResultsPathHasBeenSet = false;
144
145 BackTestConfiguration m_backTestConfiguration;
146 bool m_backTestConfigurationHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace LookoutMetrics
151} // namespace Aws
AthenaSourceConfig & WithBackTestConfiguration(BackTestConfigurationT &&value)
AthenaSourceConfig & WithTableName(TableNameT &&value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBackTestConfiguration(BackTestConfigurationT &&value)
AWS_LOOKOUTMETRICS_API AthenaSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AthenaSourceConfig & WithS3ResultsPath(S3ResultsPathT &&value)
AthenaSourceConfig & WithDatabaseName(DatabaseNameT &&value)
AthenaSourceConfig & WithDataCatalog(DataCatalogT &&value)
const BackTestConfiguration & GetBackTestConfiguration() const
AthenaSourceConfig & WithWorkGroupName(WorkGroupNameT &&value)
AWS_LOOKOUTMETRICS_API AthenaSourceConfig(Aws::Utils::Json::JsonView jsonValue)
AthenaSourceConfig & WithRoleArn(RoleArnT &&value)
AWS_LOOKOUTMETRICS_API AthenaSourceConfig()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue