AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StartProtectedQueryRequest.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/CleanRoomsRequest.h>
9#include <aws/cleanrooms/model/ProtectedQueryType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/cleanrooms/model/ProtectedQuerySQLParameters.h>
12#include <aws/cleanrooms/model/ProtectedQueryResultConfiguration.h>
13#include <aws/cleanrooms/model/ComputeConfiguration.h>
14#include <utility>
15
16namespace Aws
17{
18namespace CleanRooms
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_CLEANROOMS_API StartProtectedQueryRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "StartProtectedQuery"; }
35
36 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
37
38
40
43 inline ProtectedQueryType GetType() const { return m_type; }
44 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
45 inline void SetType(ProtectedQueryType value) { m_typeHasBeenSet = true; m_type = value; }
46 inline StartProtectedQueryRequest& WithType(ProtectedQueryType value) { SetType(value); return *this;}
48
50
54 inline const Aws::String& GetMembershipIdentifier() const { return m_membershipIdentifier; }
55 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
56 template<typename MembershipIdentifierT = Aws::String>
57 void SetMembershipIdentifier(MembershipIdentifierT&& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = std::forward<MembershipIdentifierT>(value); }
58 template<typename MembershipIdentifierT = Aws::String>
59 StartProtectedQueryRequest& WithMembershipIdentifier(MembershipIdentifierT&& value) { SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value)); return *this;}
61
63
66 inline const ProtectedQuerySQLParameters& GetSqlParameters() const { return m_sqlParameters; }
67 inline bool SqlParametersHasBeenSet() const { return m_sqlParametersHasBeenSet; }
68 template<typename SqlParametersT = ProtectedQuerySQLParameters>
69 void SetSqlParameters(SqlParametersT&& value) { m_sqlParametersHasBeenSet = true; m_sqlParameters = std::forward<SqlParametersT>(value); }
70 template<typename SqlParametersT = ProtectedQuerySQLParameters>
71 StartProtectedQueryRequest& WithSqlParameters(SqlParametersT&& value) { SetSqlParameters(std::forward<SqlParametersT>(value)); return *this;}
73
75
78 inline const ProtectedQueryResultConfiguration& GetResultConfiguration() const { return m_resultConfiguration; }
79 inline bool ResultConfigurationHasBeenSet() const { return m_resultConfigurationHasBeenSet; }
80 template<typename ResultConfigurationT = ProtectedQueryResultConfiguration>
81 void SetResultConfiguration(ResultConfigurationT&& value) { m_resultConfigurationHasBeenSet = true; m_resultConfiguration = std::forward<ResultConfigurationT>(value); }
82 template<typename ResultConfigurationT = ProtectedQueryResultConfiguration>
83 StartProtectedQueryRequest& WithResultConfiguration(ResultConfigurationT&& value) { SetResultConfiguration(std::forward<ResultConfigurationT>(value)); return *this;}
85
87
90 inline const ComputeConfiguration& GetComputeConfiguration() const { return m_computeConfiguration; }
91 inline bool ComputeConfigurationHasBeenSet() const { return m_computeConfigurationHasBeenSet; }
92 template<typename ComputeConfigurationT = ComputeConfiguration>
93 void SetComputeConfiguration(ComputeConfigurationT&& value) { m_computeConfigurationHasBeenSet = true; m_computeConfiguration = std::forward<ComputeConfigurationT>(value); }
94 template<typename ComputeConfigurationT = ComputeConfiguration>
95 StartProtectedQueryRequest& WithComputeConfiguration(ComputeConfigurationT&& value) { SetComputeConfiguration(std::forward<ComputeConfigurationT>(value)); return *this;}
97 private:
98
100 bool m_typeHasBeenSet = false;
101
102 Aws::String m_membershipIdentifier;
103 bool m_membershipIdentifierHasBeenSet = false;
104
105 ProtectedQuerySQLParameters m_sqlParameters;
106 bool m_sqlParametersHasBeenSet = false;
107
108 ProtectedQueryResultConfiguration m_resultConfiguration;
109 bool m_resultConfigurationHasBeenSet = false;
110
111 ComputeConfiguration m_computeConfiguration;
112 bool m_computeConfigurationHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace CleanRooms
117} // namespace Aws
StartProtectedQueryRequest & WithComputeConfiguration(ComputeConfigurationT &&value)
const ProtectedQuerySQLParameters & GetSqlParameters() const
virtual const char * GetServiceRequestName() const override
const ComputeConfiguration & GetComputeConfiguration() const
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