AWS SDK for C++

AWS SDK for C++ Version 1.11.937

Loading...
Searching...
No Matches
AudienceGenerationJobDataSource.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/cleanroomsml/model/ComputeConfiguration.h>
9#include <aws/cleanroomsml/model/ProtectedQuerySQLParameters.h>
10#include <aws/cleanroomsml/model/S3ConfigMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CleanRoomsML {
23namespace Model {
24
32 public:
33 AWS_CLEANROOMSML_API AudienceGenerationJobDataSource() = default;
36 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
45 inline const S3ConfigMap& GetDataSource() const { return m_dataSource; }
46 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
47 template <typename DataSourceT = S3ConfigMap>
48 void SetDataSource(DataSourceT&& value) {
49 m_dataSourceHasBeenSet = true;
50 m_dataSource = std::forward<DataSourceT>(value);
51 }
52 template <typename DataSourceT = S3ConfigMap>
54 SetDataSource(std::forward<DataSourceT>(value));
55 return *this;
56 }
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) {
68 m_roleArnHasBeenSet = true;
69 m_roleArn = std::forward<RoleArnT>(value);
70 }
71 template <typename RoleArnT = Aws::String>
73 SetRoleArn(std::forward<RoleArnT>(value));
74 return *this;
75 }
77
79
82 inline const ProtectedQuerySQLParameters& GetSqlParameters() const { return m_sqlParameters; }
83 inline bool SqlParametersHasBeenSet() const { return m_sqlParametersHasBeenSet; }
84 template <typename SqlParametersT = ProtectedQuerySQLParameters>
85 void SetSqlParameters(SqlParametersT&& value) {
86 m_sqlParametersHasBeenSet = true;
87 m_sqlParameters = std::forward<SqlParametersT>(value);
88 }
89 template <typename SqlParametersT = ProtectedQuerySQLParameters>
91 SetSqlParameters(std::forward<SqlParametersT>(value));
92 return *this;
93 }
95
97
98 inline const ComputeConfiguration& GetSqlComputeConfiguration() const { return m_sqlComputeConfiguration; }
99 inline bool SqlComputeConfigurationHasBeenSet() const { return m_sqlComputeConfigurationHasBeenSet; }
100 template <typename SqlComputeConfigurationT = ComputeConfiguration>
101 void SetSqlComputeConfiguration(SqlComputeConfigurationT&& value) {
102 m_sqlComputeConfigurationHasBeenSet = true;
103 m_sqlComputeConfiguration = std::forward<SqlComputeConfigurationT>(value);
104 }
105 template <typename SqlComputeConfigurationT = ComputeConfiguration>
107 SetSqlComputeConfiguration(std::forward<SqlComputeConfigurationT>(value));
108 return *this;
109 }
111 private:
112 S3ConfigMap m_dataSource;
113
114 Aws::String m_roleArn;
115
116 ProtectedQuerySQLParameters m_sqlParameters;
117
118 ComputeConfiguration m_sqlComputeConfiguration;
119 bool m_dataSourceHasBeenSet = false;
120 bool m_roleArnHasBeenSet = false;
121 bool m_sqlParametersHasBeenSet = false;
122 bool m_sqlComputeConfigurationHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace CleanRoomsML
127} // 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