AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CleanRoomsML
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CLEANROOMSML_API AudienceGenerationJobDataSource();
40 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const S3ConfigMap& GetDataSource() const{ return m_dataSource; }
51 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
52 inline void SetDataSource(const S3ConfigMap& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
53 inline void SetDataSource(S3ConfigMap&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
54 inline AudienceGenerationJobDataSource& WithDataSource(const S3ConfigMap& value) { SetDataSource(value); return *this;}
55 inline AudienceGenerationJobDataSource& WithDataSource(S3ConfigMap&& value) { SetDataSource(std::move(value)); return *this;}
57
59
63 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
64 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
65 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
66 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
67 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
68 inline AudienceGenerationJobDataSource& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
69 inline AudienceGenerationJobDataSource& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
70 inline AudienceGenerationJobDataSource& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
72
74
77 inline const ProtectedQuerySQLParameters& GetSqlParameters() const{ return m_sqlParameters; }
78 inline bool SqlParametersHasBeenSet() const { return m_sqlParametersHasBeenSet; }
79 inline void SetSqlParameters(const ProtectedQuerySQLParameters& value) { m_sqlParametersHasBeenSet = true; m_sqlParameters = value; }
80 inline void SetSqlParameters(ProtectedQuerySQLParameters&& value) { m_sqlParametersHasBeenSet = true; m_sqlParameters = std::move(value); }
84 private:
85
86 S3ConfigMap m_dataSource;
87 bool m_dataSourceHasBeenSet = false;
88
89 Aws::String m_roleArn;
90 bool m_roleArnHasBeenSet = false;
91
92 ProtectedQuerySQLParameters m_sqlParameters;
93 bool m_sqlParametersHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace CleanRoomsML
98} // namespace Aws
AudienceGenerationJobDataSource & WithRoleArn(const Aws::String &value)
AudienceGenerationJobDataSource & WithSqlParameters(ProtectedQuerySQLParameters &&value)
AWS_CLEANROOMSML_API AudienceGenerationJobDataSource(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMSML_API AudienceGenerationJobDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AudienceGenerationJobDataSource & WithDataSource(S3ConfigMap &&value)
AudienceGenerationJobDataSource & WithSqlParameters(const ProtectedQuerySQLParameters &value)
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
AudienceGenerationJobDataSource & WithRoleArn(const char *value)
AudienceGenerationJobDataSource & WithDataSource(const S3ConfigMap &value)
void SetSqlParameters(const ProtectedQuerySQLParameters &value)
AudienceGenerationJobDataSource & WithRoleArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue