AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
49 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
50 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
51 inline AthenaSourceConfig& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
52 inline AthenaSourceConfig& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
53 inline AthenaSourceConfig& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
55
57
60 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
61 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
62 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
63 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
64 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
65 inline AthenaSourceConfig& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
66 inline AthenaSourceConfig& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
67 inline AthenaSourceConfig& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
69
71
74 inline const Aws::String& GetDataCatalog() const{ return m_dataCatalog; }
75 inline bool DataCatalogHasBeenSet() const { return m_dataCatalogHasBeenSet; }
76 inline void SetDataCatalog(const Aws::String& value) { m_dataCatalogHasBeenSet = true; m_dataCatalog = value; }
77 inline void SetDataCatalog(Aws::String&& value) { m_dataCatalogHasBeenSet = true; m_dataCatalog = std::move(value); }
78 inline void SetDataCatalog(const char* value) { m_dataCatalogHasBeenSet = true; m_dataCatalog.assign(value); }
79 inline AthenaSourceConfig& WithDataCatalog(const Aws::String& value) { SetDataCatalog(value); return *this;}
80 inline AthenaSourceConfig& WithDataCatalog(Aws::String&& value) { SetDataCatalog(std::move(value)); return *this;}
81 inline AthenaSourceConfig& WithDataCatalog(const char* value) { SetDataCatalog(value); return *this;}
83
85
88 inline const Aws::String& GetTableName() const{ return m_tableName; }
89 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
90 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
91 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
92 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
93 inline AthenaSourceConfig& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
94 inline AthenaSourceConfig& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
95 inline AthenaSourceConfig& WithTableName(const char* value) { SetTableName(value); return *this;}
97
99
102 inline const Aws::String& GetWorkGroupName() const{ return m_workGroupName; }
103 inline bool WorkGroupNameHasBeenSet() const { return m_workGroupNameHasBeenSet; }
104 inline void SetWorkGroupName(const Aws::String& value) { m_workGroupNameHasBeenSet = true; m_workGroupName = value; }
105 inline void SetWorkGroupName(Aws::String&& value) { m_workGroupNameHasBeenSet = true; m_workGroupName = std::move(value); }
106 inline void SetWorkGroupName(const char* value) { m_workGroupNameHasBeenSet = true; m_workGroupName.assign(value); }
107 inline AthenaSourceConfig& WithWorkGroupName(const Aws::String& value) { SetWorkGroupName(value); return *this;}
108 inline AthenaSourceConfig& WithWorkGroupName(Aws::String&& value) { SetWorkGroupName(std::move(value)); return *this;}
109 inline AthenaSourceConfig& WithWorkGroupName(const char* value) { SetWorkGroupName(value); return *this;}
111
113
116 inline const Aws::String& GetS3ResultsPath() const{ return m_s3ResultsPath; }
117 inline bool S3ResultsPathHasBeenSet() const { return m_s3ResultsPathHasBeenSet; }
118 inline void SetS3ResultsPath(const Aws::String& value) { m_s3ResultsPathHasBeenSet = true; m_s3ResultsPath = value; }
119 inline void SetS3ResultsPath(Aws::String&& value) { m_s3ResultsPathHasBeenSet = true; m_s3ResultsPath = std::move(value); }
120 inline void SetS3ResultsPath(const char* value) { m_s3ResultsPathHasBeenSet = true; m_s3ResultsPath.assign(value); }
121 inline AthenaSourceConfig& WithS3ResultsPath(const Aws::String& value) { SetS3ResultsPath(value); return *this;}
122 inline AthenaSourceConfig& WithS3ResultsPath(Aws::String&& value) { SetS3ResultsPath(std::move(value)); return *this;}
123 inline AthenaSourceConfig& WithS3ResultsPath(const char* value) { SetS3ResultsPath(value); return *this;}
125
127
130 inline const BackTestConfiguration& GetBackTestConfiguration() const{ return m_backTestConfiguration; }
131 inline bool BackTestConfigurationHasBeenSet() const { return m_backTestConfigurationHasBeenSet; }
132 inline void SetBackTestConfiguration(const BackTestConfiguration& value) { m_backTestConfigurationHasBeenSet = true; m_backTestConfiguration = value; }
133 inline void SetBackTestConfiguration(BackTestConfiguration&& value) { m_backTestConfigurationHasBeenSet = true; m_backTestConfiguration = std::move(value); }
137 private:
138
139 Aws::String m_roleArn;
140 bool m_roleArnHasBeenSet = false;
141
142 Aws::String m_databaseName;
143 bool m_databaseNameHasBeenSet = false;
144
145 Aws::String m_dataCatalog;
146 bool m_dataCatalogHasBeenSet = false;
147
148 Aws::String m_tableName;
149 bool m_tableNameHasBeenSet = false;
150
151 Aws::String m_workGroupName;
152 bool m_workGroupNameHasBeenSet = false;
153
154 Aws::String m_s3ResultsPath;
155 bool m_s3ResultsPathHasBeenSet = false;
156
157 BackTestConfiguration m_backTestConfiguration;
158 bool m_backTestConfigurationHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace LookoutMetrics
163} // namespace Aws
AthenaSourceConfig & WithWorkGroupName(Aws::String &&value)
AthenaSourceConfig & WithRoleArn(const Aws::String &value)
AthenaSourceConfig & WithDataCatalog(const char *value)
AthenaSourceConfig & WithDatabaseName(const Aws::String &value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
AthenaSourceConfig & WithBackTestConfiguration(const BackTestConfiguration &value)
AthenaSourceConfig & WithRoleArn(const char *value)
void SetBackTestConfiguration(BackTestConfiguration &&value)
AthenaSourceConfig & WithDatabaseName(const char *value)
void SetBackTestConfiguration(const BackTestConfiguration &value)
AWS_LOOKOUTMETRICS_API AthenaSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AthenaSourceConfig & WithWorkGroupName(const char *value)
const BackTestConfiguration & GetBackTestConfiguration() const
AthenaSourceConfig & WithS3ResultsPath(const char *value)
AthenaSourceConfig & WithWorkGroupName(const Aws::String &value)
AthenaSourceConfig & WithTableName(const Aws::String &value)
AthenaSourceConfig & WithBackTestConfiguration(BackTestConfiguration &&value)
AthenaSourceConfig & WithS3ResultsPath(Aws::String &&value)
AthenaSourceConfig & WithS3ResultsPath(const Aws::String &value)
AthenaSourceConfig & WithTableName(const char *value)
AthenaSourceConfig & WithDataCatalog(const Aws::String &value)
AthenaSourceConfig & WithRoleArn(Aws::String &&value)
AWS_LOOKOUTMETRICS_API AthenaSourceConfig(Aws::Utils::Json::JsonView jsonValue)
AthenaSourceConfig & WithTableName(Aws::String &&value)
AthenaSourceConfig & WithDataCatalog(Aws::String &&value)
AthenaSourceConfig & WithDatabaseName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue