AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
AudienceGenerationJobDataSource.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/cleanroomsml/model/S3ConfigMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cleanroomsml/model/ProtectedQuerySQLParameters.h>
11#include <aws/cleanroomsml/model/ComputeConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CleanRoomsML
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CLEANROOMSML_API AudienceGenerationJobDataSource() = default;
41 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const S3ConfigMap& GetDataSource() const { return m_dataSource; }
52 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
53 template<typename DataSourceT = S3ConfigMap>
54 void SetDataSource(DataSourceT&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::forward<DataSourceT>(value); }
55 template<typename DataSourceT = S3ConfigMap>
56 AudienceGenerationJobDataSource& WithDataSource(DataSourceT&& value) { SetDataSource(std::forward<DataSourceT>(value)); return *this;}
58
60
64 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
65 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
66 template<typename RoleArnT = Aws::String>
67 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
68 template<typename RoleArnT = Aws::String>
69 AudienceGenerationJobDataSource& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
71
73
76 inline const ProtectedQuerySQLParameters& GetSqlParameters() const { return m_sqlParameters; }
77 inline bool SqlParametersHasBeenSet() const { return m_sqlParametersHasBeenSet; }
78 template<typename SqlParametersT = ProtectedQuerySQLParameters>
79 void SetSqlParameters(SqlParametersT&& value) { m_sqlParametersHasBeenSet = true; m_sqlParameters = std::forward<SqlParametersT>(value); }
80 template<typename SqlParametersT = ProtectedQuerySQLParameters>
81 AudienceGenerationJobDataSource& WithSqlParameters(SqlParametersT&& value) { SetSqlParameters(std::forward<SqlParametersT>(value)); return *this;}
83
85
86 inline const ComputeConfiguration& GetSqlComputeConfiguration() const { return m_sqlComputeConfiguration; }
87 inline bool SqlComputeConfigurationHasBeenSet() const { return m_sqlComputeConfigurationHasBeenSet; }
88 template<typename SqlComputeConfigurationT = ComputeConfiguration>
89 void SetSqlComputeConfiguration(SqlComputeConfigurationT&& value) { m_sqlComputeConfigurationHasBeenSet = true; m_sqlComputeConfiguration = std::forward<SqlComputeConfigurationT>(value); }
90 template<typename SqlComputeConfigurationT = ComputeConfiguration>
91 AudienceGenerationJobDataSource& WithSqlComputeConfiguration(SqlComputeConfigurationT&& value) { SetSqlComputeConfiguration(std::forward<SqlComputeConfigurationT>(value)); return *this;}
93 private:
94
95 S3ConfigMap m_dataSource;
96 bool m_dataSourceHasBeenSet = false;
97
98 Aws::String m_roleArn;
99 bool m_roleArnHasBeenSet = false;
100
101 ProtectedQuerySQLParameters m_sqlParameters;
102 bool m_sqlParametersHasBeenSet = false;
103
104 ComputeConfiguration m_sqlComputeConfiguration;
105 bool m_sqlComputeConfigurationHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace CleanRoomsML
110} // namespace Aws
AWS_CLEANROOMSML_API AudienceGenerationJobDataSource(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMSML_API AudienceGenerationJobDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AudienceGenerationJobDataSource & WithSqlComputeConfiguration(SqlComputeConfigurationT &&value)
AudienceGenerationJobDataSource & WithSqlParameters(SqlParametersT &&value)
AWS_CLEANROOMSML_API AudienceGenerationJobDataSource()=default
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
AudienceGenerationJobDataSource & WithDataSource(DataSourceT &&value)
AudienceGenerationJobDataSource & WithRoleArn(RoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue