| Qore AwsRestClientDataProvider Module Reference 1.0

AwsRestClientOptionsDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3
26 namespace AwsRestClientDataProvider {
28 class AwsRestClientOptionsDataProvider : public AbstractDataProvider {
29
30 public:
32 AwsRestClient rest;
33
35 const ProviderInfo = <DataProviderInfo>{
36 "name": "options",
37 "desc": "AWS REST OPTIONS data provider; makes an `OPTIONS` request to a REST server and returns the "
38 "response",
39 "type": "AwsRestClientOptionsDataProvider",
40 "constructor_options": AwsRestClientDataProvider::ConstructorOptions,
41 "supports_request": True,
42 };
43
45 const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
46 AbstractDataProvider::DataProviderSummaryInfoKeys
47 });
48
50 const RequestType = new RestClientCallWithoutBodyRequestDataType();
51
53 const ResponseType = new RestClientCallResponseDataType();
54
56 constructor(*hash<auto> options);
57
58
60 constructor(AwsRestClient rest);
61
62
64 string getName();
65
66
68
73 protected:
74 auto doRequestImpl(auto req, *hash<auto> request_options);
75 public:
76
77
80
82 protected:
83 *AbstractDataProviderType getRequestTypeImpl();
84 public:
85
86
88
90 protected:
91 *AbstractDataProviderType getResponseTypeImpl();
92 public:
93
94
96 hash<DataProviderInfo> getStaticInfoImpl();
97
98 };
99 };
AwsRestClientDataProvider::AwsRestClientDataProvider::ConstructorOptions
const ConstructorOptions
Constructor arguments.
Definition: AwsRestClientDataProvider.qc.dox.h:42
AwsRestClientDataProvider::AwsRestClientOptionsDataProvider
The AWS REST client OPTIONS data provider class.
Definition: AwsRestClientOptionsDataProvider.qc.dox.h:28
AwsRestClientDataProvider::AwsRestClientOptionsDataProvider::rest
AwsRestClient rest
REST client connection.
Definition: AwsRestClientOptionsDataProvider.qc.dox.h:32
AwsRestClientDataProvider::AwsRestClientOptionsDataProvider::RequestType
const RequestType
Request type.
Definition: AwsRestClientOptionsDataProvider.qc.dox.h:50
AwsRestClientDataProvider::AwsRestClientOptionsDataProvider::ProviderSummaryInfo
const ProviderSummaryInfo
Provider summary info.
Definition: AwsRestClientOptionsDataProvider.qc.dox.h:45
AwsRestClientDataProvider::AwsRestClientOptionsDataProvider::getResponseTypeImpl
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
AwsRestClientDataProvider::AwsRestClientOptionsDataProvider::getStaticInfoImpl
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
AwsRestClientDataProvider::AwsRestClientOptionsDataProvider::constructor
constructor(*hash< auto > options)
Creates the object from constructor options.
AwsRestClientDataProvider::AwsRestClientOptionsDataProvider::constructor
constructor(AwsRestClient rest)
Creates the object from a REST connection.
AwsRestClientDataProvider::AwsRestClientOptionsDataProvider::getName
string getName()
Returns the data provider name.
AwsRestClientDataProvider::AwsRestClientOptionsDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition: AwsRestClientOptionsDataProvider.qc.dox.h:35
AwsRestClientDataProvider::AwsRestClientOptionsDataProvider::doRequestImpl
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
AwsRestClientDataProvider::AwsRestClientOptionsDataProvider::ResponseType
const ResponseType
Response type.
Definition: AwsRestClientOptionsDataProvider.qc.dox.h:53
AwsRestClientDataProvider::AwsRestClientOptionsDataProvider::getRequestTypeImpl
*AbstractDataProviderType getRequestTypeImpl()
True
const True
AwsRestClientDataProvider
Qore AwsRestClientDataProvider module definition.
Definition: AwsRestClientCallDataProvider.qc.dox.h:26