AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
StartProtectedQueryRequest.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRoomsRequest.h>
8#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
9#include <aws/cleanrooms/model/ComputeConfiguration.h>
10#include <aws/cleanrooms/model/ProtectedQueryResultConfiguration.h>
11#include <aws/cleanrooms/model/ProtectedQuerySQLParameters.h>
12#include <aws/cleanrooms/model/ProtectedQueryType.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14
15#include <utility>
16
17namespace Aws {
18namespace CleanRooms {
19namespace Model {
20
24 public:
25 AWS_CLEANROOMS_API StartProtectedQueryRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "StartProtectedQuery"; }
32
33 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
34
36
39 inline ProtectedQueryType GetType() const { return m_type; }
40 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
41 inline void SetType(ProtectedQueryType value) {
42 m_typeHasBeenSet = true;
43 m_type = value;
44 }
46 SetType(value);
47 return *this;
48 }
50
52
56 inline const Aws::String& GetMembershipIdentifier() const { return m_membershipIdentifier; }
57 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
58 template <typename MembershipIdentifierT = Aws::String>
59 void SetMembershipIdentifier(MembershipIdentifierT&& value) {
60 m_membershipIdentifierHasBeenSet = true;
61 m_membershipIdentifier = std::forward<MembershipIdentifierT>(value);
62 }
63 template <typename MembershipIdentifierT = Aws::String>
64 StartProtectedQueryRequest& WithMembershipIdentifier(MembershipIdentifierT&& value) {
65 SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value));
66 return *this;
67 }
69
71
74 inline const ProtectedQuerySQLParameters& GetSqlParameters() const { return m_sqlParameters; }
75 inline bool SqlParametersHasBeenSet() const { return m_sqlParametersHasBeenSet; }
76 template <typename SqlParametersT = ProtectedQuerySQLParameters>
77 void SetSqlParameters(SqlParametersT&& value) {
78 m_sqlParametersHasBeenSet = true;
79 m_sqlParameters = std::forward<SqlParametersT>(value);
80 }
81 template <typename SqlParametersT = ProtectedQuerySQLParameters>
83 SetSqlParameters(std::forward<SqlParametersT>(value));
84 return *this;
85 }
87
89
92 inline const ProtectedQueryResultConfiguration& GetResultConfiguration() const { return m_resultConfiguration; }
93 inline bool ResultConfigurationHasBeenSet() const { return m_resultConfigurationHasBeenSet; }
94 template <typename ResultConfigurationT = ProtectedQueryResultConfiguration>
95 void SetResultConfiguration(ResultConfigurationT&& value) {
96 m_resultConfigurationHasBeenSet = true;
97 m_resultConfiguration = std::forward<ResultConfigurationT>(value);
98 }
99 template <typename ResultConfigurationT = ProtectedQueryResultConfiguration>
101 SetResultConfiguration(std::forward<ResultConfigurationT>(value));
102 return *this;
103 }
105
107
110 inline const ComputeConfiguration& GetComputeConfiguration() const { return m_computeConfiguration; }
111 inline bool ComputeConfigurationHasBeenSet() const { return m_computeConfigurationHasBeenSet; }
112 template <typename ComputeConfigurationT = ComputeConfiguration>
113 void SetComputeConfiguration(ComputeConfigurationT&& value) {
114 m_computeConfigurationHasBeenSet = true;
115 m_computeConfiguration = std::forward<ComputeConfigurationT>(value);
116 }
117 template <typename ComputeConfigurationT = ComputeConfiguration>
118 StartProtectedQueryRequest& WithComputeConfiguration(ComputeConfigurationT&& value) {
119 SetComputeConfiguration(std::forward<ComputeConfigurationT>(value));
120 return *this;
121 }
123 private:
125 bool m_typeHasBeenSet = false;
126
127 Aws::String m_membershipIdentifier;
128 bool m_membershipIdentifierHasBeenSet = false;
129
130 ProtectedQuerySQLParameters m_sqlParameters;
131 bool m_sqlParametersHasBeenSet = false;
132
133 ProtectedQueryResultConfiguration m_resultConfiguration;
134 bool m_resultConfigurationHasBeenSet = false;
135
136 ComputeConfiguration m_computeConfiguration;
137 bool m_computeConfigurationHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace CleanRooms
142} // namespace Aws
StartProtectedQueryRequest & WithComputeConfiguration(ComputeConfigurationT &&value)
const ProtectedQuerySQLParameters & GetSqlParameters() const
virtual const char * GetServiceRequestName() const override
StartProtectedQueryRequest & WithResultConfiguration(ResultConfigurationT &&value)
StartProtectedQueryRequest & WithType(ProtectedQueryType value)
StartProtectedQueryRequest & WithSqlParameters(SqlParametersT &&value)
StartProtectedQueryRequest & WithMembershipIdentifier(MembershipIdentifierT &&value)
AWS_CLEANROOMS_API StartProtectedQueryRequest()=default
const ProtectedQueryResultConfiguration & GetResultConfiguration() const
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String