AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ProtectedQueryType& GetType() const{ return m_type; }
44 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
45 inline void SetType(const ProtectedQueryType& value) { m_typeHasBeenSet = true; m_type = value; }
46 inline void SetType(ProtectedQueryType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
47 inline StartProtectedQueryRequest& WithType(const ProtectedQueryType& value) { SetType(value); return *this;}
48 inline StartProtectedQueryRequest& WithType(ProtectedQueryType&& value) { SetType(std::move(value)); return *this;}
50
52
56 inline const Aws::String& GetMembershipIdentifier() const{ return m_membershipIdentifier; }
57 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
58 inline void SetMembershipIdentifier(const Aws::String& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = value; }
59 inline void SetMembershipIdentifier(Aws::String&& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = std::move(value); }
60 inline void SetMembershipIdentifier(const char* value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier.assign(value); }
63 inline StartProtectedQueryRequest& WithMembershipIdentifier(const char* value) { SetMembershipIdentifier(value); return *this;}
65
67
70 inline const ProtectedQuerySQLParameters& GetSqlParameters() const{ return m_sqlParameters; }
71 inline bool SqlParametersHasBeenSet() const { return m_sqlParametersHasBeenSet; }
72 inline void SetSqlParameters(const ProtectedQuerySQLParameters& value) { m_sqlParametersHasBeenSet = true; m_sqlParameters = value; }
73 inline void SetSqlParameters(ProtectedQuerySQLParameters&& value) { m_sqlParametersHasBeenSet = true; m_sqlParameters = std::move(value); }
77
79
82 inline const ProtectedQueryResultConfiguration& GetResultConfiguration() const{ return m_resultConfiguration; }
83 inline bool ResultConfigurationHasBeenSet() const { return m_resultConfigurationHasBeenSet; }
84 inline void SetResultConfiguration(const ProtectedQueryResultConfiguration& value) { m_resultConfigurationHasBeenSet = true; m_resultConfiguration = value; }
85 inline void SetResultConfiguration(ProtectedQueryResultConfiguration&& value) { m_resultConfigurationHasBeenSet = true; m_resultConfiguration = std::move(value); }
89
91
94 inline const ComputeConfiguration& GetComputeConfiguration() const{ return m_computeConfiguration; }
95 inline bool ComputeConfigurationHasBeenSet() const { return m_computeConfigurationHasBeenSet; }
96 inline void SetComputeConfiguration(const ComputeConfiguration& value) { m_computeConfigurationHasBeenSet = true; m_computeConfiguration = value; }
97 inline void SetComputeConfiguration(ComputeConfiguration&& value) { m_computeConfigurationHasBeenSet = true; m_computeConfiguration = std::move(value); }
101 private:
102
103 ProtectedQueryType m_type;
104 bool m_typeHasBeenSet = false;
105
106 Aws::String m_membershipIdentifier;
107 bool m_membershipIdentifierHasBeenSet = false;
108
109 ProtectedQuerySQLParameters m_sqlParameters;
110 bool m_sqlParametersHasBeenSet = false;
111
112 ProtectedQueryResultConfiguration m_resultConfiguration;
113 bool m_resultConfigurationHasBeenSet = false;
114
115 ComputeConfiguration m_computeConfiguration;
116 bool m_computeConfigurationHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace CleanRooms
121} // namespace Aws
StartProtectedQueryRequest & WithComputeConfiguration(ComputeConfiguration &&value)
const ProtectedQuerySQLParameters & GetSqlParameters() const
StartProtectedQueryRequest & WithSqlParameters(ProtectedQuerySQLParameters &&value)
StartProtectedQueryRequest & WithMembershipIdentifier(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
StartProtectedQueryRequest & WithMembershipIdentifier(const char *value)
void SetSqlParameters(const ProtectedQuerySQLParameters &value)
const ComputeConfiguration & GetComputeConfiguration() const
StartProtectedQueryRequest & WithType(const ProtectedQueryType &value)
void SetComputeConfiguration(const ComputeConfiguration &value)
StartProtectedQueryRequest & WithResultConfiguration(ProtectedQueryResultConfiguration &&value)
StartProtectedQueryRequest & WithComputeConfiguration(const ComputeConfiguration &value)
StartProtectedQueryRequest & WithResultConfiguration(const ProtectedQueryResultConfiguration &value)
void SetResultConfiguration(ProtectedQueryResultConfiguration &&value)
void SetResultConfiguration(const ProtectedQueryResultConfiguration &value)
StartProtectedQueryRequest & WithSqlParameters(const ProtectedQuerySQLParameters &value)
StartProtectedQueryRequest & WithMembershipIdentifier(const Aws::String &value)
const ProtectedQueryResultConfiguration & GetResultConfiguration() const
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
void SetSqlParameters(ProtectedQuerySQLParameters &&value)
StartProtectedQueryRequest & WithType(ProtectedQueryType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String