AWS SDK for C++

AWS SDK for C++ Version 1.11.937

Loading...
Searching...
No Matches
ProtectedQueryInputParameters.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/ResultFormat.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CleanRoomsML {
22namespace Model {
23
31 public:
32 AWS_CLEANROOMSML_API ProtectedQueryInputParameters() = default;
35 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
39 inline const ProtectedQuerySQLParameters& GetSqlParameters() const { return m_sqlParameters; }
40 inline bool SqlParametersHasBeenSet() const { return m_sqlParametersHasBeenSet; }
41 template <typename SqlParametersT = ProtectedQuerySQLParameters>
42 void SetSqlParameters(SqlParametersT&& value) {
43 m_sqlParametersHasBeenSet = true;
44 m_sqlParameters = std::forward<SqlParametersT>(value);
45 }
46 template <typename SqlParametersT = ProtectedQuerySQLParameters>
48 SetSqlParameters(std::forward<SqlParametersT>(value));
49 return *this;
50 }
52
54
58 inline const ComputeConfiguration& GetComputeConfiguration() const { return m_computeConfiguration; }
59 inline bool ComputeConfigurationHasBeenSet() const { return m_computeConfigurationHasBeenSet; }
60 template <typename ComputeConfigurationT = ComputeConfiguration>
61 void SetComputeConfiguration(ComputeConfigurationT&& value) {
62 m_computeConfigurationHasBeenSet = true;
63 m_computeConfiguration = std::forward<ComputeConfigurationT>(value);
64 }
65 template <typename ComputeConfigurationT = ComputeConfiguration>
67 SetComputeConfiguration(std::forward<ComputeConfigurationT>(value));
68 return *this;
69 }
71
73
77 inline ResultFormat GetResultFormat() const { return m_resultFormat; }
78 inline bool ResultFormatHasBeenSet() const { return m_resultFormatHasBeenSet; }
79 inline void SetResultFormat(ResultFormat value) {
80 m_resultFormatHasBeenSet = true;
81 m_resultFormat = value;
82 }
84 SetResultFormat(value);
85 return *this;
86 }
88 private:
89 ProtectedQuerySQLParameters m_sqlParameters;
90
91 ComputeConfiguration m_computeConfiguration;
92
93 ResultFormat m_resultFormat{ResultFormat::NOT_SET};
94 bool m_sqlParametersHasBeenSet = false;
95 bool m_computeConfigurationHasBeenSet = false;
96 bool m_resultFormatHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace CleanRoomsML
101} // namespace Aws
AWS_CLEANROOMSML_API ProtectedQueryInputParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMSML_API ProtectedQueryInputParameters()=default
AWS_CLEANROOMSML_API ProtectedQueryInputParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
ProtectedQueryInputParameters & WithSqlParameters(SqlParametersT &&value)
ProtectedQueryInputParameters & WithResultFormat(ResultFormat value)
ProtectedQueryInputParameters & WithComputeConfiguration(ComputeConfigurationT &&value)
Aws::Utils::Json::JsonValue JsonValue