Compare commits
238 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c4144df5aa | ||
|
|
9f61515774 | ||
|
|
b94efe4684 | ||
|
|
f798fffbdb | ||
|
|
9db0b784a4 | ||
|
|
483be2dd81 | ||
|
|
4f44a09488 | ||
|
|
625c319b69 | ||
|
|
0fe965ef54 | ||
|
|
824992b7be | ||
|
|
662d539c6f | ||
|
|
cf3eecd9d3 | ||
|
|
3ab029ef1f | ||
|
|
dbfef6a376 | ||
|
|
b85b690930 | ||
|
|
c6aa166140 | ||
|
|
bad958a4b6 | ||
|
|
dcd91993ca | ||
|
|
61401b380a | ||
|
|
a85736c67f | ||
|
|
f7e495440d | ||
|
|
8966bab292 | ||
|
|
bfffa0a645 | ||
|
|
8a637c7bd9 | ||
|
|
665991c212 | ||
|
|
8577e276cb | ||
|
|
cf26b726ed | ||
|
|
e174ddcab8 | ||
|
|
a8f72c5f44 | ||
|
|
84f0671771 | ||
|
|
feb2a1a569 | ||
|
|
3951dffc62 | ||
|
|
dc54a90aee | ||
|
|
831ddef131 | ||
|
|
ac4c81dcb5 | ||
|
|
35aa024193 | ||
|
|
1b91dcfc91 | ||
|
|
e5acce5400 | ||
|
|
853c51d753 | ||
|
|
7d28af74ab | ||
|
|
5b44f9773d | ||
|
|
55060df956 | ||
|
|
dabca8e080 | ||
|
|
a382e3172c | ||
|
|
c2b3070859 | ||
|
|
3300b8de84 | ||
|
|
56bdae2cc0 | ||
|
|
aee93835d2 | ||
|
|
18c687ac7c | ||
|
|
10de5f93e0 | ||
|
|
fec6edb88e | ||
|
|
0e89026533 | ||
|
|
156c08ef4e | ||
|
|
623a29292c | ||
|
|
e089d8a671 | ||
|
|
caa1af1644 | ||
|
|
c1d131827e | ||
|
|
cfec2a4f73 | ||
|
|
1e31c73a54 | ||
|
|
2a254b88e0 | ||
|
|
3766be3d58 | ||
|
|
314a657cac | ||
|
|
c9454fb5be | ||
|
|
82d7fc9e8a | ||
|
|
c5bd44e307 | ||
|
|
4074a5b52e | ||
|
|
d4e14749ca | ||
|
|
e0dbc50d2f | ||
|
|
e657a8b04c | ||
|
|
736a166604 | ||
|
|
2f9276a66e | ||
|
|
7e8bb03821 | ||
|
|
b1800ef54d | ||
|
|
7a780263d7 | ||
|
|
4ac78d11e2 | ||
|
|
92edf52243 | ||
|
|
fa4f475079 | ||
|
|
c885bb9c23 | ||
|
|
9b3d0e6145 | ||
|
|
f5fc8b1bdb | ||
|
|
f9ab1f5227 | ||
|
|
bd6bd854e4 | ||
|
|
f3151aa716 | ||
|
|
a27a876ddb | ||
|
|
713828dbf2 | ||
|
|
3a13a540f4 | ||
|
|
e4d3a2d47e | ||
|
|
a5c2149e5a | ||
|
|
993a449ada | ||
|
|
48cf4804fb | ||
|
|
a3322bd82b | ||
|
|
ce8de7c7bf | ||
|
|
8b0585e3c0 | ||
|
|
595c192584 | ||
|
|
9f078db0ce | ||
|
|
5851781fdd | ||
|
|
8e5f42ce58 | ||
|
|
62720f38c2 | ||
|
|
8d8d9b4513 | ||
|
|
60c8f0572d | ||
|
|
8de0b02bda | ||
|
|
990e340be2 | ||
|
|
cecc31b199 | ||
|
|
0d0102d437 | ||
|
|
385caac18e | ||
|
|
6e64c6d014 | ||
|
|
7186e9b5f0 | ||
|
|
3b6ccb6d6f | ||
|
|
14f9dd0353 | ||
|
|
5aac0173f2 | ||
|
|
e107bb45d2 | ||
|
|
bc9938b104 | ||
|
|
5d3f641eab | ||
|
|
1b709ba76f | ||
|
|
57a114d7ef | ||
|
|
b7b1b733c1 | ||
|
|
4d88688ea6 | ||
|
|
675df848ba | ||
|
|
43fef9b25b | ||
|
|
6de92913f1 | ||
|
|
6706d1ef32 | ||
|
|
7c4887171f | ||
|
|
dce3c27547 | ||
|
|
13e8e848ea | ||
|
|
07baf122d2 | ||
|
|
e2fb64b9a3 | ||
|
|
edc4c69e3b | ||
|
|
edcb0cd662 | ||
|
|
a493636d49 | ||
|
|
d0b808cbaa | ||
|
|
c9e34d5a9c | ||
|
|
aab9bc66c5 | ||
|
|
79c5438009 | ||
|
|
a0c8b06b21 | ||
|
|
1682e58f98 | ||
|
|
c71ce3c596 | ||
|
|
250a0529f2 | ||
|
|
b9383c3ee7 | ||
|
|
05c8bd2c86 | ||
|
|
e6d150f65f | ||
|
|
180641e5ac | ||
|
|
8fbb3ee026 | ||
|
|
40a58a91ea | ||
|
|
2f4318d56c | ||
|
|
6a9f707edb | ||
|
|
08bb846a89 | ||
|
|
e4a8dc8cd4 | ||
|
|
eb40626c68 | ||
|
|
1eec105bda | ||
|
|
3b853470ee | ||
|
|
2f4689f88a | ||
|
|
e7cf03a9fd | ||
|
|
a1bc2cb5af | ||
|
|
57aece2625 | ||
|
|
ab2dee526e | ||
|
|
894262087a | ||
|
|
b0e8e978fc | ||
|
|
82ac445152 | ||
|
|
0ff3487fe7 | ||
|
|
df03038e74 | ||
|
|
1e4ada7895 | ||
|
|
809c3d3354 | ||
|
|
73e4c0810f | ||
|
|
7605e6a14e | ||
|
|
52977d04d8 | ||
|
|
39f77beaaf | ||
|
|
8f129b76e0 | ||
|
|
3be7e28fb6 | ||
|
|
a488ba7a7b | ||
|
|
0dec2e07b9 | ||
|
|
c786e7174e | ||
|
|
ca43fa689c | ||
|
|
99b00fe274 | ||
|
|
36af71113d | ||
|
|
6bdbd9482a | ||
|
|
fb4f6ae3b1 | ||
|
|
39b81f8e34 | ||
|
|
3b8df66c89 | ||
|
|
f9202a675c | ||
|
|
1b0819437f | ||
|
|
3d05a2f21a | ||
|
|
a358f4d5f0 | ||
|
|
b42b0028db | ||
|
|
320438db47 | ||
|
|
364ec55dbb | ||
|
|
f8807bdf99 | ||
|
|
af797c3520 | ||
|
|
98aeacc7c2 | ||
|
|
0363b94b0d | ||
|
|
97a4f5217e | ||
|
|
a336e2d994 | ||
|
|
aa1a6d2362 | ||
|
|
587e1e512e | ||
|
|
949e7960dc | ||
|
|
1b0c1eab88 | ||
|
|
469ca3633e | ||
|
|
6da60ce557 | ||
|
|
70f6c89c06 | ||
|
|
1ac934250e | ||
|
|
852d78709b | ||
|
|
db913af39d | ||
|
|
2f8cd1121d | ||
|
|
15ad2ff078 | ||
|
|
6f27a24f42 | ||
|
|
5faaf0ce0e | ||
|
|
5c849887e8 | ||
|
|
011b8ae4c5 | ||
|
|
82ed15642d | ||
|
|
53cb186ca3 | ||
|
|
6f733cd473 | ||
|
|
384ce24607 | ||
|
|
8ec9faabe1 | ||
|
|
dddd6b352c | ||
|
|
bd7c649ba2 | ||
|
|
e1a6fce136 | ||
|
|
fb7804f7b0 | ||
|
|
ef5165d686 | ||
|
|
2744d4cd2d | ||
|
|
e1863f13bf | ||
|
|
51b79e2956 | ||
|
|
6d52fc0e8d | ||
|
|
d0405dd61f | ||
|
|
1227bba30c | ||
|
|
04416d35c6 | ||
|
|
e75a9596ef | ||
|
|
6700b9eb65 | ||
|
|
2b1cad3ddf | ||
|
|
517d9852d6 | ||
|
|
4840d6ca87 | ||
|
|
99c7c0b611 | ||
|
|
c6319b3fbc | ||
|
|
80439374d5 | ||
|
|
9fde20e6f6 | ||
|
|
fefb29dee6 | ||
|
|
5e824d55da | ||
|
|
192d947607 | ||
|
|
0f0940e32a | ||
|
|
3ad3e4b062 |
25
CHANGELOG
25
CHANGELOG
@@ -1,3 +1,28 @@
|
||||
2022-08-11 Version: 1.36.1221
|
||||
- Fix ListManagedRules bugs.
|
||||
|
||||
2022-08-11 Version: 1.36.1220
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2022-08-09 Version: 1.36.1219
|
||||
- Support API ARMInstance.
|
||||
- Support Control ARM API.
|
||||
|
||||
2022-08-05 Version: 1.36.1218
|
||||
- Automatically generate sdk tasks.
|
||||
|
||||
2022-08-03 Version: 1.36.1217
|
||||
- Supported more query conditions when searching resource group.
|
||||
|
||||
2022-08-02 Version: 1.36.1216
|
||||
- Support ecs instance diagnostic features.
|
||||
|
||||
2022-08-01 Version: 1.36.1215
|
||||
- Update CreateKey and CreateSecret.
|
||||
|
||||
2022-07-29 Version: 1.36.1213
|
||||
- Change ListCheckInstanceResult Public.
|
||||
|
||||
2022-07-28 Version: 1.36.1212
|
||||
- AMP version.
|
||||
|
||||
|
||||
@@ -47,7 +47,9 @@ public:
|
||||
std::string certificateId;
|
||||
};
|
||||
struct XForwardedForConfig {
|
||||
std::string xForwardedForClientSourceIpsTrusted;
|
||||
std::string xForwardedForClientCertSubjectDNAlias;
|
||||
bool xForwardedForClientSourceIpsEnabled;
|
||||
bool xForwardedForClientCertIssuerDNEnabled;
|
||||
bool xForwardedForClientCertFingerprintEnabled;
|
||||
std::string xForwardedForClientCertIssuerDNAlias;
|
||||
|
||||
@@ -74,6 +74,7 @@ public:
|
||||
InsertHeaderConfig insertHeaderConfig;
|
||||
struct TrafficLimitConfig {
|
||||
int qPS;
|
||||
int perIpQps;
|
||||
};
|
||||
TrafficLimitConfig trafficLimitConfig;
|
||||
struct CorsConfig {
|
||||
|
||||
@@ -137,6 +137,7 @@ public:
|
||||
InsertHeaderConfig insertHeaderConfig;
|
||||
struct TrafficLimitConfig {
|
||||
int qPS;
|
||||
int perIpQps;
|
||||
};
|
||||
TrafficLimitConfig trafficLimitConfig;
|
||||
struct CorsConfig {
|
||||
|
||||
@@ -60,8 +60,10 @@ namespace AlibabaCloud
|
||||
};
|
||||
struct XForwardedForConfig
|
||||
{
|
||||
bool xForwardedForClientSourceIpsEnabled;
|
||||
std::string xForwardedForClientCertFingerprintAlias;
|
||||
bool xForwardedForClientCertFingerprintEnabled;
|
||||
std::string xForwardedForClientSourceIpsTrusted;
|
||||
std::string xForwardedForClientCertIssuerDNAlias;
|
||||
std::string xForwardedForClientCertClientVerifyAlias;
|
||||
bool xForwardedForClientCertSubjectDNEnabled;
|
||||
|
||||
@@ -52,8 +52,10 @@ namespace AlibabaCloud
|
||||
};
|
||||
struct XForwardedForConfig
|
||||
{
|
||||
bool xForwardedForClientSourceIpsEnabled;
|
||||
std::string xForwardedForClientCertFingerprintAlias;
|
||||
bool xForwardedForClientCertFingerprintEnabled;
|
||||
std::string xForwardedForClientSourceIpsTrusted;
|
||||
std::string xForwardedForClientCertIssuerDNAlias;
|
||||
std::string xForwardedForClientCertClientVerifyAlias;
|
||||
bool xForwardedForClientCertSubjectDNEnabled;
|
||||
|
||||
@@ -99,6 +99,7 @@ namespace AlibabaCloud
|
||||
};
|
||||
struct TrafficLimitConfig
|
||||
{
|
||||
int perIpQps;
|
||||
int qPS;
|
||||
};
|
||||
struct CorsConfig
|
||||
|
||||
@@ -47,7 +47,9 @@ public:
|
||||
std::string certificateId;
|
||||
};
|
||||
struct XForwardedForConfig {
|
||||
std::string xForwardedForClientSourceIpsTrusted;
|
||||
std::string xForwardedForClientCertSubjectDNAlias;
|
||||
bool xForwardedForClientSourceIpsEnabled;
|
||||
bool xForwardedForClientCertIssuerDNEnabled;
|
||||
bool xForwardedForClientCertFingerprintEnabled;
|
||||
std::string xForwardedForClientCertIssuerDNAlias;
|
||||
|
||||
@@ -74,6 +74,7 @@ public:
|
||||
InsertHeaderConfig insertHeaderConfig;
|
||||
struct TrafficLimitConfig {
|
||||
int qPS;
|
||||
int perIpQps;
|
||||
};
|
||||
TrafficLimitConfig trafficLimitConfig;
|
||||
struct CorsConfig {
|
||||
|
||||
@@ -138,6 +138,7 @@ public:
|
||||
InsertHeaderConfig insertHeaderConfig;
|
||||
struct TrafficLimitConfig {
|
||||
int qPS;
|
||||
int perIpQps;
|
||||
};
|
||||
TrafficLimitConfig trafficLimitConfig;
|
||||
struct CorsConfig {
|
||||
|
||||
@@ -120,7 +120,9 @@ CreateListenerRequest::XForwardedForConfig CreateListenerRequest::getXForwardedF
|
||||
|
||||
void CreateListenerRequest::setXForwardedForConfig(const CreateListenerRequest::XForwardedForConfig &xForwardedForConfig) {
|
||||
xForwardedForConfig_ = xForwardedForConfig;
|
||||
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientSourceIpsTrusted", xForwardedForConfig.xForwardedForClientSourceIpsTrusted);
|
||||
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientCertSubjectDNAlias", xForwardedForConfig.xForwardedForClientCertSubjectDNAlias);
|
||||
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientSourceIpsEnabled", xForwardedForConfig.xForwardedForClientSourceIpsEnabled ? "true" : "false");
|
||||
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientCertIssuerDNEnabled", xForwardedForConfig.xForwardedForClientCertIssuerDNEnabled ? "true" : "false");
|
||||
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientCertFingerprintEnabled", xForwardedForConfig.xForwardedForClientCertFingerprintEnabled ? "true" : "false");
|
||||
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientCertIssuerDNAlias", xForwardedForConfig.xForwardedForClientCertIssuerDNAlias);
|
||||
|
||||
@@ -87,6 +87,7 @@ void CreateRuleRequest::setRuleActions(const std::vector<CreateRuleRequest::Rule
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".InsertHeaderConfig.Value", ruleActions[dep1].insertHeaderConfig.value);
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".InsertHeaderConfig.Key", ruleActions[dep1].insertHeaderConfig.key);
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".TrafficLimitConfig.QPS", std::to_string(ruleActions[dep1].trafficLimitConfig.qPS));
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".TrafficLimitConfig.PerIpQps", std::to_string(ruleActions[dep1].trafficLimitConfig.perIpQps));
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".CorsConfig.AllowCredentials", ruleActions[dep1].corsConfig.allowCredentials);
|
||||
for(int dep2 = 0; dep2 != ruleActions[dep1].corsConfig.allowOrigin.size(); dep2++) {
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".CorsConfig.AllowOrigin." + std::to_string(dep2 + 1), ruleActions[dep1].corsConfig.allowOrigin[dep2]);
|
||||
|
||||
@@ -97,6 +97,7 @@ void CreateRulesRequest::setRules(const std::vector<CreateRulesRequest::Rules> &
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".InsertHeaderConfig.Value", rules[dep1].ruleActions[dep2].insertHeaderConfig.value);
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".InsertHeaderConfig.Key", rules[dep1].ruleActions[dep2].insertHeaderConfig.key);
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".TrafficLimitConfig.QPS", std::to_string(rules[dep1].ruleActions[dep2].trafficLimitConfig.qPS));
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".TrafficLimitConfig.PerIpQps", std::to_string(rules[dep1].ruleActions[dep2].trafficLimitConfig.perIpQps));
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".CorsConfig.AllowCredentials", rules[dep1].ruleActions[dep2].corsConfig.allowCredentials);
|
||||
for(int dep3 = 0; dep3 != rules[dep1].ruleActions[dep2].corsConfig.allowOrigin.size(); dep3++) {
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".CorsConfig.AllowOrigin." + std::to_string(dep3 + 1), rules[dep1].ruleActions[dep2].corsConfig.allowOrigin[dep3]);
|
||||
|
||||
@@ -131,6 +131,10 @@ void GetListenerAttributeResult::parse(const std::string &payload)
|
||||
xForwardedForConfig_.xForwardedForSLBIdEnabled = xForwardedForConfigNode["XForwardedForSLBIdEnabled"].asString() == "true";
|
||||
if(!xForwardedForConfigNode["XForwardedForSLBPortEnabled"].isNull())
|
||||
xForwardedForConfig_.xForwardedForSLBPortEnabled = xForwardedForConfigNode["XForwardedForSLBPortEnabled"].asString() == "true";
|
||||
if(!xForwardedForConfigNode["XForwardedForClientSourceIpsEnabled"].isNull())
|
||||
xForwardedForConfig_.xForwardedForClientSourceIpsEnabled = xForwardedForConfigNode["XForwardedForClientSourceIpsEnabled"].asString() == "true";
|
||||
if(!xForwardedForConfigNode["XForwardedForClientSourceIpsTrusted"].isNull())
|
||||
xForwardedForConfig_.xForwardedForClientSourceIpsTrusted = xForwardedForConfigNode["XForwardedForClientSourceIpsTrusted"].asString();
|
||||
if(!value["CaEnabled"].isNull())
|
||||
caEnabled_ = value["CaEnabled"].asString() == "true";
|
||||
if(!value["GzipEnabled"].isNull())
|
||||
|
||||
@@ -128,6 +128,10 @@ void ListListenersResult::parse(const std::string &payload)
|
||||
listenersObject.xForwardedForConfig.xForwardedForSLBIdEnabled = xForwardedForConfigNode["XForwardedForSLBIdEnabled"].asString() == "true";
|
||||
if(!xForwardedForConfigNode["XForwardedForSLBPortEnabled"].isNull())
|
||||
listenersObject.xForwardedForConfig.xForwardedForSLBPortEnabled = xForwardedForConfigNode["XForwardedForSLBPortEnabled"].asString() == "true";
|
||||
if(!xForwardedForConfigNode["XForwardedForClientSourceIpsEnabled"].isNull())
|
||||
listenersObject.xForwardedForConfig.xForwardedForClientSourceIpsEnabled = xForwardedForConfigNode["XForwardedForClientSourceIpsEnabled"].asString() == "true";
|
||||
if(!xForwardedForConfigNode["XForwardedForClientSourceIpsTrusted"].isNull())
|
||||
listenersObject.xForwardedForConfig.xForwardedForClientSourceIpsTrusted = xForwardedForConfigNode["XForwardedForClientSourceIpsTrusted"].asString();
|
||||
listeners_.push_back(listenersObject);
|
||||
}
|
||||
if(!value["MaxResults"].isNull())
|
||||
|
||||
@@ -141,6 +141,8 @@ void ListRulesResult::parse(const std::string &payload)
|
||||
auto trafficLimitConfigNode = value["TrafficLimitConfig"];
|
||||
if(!trafficLimitConfigNode["QPS"].isNull())
|
||||
ruleActionsObject.trafficLimitConfig.qPS = std::stoi(trafficLimitConfigNode["QPS"].asString());
|
||||
if(!trafficLimitConfigNode["PerIpQps"].isNull())
|
||||
ruleActionsObject.trafficLimitConfig.perIpQps = std::stoi(trafficLimitConfigNode["PerIpQps"].asString());
|
||||
auto corsConfigNode = value["CorsConfig"];
|
||||
if(!corsConfigNode["AllowCredentials"].isNull())
|
||||
ruleActionsObject.corsConfig.allowCredentials = corsConfigNode["AllowCredentials"].asString();
|
||||
|
||||
@@ -120,7 +120,9 @@ UpdateListenerAttributeRequest::XForwardedForConfig UpdateListenerAttributeReque
|
||||
|
||||
void UpdateListenerAttributeRequest::setXForwardedForConfig(const UpdateListenerAttributeRequest::XForwardedForConfig &xForwardedForConfig) {
|
||||
xForwardedForConfig_ = xForwardedForConfig;
|
||||
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientSourceIpsTrusted", xForwardedForConfig.xForwardedForClientSourceIpsTrusted);
|
||||
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientCertSubjectDNAlias", xForwardedForConfig.xForwardedForClientCertSubjectDNAlias);
|
||||
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientSourceIpsEnabled", xForwardedForConfig.xForwardedForClientSourceIpsEnabled ? "true" : "false");
|
||||
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientCertIssuerDNEnabled", xForwardedForConfig.xForwardedForClientCertIssuerDNEnabled ? "true" : "false");
|
||||
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientCertFingerprintEnabled", xForwardedForConfig.xForwardedForClientCertFingerprintEnabled ? "true" : "false");
|
||||
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientCertIssuerDNAlias", xForwardedForConfig.xForwardedForClientCertIssuerDNAlias);
|
||||
|
||||
@@ -69,6 +69,7 @@ void UpdateRuleAttributeRequest::setRuleActions(const std::vector<UpdateRuleAttr
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".InsertHeaderConfig.Value", ruleActions[dep1].insertHeaderConfig.value);
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".InsertHeaderConfig.Key", ruleActions[dep1].insertHeaderConfig.key);
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".TrafficLimitConfig.QPS", std::to_string(ruleActions[dep1].trafficLimitConfig.qPS));
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".TrafficLimitConfig.PerIpQps", std::to_string(ruleActions[dep1].trafficLimitConfig.perIpQps));
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".CorsConfig.AllowCredentials", ruleActions[dep1].corsConfig.allowCredentials);
|
||||
for(int dep2 = 0; dep2 != ruleActions[dep1].corsConfig.allowOrigin.size(); dep2++) {
|
||||
setParameter(std::string("RuleActions") + "." + std::to_string(dep1 + 1) + ".CorsConfig.AllowOrigin." + std::to_string(dep2 + 1), ruleActions[dep1].corsConfig.allowOrigin[dep2]);
|
||||
|
||||
@@ -98,6 +98,7 @@ void UpdateRulesAttributeRequest::setRules(const std::vector<UpdateRulesAttribut
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".InsertHeaderConfig.Value", rules[dep1].ruleActions[dep2].insertHeaderConfig.value);
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".InsertHeaderConfig.Key", rules[dep1].ruleActions[dep2].insertHeaderConfig.key);
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".TrafficLimitConfig.QPS", std::to_string(rules[dep1].ruleActions[dep2].trafficLimitConfig.qPS));
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".TrafficLimitConfig.PerIpQps", std::to_string(rules[dep1].ruleActions[dep2].trafficLimitConfig.perIpQps));
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".CorsConfig.AllowCredentials", rules[dep1].ruleActions[dep2].corsConfig.allowCredentials);
|
||||
for(int dep3 = 0; dep3 != rules[dep1].ruleActions[dep2].corsConfig.allowOrigin.size(); dep3++) {
|
||||
setParameter(std::string("Rules") + "." + std::to_string(dep1 + 1) + ".RuleActions." + std::to_string(dep2 + 1) + ".CorsConfig.AllowOrigin." + std::to_string(dep3 + 1), rules[dep1].ruleActions[dep2].corsConfig.allowOrigin[dep3]);
|
||||
|
||||
@@ -21,6 +21,8 @@ set(alikafka_public_header
|
||||
include/alibabacloud/alikafka/AlikafkaExport.h )
|
||||
|
||||
set(alikafka_public_header_model
|
||||
include/alibabacloud/alikafka/model/ChangeResourceGroupRequest.h
|
||||
include/alibabacloud/alikafka/model/ChangeResourceGroupResult.h
|
||||
include/alibabacloud/alikafka/model/ConvertPostPayOrderRequest.h
|
||||
include/alibabacloud/alikafka/model/ConvertPostPayOrderResult.h
|
||||
include/alibabacloud/alikafka/model/CreateAclRequest.h
|
||||
@@ -47,10 +49,10 @@ set(alikafka_public_header_model
|
||||
include/alibabacloud/alikafka/model/DeleteTopicResult.h
|
||||
include/alibabacloud/alikafka/model/DescribeAclsRequest.h
|
||||
include/alibabacloud/alikafka/model/DescribeAclsResult.h
|
||||
include/alibabacloud/alikafka/model/DescribeNodeStatusRequest.h
|
||||
include/alibabacloud/alikafka/model/DescribeNodeStatusResult.h
|
||||
include/alibabacloud/alikafka/model/DescribeSaslUsersRequest.h
|
||||
include/alibabacloud/alikafka/model/DescribeSaslUsersResult.h
|
||||
include/alibabacloud/alikafka/model/GetAllInstanceIdListRequest.h
|
||||
include/alibabacloud/alikafka/model/GetAllInstanceIdListResult.h
|
||||
include/alibabacloud/alikafka/model/GetAllowedIpListRequest.h
|
||||
include/alibabacloud/alikafka/model/GetAllowedIpListResult.h
|
||||
include/alibabacloud/alikafka/model/GetConsumerListRequest.h
|
||||
@@ -59,8 +61,8 @@ set(alikafka_public_header_model
|
||||
include/alibabacloud/alikafka/model/GetConsumerProgressResult.h
|
||||
include/alibabacloud/alikafka/model/GetInstanceListRequest.h
|
||||
include/alibabacloud/alikafka/model/GetInstanceListResult.h
|
||||
include/alibabacloud/alikafka/model/GetMetaProductListRequest.h
|
||||
include/alibabacloud/alikafka/model/GetMetaProductListResult.h
|
||||
include/alibabacloud/alikafka/model/GetQuotaTipRequest.h
|
||||
include/alibabacloud/alikafka/model/GetQuotaTipResult.h
|
||||
include/alibabacloud/alikafka/model/GetTopicListRequest.h
|
||||
include/alibabacloud/alikafka/model/GetTopicListResult.h
|
||||
include/alibabacloud/alikafka/model/GetTopicStatusRequest.h
|
||||
@@ -94,6 +96,8 @@ set(alikafka_public_header_model
|
||||
|
||||
set(alikafka_src
|
||||
src/AlikafkaClient.cc
|
||||
src/model/ChangeResourceGroupRequest.cc
|
||||
src/model/ChangeResourceGroupResult.cc
|
||||
src/model/ConvertPostPayOrderRequest.cc
|
||||
src/model/ConvertPostPayOrderResult.cc
|
||||
src/model/CreateAclRequest.cc
|
||||
@@ -120,10 +124,10 @@ set(alikafka_src
|
||||
src/model/DeleteTopicResult.cc
|
||||
src/model/DescribeAclsRequest.cc
|
||||
src/model/DescribeAclsResult.cc
|
||||
src/model/DescribeNodeStatusRequest.cc
|
||||
src/model/DescribeNodeStatusResult.cc
|
||||
src/model/DescribeSaslUsersRequest.cc
|
||||
src/model/DescribeSaslUsersResult.cc
|
||||
src/model/GetAllInstanceIdListRequest.cc
|
||||
src/model/GetAllInstanceIdListResult.cc
|
||||
src/model/GetAllowedIpListRequest.cc
|
||||
src/model/GetAllowedIpListResult.cc
|
||||
src/model/GetConsumerListRequest.cc
|
||||
@@ -132,8 +136,8 @@ set(alikafka_src
|
||||
src/model/GetConsumerProgressResult.cc
|
||||
src/model/GetInstanceListRequest.cc
|
||||
src/model/GetInstanceListResult.cc
|
||||
src/model/GetMetaProductListRequest.cc
|
||||
src/model/GetMetaProductListResult.cc
|
||||
src/model/GetQuotaTipRequest.cc
|
||||
src/model/GetQuotaTipResult.cc
|
||||
src/model/GetTopicListRequest.cc
|
||||
src/model/GetTopicListResult.cc
|
||||
src/model/GetTopicStatusRequest.cc
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "AlikafkaExport.h"
|
||||
#include "model/ChangeResourceGroupRequest.h"
|
||||
#include "model/ChangeResourceGroupResult.h"
|
||||
#include "model/ConvertPostPayOrderRequest.h"
|
||||
#include "model/ConvertPostPayOrderResult.h"
|
||||
#include "model/CreateAclRequest.h"
|
||||
@@ -48,10 +50,10 @@
|
||||
#include "model/DeleteTopicResult.h"
|
||||
#include "model/DescribeAclsRequest.h"
|
||||
#include "model/DescribeAclsResult.h"
|
||||
#include "model/DescribeNodeStatusRequest.h"
|
||||
#include "model/DescribeNodeStatusResult.h"
|
||||
#include "model/DescribeSaslUsersRequest.h"
|
||||
#include "model/DescribeSaslUsersResult.h"
|
||||
#include "model/GetAllInstanceIdListRequest.h"
|
||||
#include "model/GetAllInstanceIdListResult.h"
|
||||
#include "model/GetAllowedIpListRequest.h"
|
||||
#include "model/GetAllowedIpListResult.h"
|
||||
#include "model/GetConsumerListRequest.h"
|
||||
@@ -60,8 +62,8 @@
|
||||
#include "model/GetConsumerProgressResult.h"
|
||||
#include "model/GetInstanceListRequest.h"
|
||||
#include "model/GetInstanceListResult.h"
|
||||
#include "model/GetMetaProductListRequest.h"
|
||||
#include "model/GetMetaProductListResult.h"
|
||||
#include "model/GetQuotaTipRequest.h"
|
||||
#include "model/GetQuotaTipResult.h"
|
||||
#include "model/GetTopicListRequest.h"
|
||||
#include "model/GetTopicListResult.h"
|
||||
#include "model/GetTopicStatusRequest.h"
|
||||
@@ -101,6 +103,9 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT AlikafkaClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::ChangeResourceGroupResult> ChangeResourceGroupOutcome;
|
||||
typedef std::future<ChangeResourceGroupOutcome> ChangeResourceGroupOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::ChangeResourceGroupRequest&, const ChangeResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeResourceGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConvertPostPayOrderResult> ConvertPostPayOrderOutcome;
|
||||
typedef std::future<ConvertPostPayOrderOutcome> ConvertPostPayOrderOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::ConvertPostPayOrderRequest&, const ConvertPostPayOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConvertPostPayOrderAsyncHandler;
|
||||
@@ -140,12 +145,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeAclsResult> DescribeAclsOutcome;
|
||||
typedef std::future<DescribeAclsOutcome> DescribeAclsOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::DescribeAclsRequest&, const DescribeAclsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAclsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeNodeStatusResult> DescribeNodeStatusOutcome;
|
||||
typedef std::future<DescribeNodeStatusOutcome> DescribeNodeStatusOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::DescribeNodeStatusRequest&, const DescribeNodeStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNodeStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSaslUsersResult> DescribeSaslUsersOutcome;
|
||||
typedef std::future<DescribeSaslUsersOutcome> DescribeSaslUsersOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::DescribeSaslUsersRequest&, const DescribeSaslUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSaslUsersAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAllInstanceIdListResult> GetAllInstanceIdListOutcome;
|
||||
typedef std::future<GetAllInstanceIdListOutcome> GetAllInstanceIdListOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::GetAllInstanceIdListRequest&, const GetAllInstanceIdListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAllInstanceIdListAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAllowedIpListResult> GetAllowedIpListOutcome;
|
||||
typedef std::future<GetAllowedIpListOutcome> GetAllowedIpListOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::GetAllowedIpListRequest&, const GetAllowedIpListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAllowedIpListAsyncHandler;
|
||||
@@ -158,9 +163,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetInstanceListResult> GetInstanceListOutcome;
|
||||
typedef std::future<GetInstanceListOutcome> GetInstanceListOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::GetInstanceListRequest&, const GetInstanceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceListAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMetaProductListResult> GetMetaProductListOutcome;
|
||||
typedef std::future<GetMetaProductListOutcome> GetMetaProductListOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::GetMetaProductListRequest&, const GetMetaProductListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMetaProductListAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetQuotaTipResult> GetQuotaTipOutcome;
|
||||
typedef std::future<GetQuotaTipOutcome> GetQuotaTipOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::GetQuotaTipRequest&, const GetQuotaTipOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetQuotaTipAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTopicListResult> GetTopicListOutcome;
|
||||
typedef std::future<GetTopicListOutcome> GetTopicListOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::GetTopicListRequest&, const GetTopicListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTopicListAsyncHandler;
|
||||
@@ -211,6 +216,9 @@ namespace AlibabaCloud
|
||||
AlikafkaClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
AlikafkaClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~AlikafkaClient();
|
||||
ChangeResourceGroupOutcome changeResourceGroup(const Model::ChangeResourceGroupRequest &request)const;
|
||||
void changeResourceGroupAsync(const Model::ChangeResourceGroupRequest& request, const ChangeResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChangeResourceGroupOutcomeCallable changeResourceGroupCallable(const Model::ChangeResourceGroupRequest& request) const;
|
||||
ConvertPostPayOrderOutcome convertPostPayOrder(const Model::ConvertPostPayOrderRequest &request)const;
|
||||
void convertPostPayOrderAsync(const Model::ConvertPostPayOrderRequest& request, const ConvertPostPayOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConvertPostPayOrderOutcomeCallable convertPostPayOrderCallable(const Model::ConvertPostPayOrderRequest& request) const;
|
||||
@@ -250,12 +258,12 @@ namespace AlibabaCloud
|
||||
DescribeAclsOutcome describeAcls(const Model::DescribeAclsRequest &request)const;
|
||||
void describeAclsAsync(const Model::DescribeAclsRequest& request, const DescribeAclsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAclsOutcomeCallable describeAclsCallable(const Model::DescribeAclsRequest& request) const;
|
||||
DescribeNodeStatusOutcome describeNodeStatus(const Model::DescribeNodeStatusRequest &request)const;
|
||||
void describeNodeStatusAsync(const Model::DescribeNodeStatusRequest& request, const DescribeNodeStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeNodeStatusOutcomeCallable describeNodeStatusCallable(const Model::DescribeNodeStatusRequest& request) const;
|
||||
DescribeSaslUsersOutcome describeSaslUsers(const Model::DescribeSaslUsersRequest &request)const;
|
||||
void describeSaslUsersAsync(const Model::DescribeSaslUsersRequest& request, const DescribeSaslUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSaslUsersOutcomeCallable describeSaslUsersCallable(const Model::DescribeSaslUsersRequest& request) const;
|
||||
GetAllInstanceIdListOutcome getAllInstanceIdList(const Model::GetAllInstanceIdListRequest &request)const;
|
||||
void getAllInstanceIdListAsync(const Model::GetAllInstanceIdListRequest& request, const GetAllInstanceIdListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAllInstanceIdListOutcomeCallable getAllInstanceIdListCallable(const Model::GetAllInstanceIdListRequest& request) const;
|
||||
GetAllowedIpListOutcome getAllowedIpList(const Model::GetAllowedIpListRequest &request)const;
|
||||
void getAllowedIpListAsync(const Model::GetAllowedIpListRequest& request, const GetAllowedIpListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAllowedIpListOutcomeCallable getAllowedIpListCallable(const Model::GetAllowedIpListRequest& request) const;
|
||||
@@ -268,9 +276,9 @@ namespace AlibabaCloud
|
||||
GetInstanceListOutcome getInstanceList(const Model::GetInstanceListRequest &request)const;
|
||||
void getInstanceListAsync(const Model::GetInstanceListRequest& request, const GetInstanceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceListOutcomeCallable getInstanceListCallable(const Model::GetInstanceListRequest& request) const;
|
||||
GetMetaProductListOutcome getMetaProductList(const Model::GetMetaProductListRequest &request)const;
|
||||
void getMetaProductListAsync(const Model::GetMetaProductListRequest& request, const GetMetaProductListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMetaProductListOutcomeCallable getMetaProductListCallable(const Model::GetMetaProductListRequest& request) const;
|
||||
GetQuotaTipOutcome getQuotaTip(const Model::GetQuotaTipRequest &request)const;
|
||||
void getQuotaTipAsync(const Model::GetQuotaTipRequest& request, const GetQuotaTipAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetQuotaTipOutcomeCallable getQuotaTipCallable(const Model::GetQuotaTipRequest& request) const;
|
||||
GetTopicListOutcome getTopicList(const Model::GetTopicListRequest &request)const;
|
||||
void getTopicListAsync(const Model::GetTopicListRequest& request, const GetTopicListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTopicListOutcomeCallable getTopicListCallable(const Model::GetTopicListRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CHANGERESOURCEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CHANGERESOURCEGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ChangeResourceGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ChangeResourceGroupRequest();
|
||||
~ChangeResourceGroupRequest();
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
std::string getNewResourceGroupId() const;
|
||||
void setNewResourceGroupId(const std::string &newResourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string resourceId_;
|
||||
std::string newResourceGroupId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CHANGERESOURCEGROUPREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CHANGERESOURCEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CHANGERESOURCEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ChangeResourceGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ChangeResourceGroupResult();
|
||||
explicit ChangeResourceGroupResult(const std::string &payload);
|
||||
~ChangeResourceGroupResult();
|
||||
std::string getNewResourceGroupId()const;
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
long getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string newResourceGroupId_;
|
||||
std::string message_;
|
||||
int code_;
|
||||
long success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CHANGERESOURCEGROUPRESULT_H_
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CONVERTPOSTPAYORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CONVERTPOSTPAYORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ConvertPostPayOrderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ConvertPostPayOrderRequest();
|
||||
~ConvertPostPayOrderRequest();
|
||||
|
||||
int getDuration()const;
|
||||
void setDuration(int duration);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
int duration_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CONVERTPOSTPAYORDERREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CONVERTPOSTPAYORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CONVERTPOSTPAYORDERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ConvertPostPayOrderRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ConvertPostPayOrderRequest();
|
||||
~ConvertPostPayOrderRequest();
|
||||
int getDuration() const;
|
||||
void setDuration(int duration);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
int duration_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CONVERTPOSTPAYORDERREQUEST_H_
|
||||
|
||||
@@ -1,66 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CREATEACLREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATEACLREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreateAclRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateAclRequest();
|
||||
~CreateAclRequest();
|
||||
|
||||
std::string getAclResourcePatternType()const;
|
||||
void setAclResourcePatternType(const std::string& aclResourcePatternType);
|
||||
std::string getAclResourceType()const;
|
||||
void setAclResourceType(const std::string& aclResourceType);
|
||||
std::string getAclOperationType()const;
|
||||
void setAclOperationType(const std::string& aclOperationType);
|
||||
std::string getAclResourceName()const;
|
||||
void setAclResourceName(const std::string& aclResourceName);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getUsername()const;
|
||||
void setUsername(const std::string& username);
|
||||
|
||||
private:
|
||||
std::string aclResourcePatternType_;
|
||||
std::string aclResourceType_;
|
||||
std::string aclOperationType_;
|
||||
std::string aclResourceName_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string username_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATEACLREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CREATEACLREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATEACLREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreateAclRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateAclRequest();
|
||||
~CreateAclRequest();
|
||||
std::string getAclResourcePatternType() const;
|
||||
void setAclResourcePatternType(const std::string &aclResourcePatternType);
|
||||
std::string getAclResourceType() const;
|
||||
void setAclResourceType(const std::string &aclResourceType);
|
||||
std::string getAclOperationType() const;
|
||||
void setAclOperationType(const std::string &aclOperationType);
|
||||
std::string getAclResourceName() const;
|
||||
void setAclResourceName(const std::string &aclResourceName);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getUsername() const;
|
||||
void setUsername(const std::string &username);
|
||||
|
||||
private:
|
||||
std::string aclResourcePatternType_;
|
||||
std::string aclResourceType_;
|
||||
std::string aclOperationType_;
|
||||
std::string aclResourceName_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string username_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATEACLREQUEST_H_
|
||||
|
||||
@@ -1,57 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CREATECONSUMERGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATECONSUMERGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreateConsumerGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateConsumerGroupRequest();
|
||||
~CreateConsumerGroupRequest();
|
||||
|
||||
std::string getConsumerId()const;
|
||||
void setConsumerId(const std::string& consumerId);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string consumerId_;
|
||||
std::string remark_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATECONSUMERGROUPREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CREATECONSUMERGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATECONSUMERGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreateConsumerGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
CreateConsumerGroupRequest();
|
||||
~CreateConsumerGroupRequest();
|
||||
std::string getConsumerId() const;
|
||||
void setConsumerId(const std::string &consumerId);
|
||||
std::string getRemark() const;
|
||||
void setRemark(const std::string &remark);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
|
||||
private:
|
||||
std::string consumerId_;
|
||||
std::string remark_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATECONSUMERGROUPREQUEST_H_
|
||||
|
||||
@@ -1,75 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPOSTPAYORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPOSTPAYORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreatePostPayOrderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreatePostPayOrderRequest();
|
||||
~CreatePostPayOrderRequest();
|
||||
|
||||
int getPaidType()const;
|
||||
void setPaidType(int paidType);
|
||||
int getDiskSize()const;
|
||||
void setDiskSize(int diskSize);
|
||||
int getIoMax()const;
|
||||
void setIoMax(int ioMax);
|
||||
std::string getIoMaxSpec()const;
|
||||
void setIoMaxSpec(const std::string& ioMaxSpec);
|
||||
std::string getDiskType()const;
|
||||
void setDiskType(const std::string& diskType);
|
||||
int getTopicQuota()const;
|
||||
void setTopicQuota(int topicQuota);
|
||||
int getEipMax()const;
|
||||
void setEipMax(int eipMax);
|
||||
std::string getSpecType()const;
|
||||
void setSpecType(const std::string& specType);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getDeployType()const;
|
||||
void setDeployType(int deployType);
|
||||
|
||||
private:
|
||||
int paidType_;
|
||||
int diskSize_;
|
||||
int ioMax_;
|
||||
std::string ioMaxSpec_;
|
||||
std::string diskType_;
|
||||
int topicQuota_;
|
||||
int eipMax_;
|
||||
std::string specType_;
|
||||
std::string regionId_;
|
||||
int deployType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPOSTPAYORDERREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPOSTPAYORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPOSTPAYORDERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreatePostPayOrderRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
CreatePostPayOrderRequest();
|
||||
~CreatePostPayOrderRequest();
|
||||
int getIoMax() const;
|
||||
void setIoMax(int ioMax);
|
||||
int getEipMax() const;
|
||||
void setEipMax(int eipMax);
|
||||
std::string getSpecType() const;
|
||||
void setSpecType(const std::string &specType);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
int getPartitionNum() const;
|
||||
void setPartitionNum(int partitionNum);
|
||||
int getPaidType() const;
|
||||
void setPaidType(int paidType);
|
||||
int getDiskSize() const;
|
||||
void setDiskSize(int diskSize);
|
||||
std::string getIoMaxSpec() const;
|
||||
void setIoMaxSpec(const std::string &ioMaxSpec);
|
||||
std::string getDiskType() const;
|
||||
void setDiskType(const std::string &diskType);
|
||||
int getTopicQuota() const;
|
||||
void setTopicQuota(int topicQuota);
|
||||
int getDeployType() const;
|
||||
void setDeployType(int deployType);
|
||||
|
||||
private:
|
||||
int ioMax_;
|
||||
int eipMax_;
|
||||
std::string specType_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
int partitionNum_;
|
||||
int paidType_;
|
||||
int diskSize_;
|
||||
std::string ioMaxSpec_;
|
||||
std::string diskType_;
|
||||
int topicQuota_;
|
||||
int deployType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPOSTPAYORDERREQUEST_H_
|
||||
|
||||
@@ -1,72 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPREPAYORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPREPAYORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreatePrePayOrderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreatePrePayOrderRequest();
|
||||
~CreatePrePayOrderRequest();
|
||||
|
||||
int getDiskSize()const;
|
||||
void setDiskSize(int diskSize);
|
||||
int getIoMax()const;
|
||||
void setIoMax(int ioMax);
|
||||
std::string getIoMaxSpec()const;
|
||||
void setIoMaxSpec(const std::string& ioMaxSpec);
|
||||
std::string getDiskType()const;
|
||||
void setDiskType(const std::string& diskType);
|
||||
int getTopicQuota()const;
|
||||
void setTopicQuota(int topicQuota);
|
||||
int getEipMax()const;
|
||||
void setEipMax(int eipMax);
|
||||
std::string getSpecType()const;
|
||||
void setSpecType(const std::string& specType);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getDeployType()const;
|
||||
void setDeployType(int deployType);
|
||||
|
||||
private:
|
||||
int diskSize_;
|
||||
int ioMax_;
|
||||
std::string ioMaxSpec_;
|
||||
std::string diskType_;
|
||||
int topicQuota_;
|
||||
int eipMax_;
|
||||
std::string specType_;
|
||||
std::string regionId_;
|
||||
int deployType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPREPAYORDERREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPREPAYORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPREPAYORDERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreatePrePayOrderRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
CreatePrePayOrderRequest();
|
||||
~CreatePrePayOrderRequest();
|
||||
int getIoMax() const;
|
||||
void setIoMax(int ioMax);
|
||||
int getEipMax() const;
|
||||
void setEipMax(int eipMax);
|
||||
std::string getSpecType() const;
|
||||
void setSpecType(const std::string &specType);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
int getPartitionNum() const;
|
||||
void setPartitionNum(int partitionNum);
|
||||
int getDiskSize() const;
|
||||
void setDiskSize(int diskSize);
|
||||
std::string getIoMaxSpec() const;
|
||||
void setIoMaxSpec(const std::string &ioMaxSpec);
|
||||
std::string getDiskType() const;
|
||||
void setDiskType(const std::string &diskType);
|
||||
int getTopicQuota() const;
|
||||
void setTopicQuota(int topicQuota);
|
||||
int getDeployType() const;
|
||||
void setDeployType(int deployType);
|
||||
|
||||
private:
|
||||
int ioMax_;
|
||||
int eipMax_;
|
||||
std::string specType_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
int partitionNum_;
|
||||
int diskSize_;
|
||||
std::string ioMaxSpec_;
|
||||
std::string diskType_;
|
||||
int topicQuota_;
|
||||
int deployType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPREPAYORDERREQUEST_H_
|
||||
|
||||
@@ -1,60 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CREATESASLUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATESASLUSERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreateSaslUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateSaslUserRequest();
|
||||
~CreateSaslUserRequest();
|
||||
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getUsername()const;
|
||||
void setUsername(const std::string& username);
|
||||
|
||||
private:
|
||||
std::string type_;
|
||||
std::string password_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string username_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATESASLUSERREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CREATESASLUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATESASLUSERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreateSaslUserRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateSaslUserRequest();
|
||||
~CreateSaslUserRequest();
|
||||
std::string getType() const;
|
||||
void setType(const std::string &type);
|
||||
std::string getPassword() const;
|
||||
void setPassword(const std::string &password);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getUsername() const;
|
||||
void setUsername(const std::string &username);
|
||||
|
||||
private:
|
||||
std::string type_;
|
||||
std::string password_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string username_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATESASLUSERREQUEST_H_
|
||||
|
||||
@@ -1,66 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CREATETOPICREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATETOPICREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreateTopicRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateTopicRequest();
|
||||
~CreateTopicRequest();
|
||||
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
bool getCompactTopic()const;
|
||||
void setCompactTopic(bool compactTopic);
|
||||
std::string getPartitionNum()const;
|
||||
void setPartitionNum(const std::string& partitionNum);
|
||||
bool getLocalTopic()const;
|
||||
void setLocalTopic(bool localTopic);
|
||||
|
||||
private:
|
||||
std::string remark_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string topic_;
|
||||
bool compactTopic_;
|
||||
std::string partitionNum_;
|
||||
bool localTopic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATETOPICREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CREATETOPICREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATETOPICREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreateTopicRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
CreateTopicRequest();
|
||||
~CreateTopicRequest();
|
||||
std::string getRemark() const;
|
||||
void setRemark(const std::string &remark);
|
||||
long getReplicationFactor() const;
|
||||
void setReplicationFactor(long replicationFactor);
|
||||
long getMinInsyncReplicas() const;
|
||||
void setMinInsyncReplicas(long minInsyncReplicas);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
bool getCompactTopic() const;
|
||||
void setCompactTopic(bool compactTopic);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
std::string getPartitionNum() const;
|
||||
void setPartitionNum(const std::string &partitionNum);
|
||||
std::string getConfig() const;
|
||||
void setConfig(const std::string &config);
|
||||
bool getLocalTopic() const;
|
||||
void setLocalTopic(bool localTopic);
|
||||
|
||||
private:
|
||||
std::string remark_;
|
||||
long replicationFactor_;
|
||||
long minInsyncReplicas_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string topic_;
|
||||
bool compactTopic_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string partitionNum_;
|
||||
std::string config_;
|
||||
bool localTopic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATETOPICREQUEST_H_
|
||||
|
||||
@@ -1,66 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DELETEACLREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DELETEACLREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DeleteAclRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteAclRequest();
|
||||
~DeleteAclRequest();
|
||||
|
||||
std::string getAclResourcePatternType()const;
|
||||
void setAclResourcePatternType(const std::string& aclResourcePatternType);
|
||||
std::string getAclResourceType()const;
|
||||
void setAclResourceType(const std::string& aclResourceType);
|
||||
std::string getAclOperationType()const;
|
||||
void setAclOperationType(const std::string& aclOperationType);
|
||||
std::string getAclResourceName()const;
|
||||
void setAclResourceName(const std::string& aclResourceName);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getUsername()const;
|
||||
void setUsername(const std::string& username);
|
||||
|
||||
private:
|
||||
std::string aclResourcePatternType_;
|
||||
std::string aclResourceType_;
|
||||
std::string aclOperationType_;
|
||||
std::string aclResourceName_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string username_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DELETEACLREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DELETEACLREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DELETEACLREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DeleteAclRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteAclRequest();
|
||||
~DeleteAclRequest();
|
||||
std::string getAclResourcePatternType() const;
|
||||
void setAclResourcePatternType(const std::string &aclResourcePatternType);
|
||||
std::string getAclResourceType() const;
|
||||
void setAclResourceType(const std::string &aclResourceType);
|
||||
std::string getAclOperationType() const;
|
||||
void setAclOperationType(const std::string &aclOperationType);
|
||||
std::string getAclResourceName() const;
|
||||
void setAclResourceName(const std::string &aclResourceName);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getUsername() const;
|
||||
void setUsername(const std::string &username);
|
||||
|
||||
private:
|
||||
std::string aclResourcePatternType_;
|
||||
std::string aclResourceType_;
|
||||
std::string aclOperationType_;
|
||||
std::string aclResourceName_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string username_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DELETEACLREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DELETECONSUMERGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DELETECONSUMERGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DeleteConsumerGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteConsumerGroupRequest();
|
||||
~DeleteConsumerGroupRequest();
|
||||
|
||||
std::string getConsumerId()const;
|
||||
void setConsumerId(const std::string& consumerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string consumerId_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DELETECONSUMERGROUPREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DELETECONSUMERGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DELETECONSUMERGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DeleteConsumerGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteConsumerGroupRequest();
|
||||
~DeleteConsumerGroupRequest();
|
||||
std::string getConsumerId() const;
|
||||
void setConsumerId(const std::string &consumerId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string consumerId_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DELETECONSUMERGROUPREQUEST_H_
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DELETEINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DELETEINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DeleteInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteInstanceRequest();
|
||||
~DeleteInstanceRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DELETEINSTANCEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DELETEINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DELETEINSTANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DeleteInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteInstanceRequest();
|
||||
~DeleteInstanceRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DELETEINSTANCEREQUEST_H_
|
||||
|
||||
@@ -1,57 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DELETESASLUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DELETESASLUSERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DeleteSaslUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteSaslUserRequest();
|
||||
~DeleteSaslUserRequest();
|
||||
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getUsername()const;
|
||||
void setUsername(const std::string& username);
|
||||
|
||||
private:
|
||||
std::string type_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string username_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DELETESASLUSERREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DELETESASLUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DELETESASLUSERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DeleteSaslUserRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteSaslUserRequest();
|
||||
~DeleteSaslUserRequest();
|
||||
std::string getType() const;
|
||||
void setType(const std::string &type);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getUsername() const;
|
||||
void setUsername(const std::string &username);
|
||||
|
||||
private:
|
||||
std::string type_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string username_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DELETESASLUSERREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DELETETOPICREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DELETETOPICREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DeleteTopicRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteTopicRequest();
|
||||
~DeleteTopicRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DELETETOPICREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DELETETOPICREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DELETETOPICREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DeleteTopicRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteTopicRequest();
|
||||
~DeleteTopicRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string topic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DELETETOPICREQUEST_H_
|
||||
|
||||
@@ -1,63 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBEACLSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBEACLSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DescribeAclsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAclsRequest();
|
||||
~DescribeAclsRequest();
|
||||
|
||||
std::string getAclResourcePatternType()const;
|
||||
void setAclResourcePatternType(const std::string& aclResourcePatternType);
|
||||
std::string getAclResourceType()const;
|
||||
void setAclResourceType(const std::string& aclResourceType);
|
||||
std::string getAclResourceName()const;
|
||||
void setAclResourceName(const std::string& aclResourceName);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getUsername()const;
|
||||
void setUsername(const std::string& username);
|
||||
|
||||
private:
|
||||
std::string aclResourcePatternType_;
|
||||
std::string aclResourceType_;
|
||||
std::string aclResourceName_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string username_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBEACLSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBEACLSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBEACLSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DescribeAclsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeAclsRequest();
|
||||
~DescribeAclsRequest();
|
||||
std::string getAclResourcePatternType() const;
|
||||
void setAclResourcePatternType(const std::string &aclResourcePatternType);
|
||||
std::string getAclResourceType() const;
|
||||
void setAclResourceType(const std::string &aclResourceType);
|
||||
std::string getAclResourceName() const;
|
||||
void setAclResourceName(const std::string &aclResourceName);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getUsername() const;
|
||||
void setUsername(const std::string &username);
|
||||
|
||||
private:
|
||||
std::string aclResourcePatternType_;
|
||||
std::string aclResourceType_;
|
||||
std::string aclResourceName_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string username_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBEACLSREQUEST_H_
|
||||
|
||||
@@ -38,8 +38,8 @@ namespace AlibabaCloud
|
||||
std::string username;
|
||||
std::string aclResourceType;
|
||||
std::string aclOperationType;
|
||||
std::string aclResourcePatternType;
|
||||
std::string host;
|
||||
std::string aclResourcePatternType;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBENODESTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBENODESTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DescribeNodeStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeNodeStatusRequest();
|
||||
~DescribeNodeStatusRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBENODESTATUSREQUEST_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBENODESTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBENODESTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DescribeNodeStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeNodeStatusResult();
|
||||
explicit DescribeNodeStatusResult(const std::string &payload);
|
||||
~DescribeNodeStatusResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<std::string> getStatusList()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<std::string> statusList_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBENODESTATUSRESULT_H_
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBESASLUSERSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBESASLUSERSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DescribeSaslUsersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeSaslUsersRequest();
|
||||
~DescribeSaslUsersRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBESASLUSERSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBESASLUSERSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBESASLUSERSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DescribeSaslUsersRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeSaslUsersRequest();
|
||||
~DescribeSaslUsersRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBESASLUSERSREQUEST_H_
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETALLINSTANCEIDLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETALLINSTANCEIDLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetAllInstanceIdListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetAllInstanceIdListRequest();
|
||||
~GetAllInstanceIdListRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETALLINSTANCEIDLISTREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETALLINSTANCEIDLISTRESULT_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETALLINSTANCEIDLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetAllInstanceIdListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetAllInstanceIdListResult();
|
||||
explicit GetAllInstanceIdListResult(const std::string &payload);
|
||||
~GetAllInstanceIdListResult();
|
||||
std::string getMessage()const;
|
||||
std::string getInstanceIds()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string instanceIds_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETALLINSTANCEIDLISTRESULT_H_
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETALLOWEDIPLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETALLOWEDIPLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetAllowedIpListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAllowedIpListRequest();
|
||||
~GetAllowedIpListRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETALLOWEDIPLISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETALLOWEDIPLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETALLOWEDIPLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetAllowedIpListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetAllowedIpListRequest();
|
||||
~GetAllowedIpListRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETALLOWEDIPLISTREQUEST_H_
|
||||
|
||||
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string portRange;
|
||||
std::vector<std::string> allowedIpList;
|
||||
std::string allowedIpGroup;
|
||||
};
|
||||
int deployType;
|
||||
std::vector<IPListVO> internetList;
|
||||
|
||||
@@ -1,57 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetConsumerListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetConsumerListRequest();
|
||||
~GetConsumerListRequest();
|
||||
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int currentPage_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERLISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetConsumerListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetConsumerListRequest();
|
||||
~GetConsumerListRequest();
|
||||
std::string getConsumerId() const;
|
||||
void setConsumerId(const std::string &consumerId);
|
||||
int getCurrentPage() const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string consumerId_;
|
||||
int currentPage_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERLISTREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERPROGRESSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERPROGRESSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetConsumerProgressRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetConsumerProgressRequest();
|
||||
~GetConsumerProgressRequest();
|
||||
|
||||
std::string getConsumerId()const;
|
||||
void setConsumerId(const std::string& consumerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string consumerId_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERPROGRESSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERPROGRESSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERPROGRESSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetConsumerProgressRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetConsumerProgressRequest();
|
||||
~GetConsumerProgressRequest();
|
||||
std::string getConsumerId() const;
|
||||
void setConsumerId(const std::string &consumerId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string consumerId_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERPROGRESSREQUEST_H_
|
||||
|
||||
@@ -1,63 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETINSTANCELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETINSTANCELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetInstanceListRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
GetInstanceListRequest();
|
||||
~GetInstanceListRequest();
|
||||
|
||||
std::string getOrderId()const;
|
||||
void setOrderId(const std::string& orderId);
|
||||
std::vector<std::string> getInstanceId()const;
|
||||
void setInstanceId(const std::vector<std::string>& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
|
||||
private:
|
||||
std::string orderId_;
|
||||
std::vector<std::string> instanceId_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETINSTANCELISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETINSTANCELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETINSTANCELISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetInstanceListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
GetInstanceListRequest();
|
||||
~GetInstanceListRequest();
|
||||
std::string getOrderId() const;
|
||||
void setOrderId(const std::string &orderId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::vector<std::string> getInstanceId() const;
|
||||
void setInstanceId(const std::vector<std::string> &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
|
||||
private:
|
||||
std::string orderId_;
|
||||
std::string resourceGroupId_;
|
||||
std::vector<std::string> instanceId_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETINSTANCELISTREQUEST_H_
|
||||
|
||||
@@ -44,29 +44,38 @@ namespace AlibabaCloud
|
||||
std::string key;
|
||||
};
|
||||
int deployType;
|
||||
std::string sslEndPoint;
|
||||
int eipMax;
|
||||
std::string zoneId;
|
||||
std::string instanceId;
|
||||
std::string resourceGroupId;
|
||||
std::string specType;
|
||||
int ioMax;
|
||||
std::string vSwitchId;
|
||||
long createTime;
|
||||
std::string allConfig;
|
||||
std::string endPoint;
|
||||
UpgradeServiceDetailInfo upgradeServiceDetailInfo;
|
||||
std::string securityGroup;
|
||||
std::string saslDomainEndpoint;
|
||||
std::string name;
|
||||
int diskType;
|
||||
std::string vpcId;
|
||||
std::string sslDomainEndpoint;
|
||||
int serviceStatus;
|
||||
int paidType;
|
||||
long expiredTime;
|
||||
int msgRetain;
|
||||
long expiredTime;
|
||||
int diskSize;
|
||||
int topicNumLimit;
|
||||
std::string regionId;
|
||||
std::vector<InstanceVO::TagVO> tags;
|
||||
int usedPartitionCount;
|
||||
std::string sslEndPoint;
|
||||
int eipMax;
|
||||
std::string zoneId;
|
||||
std::string kmsKeyId;
|
||||
std::string instanceId;
|
||||
long createTime;
|
||||
std::string vSwitchId;
|
||||
int usedTopicCount;
|
||||
std::string securityGroup;
|
||||
int usedGroupCount;
|
||||
std::string vpcId;
|
||||
std::string domainEndpoint;
|
||||
int paidType;
|
||||
std::string standardZoneId;
|
||||
std::string regionId;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETMETAPRODUCTLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETMETAPRODUCTLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetMetaProductListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetMetaProductListRequest();
|
||||
~GetMetaProductListRequest();
|
||||
|
||||
std::string getListNormal()const;
|
||||
void setListNormal(const std::string& listNormal);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string listNormal_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETMETAPRODUCTLISTREQUEST_H_
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETMETAPRODUCTLISTRESULT_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETMETAPRODUCTLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetMetaProductListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MetaData
|
||||
{
|
||||
struct SpecVO
|
||||
{
|
||||
std::string diskType;
|
||||
std::string deployType;
|
||||
std::string specType;
|
||||
long ioMax;
|
||||
std::string diskSize;
|
||||
std::string topicQuota;
|
||||
std::string regionId;
|
||||
};
|
||||
std::string names;
|
||||
std::vector<SpecVO> productsNormal;
|
||||
std::vector<SpecVO> productsProfessional;
|
||||
};
|
||||
|
||||
|
||||
GetMetaProductListResult();
|
||||
explicit GetMetaProductListResult(const std::string &payload);
|
||||
~GetMetaProductListResult();
|
||||
std::string getMessage()const;
|
||||
MetaData getMetaData()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
MetaData metaData_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETMETAPRODUCTLISTRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETQUOTATIPREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETQUOTATIPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetQuotaTipRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetQuotaTipRequest();
|
||||
~GetQuotaTipRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETQUOTATIPREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETQUOTATIPRESULT_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETQUOTATIPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetQuotaTipResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct QuotaData
|
||||
{
|
||||
int isPartitionBuy;
|
||||
int topicLeft;
|
||||
int groupUsed;
|
||||
int partitionQuata;
|
||||
int topicUsed;
|
||||
int partitionNumOfBuy;
|
||||
int partitionLeft;
|
||||
int topicQuota;
|
||||
int topicNumOfBuy;
|
||||
int partitionUsed;
|
||||
int groupLeft;
|
||||
};
|
||||
|
||||
|
||||
GetQuotaTipResult();
|
||||
explicit GetQuotaTipResult(const std::string &payload);
|
||||
~GetQuotaTipResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
QuotaData getQuotaData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
bool success_;
|
||||
QuotaData quotaData_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETQUOTATIPRESULT_H_
|
||||
@@ -1,57 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetTopicListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTopicListRequest();
|
||||
~GetTopicListRequest();
|
||||
|
||||
std::string getCurrentPage()const;
|
||||
void setCurrentPage(const std::string& currentPage);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPageSize()const;
|
||||
void setPageSize(const std::string& pageSize);
|
||||
|
||||
private:
|
||||
std::string currentPage_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICLISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetTopicListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetTopicListRequest();
|
||||
~GetTopicListRequest();
|
||||
std::string getCurrentPage() const;
|
||||
void setCurrentPage(const std::string ¤tPage);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getPageSize() const;
|
||||
void setPageSize(const std::string &pageSize);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
|
||||
private:
|
||||
std::string currentPage_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string pageSize_;
|
||||
std::string topic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICLISTREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICSTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetTopicStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTopicStatusRequest();
|
||||
~GetTopicStatusRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICSTATUSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICSTATUSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetTopicStatusRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetTopicStatusRequest();
|
||||
~GetTopicStatusRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string topic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICSTATUSREQUEST_H_
|
||||
|
||||
@@ -1,66 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ListTagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
ListTagResourcesRequest();
|
||||
~ListTagResourcesRequest();
|
||||
|
||||
std::vector<std::string> getResourceId()const;
|
||||
void setResourceId(const std::vector<std::string>& resourceId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
|
||||
private:
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceType_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
std::vector<Tag> tag_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ListTagResourcesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
ListTagResourcesRequest();
|
||||
~ListTagResourcesRequest();
|
||||
std::vector<std::string> getResourceId() const;
|
||||
void setResourceId(const std::vector<std::string> &resourceId);
|
||||
std::string getResourceType() const;
|
||||
void setResourceType(const std::string &resourceType);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
|
||||
private:
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceType_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
std::vector<Tag> tag_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYINSTANCENAMEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYINSTANCENAMEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ModifyInstanceNameRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyInstanceNameRequest();
|
||||
~ModifyInstanceNameRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string instanceName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYINSTANCENAMEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYINSTANCENAMEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYINSTANCENAMEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ModifyInstanceNameRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyInstanceNameRequest();
|
||||
~ModifyInstanceNameRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getInstanceName() const;
|
||||
void setInstanceName(const std::string &instanceName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string instanceName_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYINSTANCENAMEREQUEST_H_
|
||||
|
||||
@@ -1,57 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYPARTITIONNUMREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYPARTITIONNUMREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ModifyPartitionNumRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyPartitionNumRequest();
|
||||
~ModifyPartitionNumRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
int getAddPartitionNum()const;
|
||||
void setAddPartitionNum(int addPartitionNum);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string topic_;
|
||||
int addPartitionNum_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYPARTITIONNUMREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYPARTITIONNUMREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYPARTITIONNUMREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ModifyPartitionNumRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyPartitionNumRequest();
|
||||
~ModifyPartitionNumRequest();
|
||||
int getAddPartitionNum() const;
|
||||
void setAddPartitionNum(int addPartitionNum);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
|
||||
private:
|
||||
int addPartitionNum_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string topic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYPARTITIONNUMREQUEST_H_
|
||||
|
||||
@@ -1,57 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYTOPICREMARKREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYTOPICREMARKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ModifyTopicRemarkRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyTopicRemarkRequest();
|
||||
~ModifyTopicRemarkRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string topic_;
|
||||
std::string remark_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYTOPICREMARKREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYTOPICREMARKREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYTOPICREMARKREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ModifyTopicRemarkRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyTopicRemarkRequest();
|
||||
~ModifyTopicRemarkRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
std::string getRemark() const;
|
||||
void setRemark(const std::string &remark);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string topic_;
|
||||
std::string remark_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYTOPICREMARKREQUEST_H_
|
||||
|
||||
@@ -1,57 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_RELEASEINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_RELEASEINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ReleaseInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ReleaseInstanceRequest();
|
||||
~ReleaseInstanceRequest();
|
||||
|
||||
bool getForceDeleteInstance()const;
|
||||
void setForceDeleteInstance(bool forceDeleteInstance);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getReleaseIgnoreTime()const;
|
||||
void setReleaseIgnoreTime(bool releaseIgnoreTime);
|
||||
|
||||
private:
|
||||
bool forceDeleteInstance_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
bool releaseIgnoreTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_RELEASEINSTANCEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_RELEASEINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_RELEASEINSTANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ReleaseInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ReleaseInstanceRequest();
|
||||
~ReleaseInstanceRequest();
|
||||
bool getForceDeleteInstance() const;
|
||||
void setForceDeleteInstance(bool forceDeleteInstance);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
bool getReleaseIgnoreTime() const;
|
||||
void setReleaseIgnoreTime(bool releaseIgnoreTime);
|
||||
|
||||
private:
|
||||
bool forceDeleteInstance_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
bool releaseIgnoreTime_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_RELEASEINSTANCEREQUEST_H_
|
||||
|
||||
@@ -1,93 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_STARTINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_STARTINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT StartInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StartInstanceRequest();
|
||||
~StartInstanceRequest();
|
||||
|
||||
bool getIsEipInner()const;
|
||||
void setIsEipInner(bool isEipInner);
|
||||
std::string getSecurityGroup()const;
|
||||
void setSecurityGroup(const std::string& securityGroup);
|
||||
std::string getDeployModule()const;
|
||||
void setDeployModule(const std::string& deployModule);
|
||||
bool getIsSetUserAndPassword()const;
|
||||
void setIsSetUserAndPassword(bool isSetUserAndPassword);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getVSwitchId()const;
|
||||
void setVSwitchId(const std::string& vSwitchId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getVpcId()const;
|
||||
void setVpcId(const std::string& vpcId);
|
||||
bool getCrossZone()const;
|
||||
void setCrossZone(bool crossZone);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getServiceVersion()const;
|
||||
void setServiceVersion(const std::string& serviceVersion);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getKMSKeyId()const;
|
||||
void setKMSKeyId(const std::string& kMSKeyId);
|
||||
std::string getConfig()const;
|
||||
void setConfig(const std::string& config);
|
||||
std::string getUsername()const;
|
||||
void setUsername(const std::string& username);
|
||||
|
||||
private:
|
||||
bool isEipInner_;
|
||||
std::string securityGroup_;
|
||||
std::string deployModule_;
|
||||
bool isSetUserAndPassword_;
|
||||
std::string password_;
|
||||
std::string regionId_;
|
||||
std::string vSwitchId_;
|
||||
std::string instanceId_;
|
||||
std::string vpcId_;
|
||||
bool crossZone_;
|
||||
std::string name_;
|
||||
std::string serviceVersion_;
|
||||
std::string zoneId_;
|
||||
std::string kMSKeyId_;
|
||||
std::string config_;
|
||||
std::string username_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_STARTINSTANCEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_STARTINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_STARTINSTANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT StartInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
StartInstanceRequest();
|
||||
~StartInstanceRequest();
|
||||
std::string getSelectedZones() const;
|
||||
void setSelectedZones(const std::string &selectedZones);
|
||||
bool getIsEipInner() const;
|
||||
void setIsEipInner(bool isEipInner);
|
||||
std::string getSecurityGroup() const;
|
||||
void setSecurityGroup(const std::string &securityGroup);
|
||||
std::string getDeployModule() const;
|
||||
void setDeployModule(const std::string &deployModule);
|
||||
bool getIsSetUserAndPassword() const;
|
||||
void setIsSetUserAndPassword(bool isSetUserAndPassword);
|
||||
std::string getPassword() const;
|
||||
void setPassword(const std::string &password);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getNotifier() const;
|
||||
void setNotifier(const std::string ¬ifier);
|
||||
bool getIsForceSelectedZones() const;
|
||||
void setIsForceSelectedZones(bool isForceSelectedZones);
|
||||
std::string getVSwitchId() const;
|
||||
void setVSwitchId(const std::string &vSwitchId);
|
||||
std::string getUserPhoneNum() const;
|
||||
void setUserPhoneNum(const std::string &userPhoneNum);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getVpcId() const;
|
||||
void setVpcId(const std::string &vpcId);
|
||||
bool getCrossZone() const;
|
||||
void setCrossZone(bool crossZone);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::string getServiceVersion() const;
|
||||
void setServiceVersion(const std::string &serviceVersion);
|
||||
std::string getZoneId() const;
|
||||
void setZoneId(const std::string &zoneId);
|
||||
std::string getKMSKeyId() const;
|
||||
void setKMSKeyId(const std::string &kMSKeyId);
|
||||
std::string getConfig() const;
|
||||
void setConfig(const std::string &config);
|
||||
std::string getUsername() const;
|
||||
void setUsername(const std::string &username);
|
||||
|
||||
private:
|
||||
std::string selectedZones_;
|
||||
bool isEipInner_;
|
||||
std::string securityGroup_;
|
||||
std::string deployModule_;
|
||||
bool isSetUserAndPassword_;
|
||||
std::string password_;
|
||||
std::string regionId_;
|
||||
std::string notifier_;
|
||||
bool isForceSelectedZones_;
|
||||
std::string vSwitchId_;
|
||||
std::string userPhoneNum_;
|
||||
std::string instanceId_;
|
||||
std::string vpcId_;
|
||||
bool crossZone_;
|
||||
std::string name_;
|
||||
std::string serviceVersion_;
|
||||
std::string zoneId_;
|
||||
std::string kMSKeyId_;
|
||||
std::string config_;
|
||||
std::string username_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_STARTINSTANCEREQUEST_H_
|
||||
|
||||
@@ -1,63 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_TAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_TAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT TagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
TagResourcesRequest();
|
||||
~TagResourcesRequest();
|
||||
|
||||
std::vector<std::string> getResourceId()const;
|
||||
void setResourceId(const std::vector<std::string>& resourceId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
|
||||
private:
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceType_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_TAGRESOURCESREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_TAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_TAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT TagResourcesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
TagResourcesRequest();
|
||||
~TagResourcesRequest();
|
||||
std::vector<std::string> getResourceId() const;
|
||||
void setResourceId(const std::vector<std::string> &resourceId);
|
||||
std::string getResourceType() const;
|
||||
void setResourceType(const std::string &resourceType);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
|
||||
private:
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceType_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_TAGRESOURCESREQUEST_H_
|
||||
|
||||
@@ -1,60 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UntagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UntagResourcesRequest();
|
||||
~UntagResourcesRequest();
|
||||
|
||||
bool getAll()const;
|
||||
void setAll(bool all);
|
||||
std::vector<std::string> getResourceId()const;
|
||||
void setResourceId(const std::vector<std::string>& resourceId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::vector<std::string> getTagKey()const;
|
||||
void setTagKey(const std::vector<std::string>& tagKey);
|
||||
|
||||
private:
|
||||
bool all_;
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceType_;
|
||||
std::string regionId_;
|
||||
std::vector<std::string> tagKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UntagResourcesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UntagResourcesRequest();
|
||||
~UntagResourcesRequest();
|
||||
bool getAll() const;
|
||||
void setAll(bool all);
|
||||
std::vector<std::string> getResourceId() const;
|
||||
void setResourceId(const std::vector<std::string> &resourceId);
|
||||
std::string getResourceType() const;
|
||||
void setResourceType(const std::string &resourceType);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::vector<std::string> getTagKey() const;
|
||||
void setTagKey(const std::vector<std::string> &tagKey);
|
||||
|
||||
private:
|
||||
bool all_;
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceType_;
|
||||
std::string regionId_;
|
||||
std::vector<std::string> tagKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
|
||||
@@ -1,63 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEALLOWEDIPREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEALLOWEDIPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UpdateAllowedIpRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateAllowedIpRequest();
|
||||
~UpdateAllowedIpRequest();
|
||||
|
||||
std::string getPortRange()const;
|
||||
void setPortRange(const std::string& portRange);
|
||||
std::string getAllowedListIp()const;
|
||||
void setAllowedListIp(const std::string& allowedListIp);
|
||||
std::string getUpdateType()const;
|
||||
void setUpdateType(const std::string& updateType);
|
||||
std::string getAllowedListType()const;
|
||||
void setAllowedListType(const std::string& allowedListType);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string portRange_;
|
||||
std::string allowedListIp_;
|
||||
std::string updateType_;
|
||||
std::string allowedListType_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEALLOWEDIPREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEALLOWEDIPREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEALLOWEDIPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UpdateAllowedIpRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpdateAllowedIpRequest();
|
||||
~UpdateAllowedIpRequest();
|
||||
std::string getPortRange() const;
|
||||
void setPortRange(const std::string &portRange);
|
||||
std::string getAllowedListIp() const;
|
||||
void setAllowedListIp(const std::string &allowedListIp);
|
||||
std::string getUpdateType() const;
|
||||
void setUpdateType(const std::string &updateType);
|
||||
std::string getAllowedListType() const;
|
||||
void setAllowedListType(const std::string &allowedListType);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string portRange_;
|
||||
std::string allowedListIp_;
|
||||
std::string updateType_;
|
||||
std::string allowedListType_;
|
||||
std::string description_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEALLOWEDIPREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEINSTANCECONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEINSTANCECONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UpdateInstanceConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateInstanceConfigRequest();
|
||||
~UpdateInstanceConfigRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getConfig()const;
|
||||
void setConfig(const std::string& config);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string config_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEINSTANCECONFIGREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEINSTANCECONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEINSTANCECONFIGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UpdateInstanceConfigRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpdateInstanceConfigRequest();
|
||||
~UpdateInstanceConfigRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getConfig() const;
|
||||
void setConfig(const std::string &config);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string config_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEINSTANCECONFIGREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEINSTANCEVERSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEINSTANCEVERSIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UpgradeInstanceVersionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpgradeInstanceVersionRequest();
|
||||
~UpgradeInstanceVersionRequest();
|
||||
|
||||
std::string getTargetVersion()const;
|
||||
void setTargetVersion(const std::string& targetVersion);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string targetVersion_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEINSTANCEVERSIONREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEINSTANCEVERSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEINSTANCEVERSIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UpgradeInstanceVersionRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpgradeInstanceVersionRequest();
|
||||
~UpgradeInstanceVersionRequest();
|
||||
std::string getTargetVersion() const;
|
||||
void setTargetVersion(const std::string &targetVersion);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string targetVersion_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEINSTANCEVERSIONREQUEST_H_
|
||||
|
||||
@@ -1,69 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPOSTPAYORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPOSTPAYORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UpgradePostPayOrderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpgradePostPayOrderRequest();
|
||||
~UpgradePostPayOrderRequest();
|
||||
|
||||
int getDiskSize()const;
|
||||
void setDiskSize(int diskSize);
|
||||
int getIoMax()const;
|
||||
void setIoMax(int ioMax);
|
||||
std::string getIoMaxSpec()const;
|
||||
void setIoMaxSpec(const std::string& ioMaxSpec);
|
||||
int getTopicQuota()const;
|
||||
void setTopicQuota(int topicQuota);
|
||||
int getEipMax()const;
|
||||
void setEipMax(int eipMax);
|
||||
std::string getSpecType()const;
|
||||
void setSpecType(const std::string& specType);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
int diskSize_;
|
||||
int ioMax_;
|
||||
std::string ioMaxSpec_;
|
||||
int topicQuota_;
|
||||
int eipMax_;
|
||||
std::string specType_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPOSTPAYORDERREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPOSTPAYORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPOSTPAYORDERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UpgradePostPayOrderRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpgradePostPayOrderRequest();
|
||||
~UpgradePostPayOrderRequest();
|
||||
int getDiskSize() const;
|
||||
void setDiskSize(int diskSize);
|
||||
int getIoMax() const;
|
||||
void setIoMax(int ioMax);
|
||||
bool getEipModel() const;
|
||||
void setEipModel(bool eipModel);
|
||||
std::string getIoMaxSpec() const;
|
||||
void setIoMaxSpec(const std::string &ioMaxSpec);
|
||||
int getTopicQuota() const;
|
||||
void setTopicQuota(int topicQuota);
|
||||
int getEipMax() const;
|
||||
void setEipMax(int eipMax);
|
||||
std::string getSpecType() const;
|
||||
void setSpecType(const std::string &specType);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getPartitionNum() const;
|
||||
void setPartitionNum(int partitionNum);
|
||||
|
||||
private:
|
||||
int diskSize_;
|
||||
int ioMax_;
|
||||
bool eipModel_;
|
||||
std::string ioMaxSpec_;
|
||||
int topicQuota_;
|
||||
int eipMax_;
|
||||
std::string specType_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
int partitionNum_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPOSTPAYORDERREQUEST_H_
|
||||
|
||||
@@ -1,69 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPREPAYORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPREPAYORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UpgradePrePayOrderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpgradePrePayOrderRequest();
|
||||
~UpgradePrePayOrderRequest();
|
||||
|
||||
int getDiskSize()const;
|
||||
void setDiskSize(int diskSize);
|
||||
int getIoMax()const;
|
||||
void setIoMax(int ioMax);
|
||||
std::string getIoMaxSpec()const;
|
||||
void setIoMaxSpec(const std::string& ioMaxSpec);
|
||||
int getTopicQuota()const;
|
||||
void setTopicQuota(int topicQuota);
|
||||
int getEipMax()const;
|
||||
void setEipMax(int eipMax);
|
||||
std::string getSpecType()const;
|
||||
void setSpecType(const std::string& specType);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
int diskSize_;
|
||||
int ioMax_;
|
||||
std::string ioMaxSpec_;
|
||||
int topicQuota_;
|
||||
int eipMax_;
|
||||
std::string specType_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPREPAYORDERREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPREPAYORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPREPAYORDERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UpgradePrePayOrderRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpgradePrePayOrderRequest();
|
||||
~UpgradePrePayOrderRequest();
|
||||
int getDiskSize() const;
|
||||
void setDiskSize(int diskSize);
|
||||
int getIoMax() const;
|
||||
void setIoMax(int ioMax);
|
||||
bool getEipModel() const;
|
||||
void setEipModel(bool eipModel);
|
||||
std::string getIoMaxSpec() const;
|
||||
void setIoMaxSpec(const std::string &ioMaxSpec);
|
||||
int getTopicQuota() const;
|
||||
void setTopicQuota(int topicQuota);
|
||||
int getEipMax() const;
|
||||
void setEipMax(int eipMax);
|
||||
std::string getSpecType() const;
|
||||
void setSpecType(const std::string &specType);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getPartitionNum() const;
|
||||
void setPartitionNum(int partitionNum);
|
||||
|
||||
private:
|
||||
int diskSize_;
|
||||
int ioMax_;
|
||||
bool eipModel_;
|
||||
std::string ioMaxSpec_;
|
||||
int topicQuota_;
|
||||
int eipMax_;
|
||||
std::string specType_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
int partitionNum_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPREPAYORDERREQUEST_H_
|
||||
|
||||
@@ -51,6 +51,42 @@ AlikafkaClient::AlikafkaClient(const std::string & accessKeyId, const std::strin
|
||||
AlikafkaClient::~AlikafkaClient()
|
||||
{}
|
||||
|
||||
AlikafkaClient::ChangeResourceGroupOutcome AlikafkaClient::changeResourceGroup(const ChangeResourceGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ChangeResourceGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ChangeResourceGroupOutcome(ChangeResourceGroupResult(outcome.result()));
|
||||
else
|
||||
return ChangeResourceGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlikafkaClient::changeResourceGroupAsync(const ChangeResourceGroupRequest& request, const ChangeResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, changeResourceGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlikafkaClient::ChangeResourceGroupOutcomeCallable AlikafkaClient::changeResourceGroupCallable(const ChangeResourceGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ChangeResourceGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->changeResourceGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlikafkaClient::ConvertPostPayOrderOutcome AlikafkaClient::convertPostPayOrder(const ConvertPostPayOrderRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -519,42 +555,6 @@ AlikafkaClient::DescribeAclsOutcomeCallable AlikafkaClient::describeAclsCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlikafkaClient::DescribeNodeStatusOutcome AlikafkaClient::describeNodeStatus(const DescribeNodeStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeNodeStatusOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeNodeStatusOutcome(DescribeNodeStatusResult(outcome.result()));
|
||||
else
|
||||
return DescribeNodeStatusOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlikafkaClient::describeNodeStatusAsync(const DescribeNodeStatusRequest& request, const DescribeNodeStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeNodeStatus(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlikafkaClient::DescribeNodeStatusOutcomeCallable AlikafkaClient::describeNodeStatusCallable(const DescribeNodeStatusRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeNodeStatusOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeNodeStatus(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlikafkaClient::DescribeSaslUsersOutcome AlikafkaClient::describeSaslUsers(const DescribeSaslUsersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -591,6 +591,42 @@ AlikafkaClient::DescribeSaslUsersOutcomeCallable AlikafkaClient::describeSaslUse
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlikafkaClient::GetAllInstanceIdListOutcome AlikafkaClient::getAllInstanceIdList(const GetAllInstanceIdListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAllInstanceIdListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAllInstanceIdListOutcome(GetAllInstanceIdListResult(outcome.result()));
|
||||
else
|
||||
return GetAllInstanceIdListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlikafkaClient::getAllInstanceIdListAsync(const GetAllInstanceIdListRequest& request, const GetAllInstanceIdListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAllInstanceIdList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlikafkaClient::GetAllInstanceIdListOutcomeCallable AlikafkaClient::getAllInstanceIdListCallable(const GetAllInstanceIdListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAllInstanceIdListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAllInstanceIdList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlikafkaClient::GetAllowedIpListOutcome AlikafkaClient::getAllowedIpList(const GetAllowedIpListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -735,36 +771,36 @@ AlikafkaClient::GetInstanceListOutcomeCallable AlikafkaClient::getInstanceListCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlikafkaClient::GetMetaProductListOutcome AlikafkaClient::getMetaProductList(const GetMetaProductListRequest &request) const
|
||||
AlikafkaClient::GetQuotaTipOutcome AlikafkaClient::getQuotaTip(const GetQuotaTipRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetMetaProductListOutcome(endpointOutcome.error());
|
||||
return GetQuotaTipOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetMetaProductListOutcome(GetMetaProductListResult(outcome.result()));
|
||||
return GetQuotaTipOutcome(GetQuotaTipResult(outcome.result()));
|
||||
else
|
||||
return GetMetaProductListOutcome(outcome.error());
|
||||
return GetQuotaTipOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlikafkaClient::getMetaProductListAsync(const GetMetaProductListRequest& request, const GetMetaProductListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void AlikafkaClient::getQuotaTipAsync(const GetQuotaTipRequest& request, const GetQuotaTipAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getMetaProductList(request), context);
|
||||
handler(this, request, getQuotaTip(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlikafkaClient::GetMetaProductListOutcomeCallable AlikafkaClient::getMetaProductListCallable(const GetMetaProductListRequest &request) const
|
||||
AlikafkaClient::GetQuotaTipOutcomeCallable AlikafkaClient::getQuotaTipCallable(const GetQuotaTipRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetMetaProductListOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<GetQuotaTipOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getMetaProductList(request);
|
||||
return this->getQuotaTip(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
|
||||
54
alikafka/src/model/ChangeResourceGroupRequest.cc
Normal file
54
alikafka/src/model/ChangeResourceGroupRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/ChangeResourceGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::ChangeResourceGroupRequest;
|
||||
|
||||
ChangeResourceGroupRequest::ChangeResourceGroupRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "ChangeResourceGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ChangeResourceGroupRequest::~ChangeResourceGroupRequest() {}
|
||||
|
||||
std::string ChangeResourceGroupRequest::getResourceId() const {
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
void ChangeResourceGroupRequest::setResourceId(const std::string &resourceId) {
|
||||
resourceId_ = resourceId;
|
||||
setParameter(std::string("ResourceId"), resourceId);
|
||||
}
|
||||
|
||||
std::string ChangeResourceGroupRequest::getNewResourceGroupId() const {
|
||||
return newResourceGroupId_;
|
||||
}
|
||||
|
||||
void ChangeResourceGroupRequest::setNewResourceGroupId(const std::string &newResourceGroupId) {
|
||||
newResourceGroupId_ = newResourceGroupId;
|
||||
setParameter(std::string("NewResourceGroupId"), newResourceGroupId);
|
||||
}
|
||||
|
||||
std::string ChangeResourceGroupRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ChangeResourceGroupRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
72
alikafka/src/model/ChangeResourceGroupResult.cc
Normal file
72
alikafka/src/model/ChangeResourceGroupResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/ChangeResourceGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alikafka;
|
||||
using namespace AlibabaCloud::Alikafka::Model;
|
||||
|
||||
ChangeResourceGroupResult::ChangeResourceGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ChangeResourceGroupResult::ChangeResourceGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ChangeResourceGroupResult::~ChangeResourceGroupResult()
|
||||
{}
|
||||
|
||||
void ChangeResourceGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = std::stol(value["Success"].asString());
|
||||
if(!value["NewResourceGroupId"].isNull())
|
||||
newResourceGroupId_ = value["NewResourceGroupId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ChangeResourceGroupResult::getNewResourceGroupId()const
|
||||
{
|
||||
return newResourceGroupId_;
|
||||
}
|
||||
|
||||
std::string ChangeResourceGroupResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int ChangeResourceGroupResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
long ChangeResourceGroupResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/ConvertPostPayOrderRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::ConvertPostPayOrderRequest;
|
||||
|
||||
ConvertPostPayOrderRequest::ConvertPostPayOrderRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "ConvertPostPayOrder")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ConvertPostPayOrderRequest::~ConvertPostPayOrderRequest()
|
||||
{}
|
||||
|
||||
int ConvertPostPayOrderRequest::getDuration()const
|
||||
{
|
||||
return duration_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/ConvertPostPayOrderRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::ConvertPostPayOrderRequest;
|
||||
|
||||
ConvertPostPayOrderRequest::ConvertPostPayOrderRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "ConvertPostPayOrder") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ConvertPostPayOrderRequest::setDuration(int duration)
|
||||
{
|
||||
duration_ = duration;
|
||||
setParameter("Duration", std::to_string(duration));
|
||||
ConvertPostPayOrderRequest::~ConvertPostPayOrderRequest() {}
|
||||
|
||||
int ConvertPostPayOrderRequest::getDuration() const {
|
||||
return duration_;
|
||||
}
|
||||
|
||||
std::string ConvertPostPayOrderRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void ConvertPostPayOrderRequest::setDuration(int duration) {
|
||||
duration_ = duration;
|
||||
setParameter(std::string("Duration"), std::to_string(duration));
|
||||
}
|
||||
|
||||
void ConvertPostPayOrderRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string ConvertPostPayOrderRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string ConvertPostPayOrderRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void ConvertPostPayOrderRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void ConvertPostPayOrderRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string ConvertPostPayOrderRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ConvertPostPayOrderRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void ConvertPostPayOrderResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
|
||||
|
||||
@@ -1,106 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/CreateAclRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreateAclRequest;
|
||||
|
||||
CreateAclRequest::CreateAclRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "CreateAcl")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateAclRequest::~CreateAclRequest()
|
||||
{}
|
||||
|
||||
std::string CreateAclRequest::getAclResourcePatternType()const
|
||||
{
|
||||
return aclResourcePatternType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/CreateAclRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreateAclRequest;
|
||||
|
||||
CreateAclRequest::CreateAclRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "CreateAcl") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateAclRequest::setAclResourcePatternType(const std::string& aclResourcePatternType)
|
||||
{
|
||||
aclResourcePatternType_ = aclResourcePatternType;
|
||||
setParameter("AclResourcePatternType", aclResourcePatternType);
|
||||
CreateAclRequest::~CreateAclRequest() {}
|
||||
|
||||
std::string CreateAclRequest::getAclResourcePatternType() const {
|
||||
return aclResourcePatternType_;
|
||||
}
|
||||
|
||||
std::string CreateAclRequest::getAclResourceType()const
|
||||
{
|
||||
return aclResourceType_;
|
||||
void CreateAclRequest::setAclResourcePatternType(const std::string &aclResourcePatternType) {
|
||||
aclResourcePatternType_ = aclResourcePatternType;
|
||||
setParameter(std::string("AclResourcePatternType"), aclResourcePatternType);
|
||||
}
|
||||
|
||||
void CreateAclRequest::setAclResourceType(const std::string& aclResourceType)
|
||||
{
|
||||
aclResourceType_ = aclResourceType;
|
||||
setParameter("AclResourceType", aclResourceType);
|
||||
std::string CreateAclRequest::getAclResourceType() const {
|
||||
return aclResourceType_;
|
||||
}
|
||||
|
||||
std::string CreateAclRequest::getAclOperationType()const
|
||||
{
|
||||
return aclOperationType_;
|
||||
void CreateAclRequest::setAclResourceType(const std::string &aclResourceType) {
|
||||
aclResourceType_ = aclResourceType;
|
||||
setParameter(std::string("AclResourceType"), aclResourceType);
|
||||
}
|
||||
|
||||
void CreateAclRequest::setAclOperationType(const std::string& aclOperationType)
|
||||
{
|
||||
aclOperationType_ = aclOperationType;
|
||||
setParameter("AclOperationType", aclOperationType);
|
||||
std::string CreateAclRequest::getAclOperationType() const {
|
||||
return aclOperationType_;
|
||||
}
|
||||
|
||||
std::string CreateAclRequest::getAclResourceName()const
|
||||
{
|
||||
return aclResourceName_;
|
||||
void CreateAclRequest::setAclOperationType(const std::string &aclOperationType) {
|
||||
aclOperationType_ = aclOperationType;
|
||||
setParameter(std::string("AclOperationType"), aclOperationType);
|
||||
}
|
||||
|
||||
void CreateAclRequest::setAclResourceName(const std::string& aclResourceName)
|
||||
{
|
||||
aclResourceName_ = aclResourceName;
|
||||
setParameter("AclResourceName", aclResourceName);
|
||||
std::string CreateAclRequest::getAclResourceName() const {
|
||||
return aclResourceName_;
|
||||
}
|
||||
|
||||
std::string CreateAclRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void CreateAclRequest::setAclResourceName(const std::string &aclResourceName) {
|
||||
aclResourceName_ = aclResourceName;
|
||||
setParameter(std::string("AclResourceName"), aclResourceName);
|
||||
}
|
||||
|
||||
void CreateAclRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string CreateAclRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string CreateAclRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void CreateAclRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void CreateAclRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string CreateAclRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string CreateAclRequest::getUsername()const
|
||||
{
|
||||
return username_;
|
||||
void CreateAclRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void CreateAclRequest::setUsername(const std::string& username)
|
||||
{
|
||||
username_ = username;
|
||||
setParameter("Username", username);
|
||||
std::string CreateAclRequest::getUsername() const {
|
||||
return username_;
|
||||
}
|
||||
|
||||
void CreateAclRequest::setUsername(const std::string &username) {
|
||||
username_ = username;
|
||||
setParameter(std::string("Username"), username);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void CreateAclResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,77 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/CreateConsumerGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreateConsumerGroupRequest;
|
||||
|
||||
CreateConsumerGroupRequest::CreateConsumerGroupRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "CreateConsumerGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateConsumerGroupRequest::~CreateConsumerGroupRequest()
|
||||
{}
|
||||
|
||||
std::string CreateConsumerGroupRequest::getConsumerId()const
|
||||
{
|
||||
return consumerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/CreateConsumerGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreateConsumerGroupRequest;
|
||||
|
||||
CreateConsumerGroupRequest::CreateConsumerGroupRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "CreateConsumerGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateConsumerGroupRequest::setConsumerId(const std::string& consumerId)
|
||||
{
|
||||
consumerId_ = consumerId;
|
||||
setParameter("ConsumerId", consumerId);
|
||||
CreateConsumerGroupRequest::~CreateConsumerGroupRequest() {}
|
||||
|
||||
std::string CreateConsumerGroupRequest::getConsumerId() const {
|
||||
return consumerId_;
|
||||
}
|
||||
|
||||
std::string CreateConsumerGroupRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
void CreateConsumerGroupRequest::setConsumerId(const std::string &consumerId) {
|
||||
consumerId_ = consumerId;
|
||||
setParameter(std::string("ConsumerId"), consumerId);
|
||||
}
|
||||
|
||||
void CreateConsumerGroupRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setParameter("Remark", remark);
|
||||
std::string CreateConsumerGroupRequest::getRemark() const {
|
||||
return remark_;
|
||||
}
|
||||
|
||||
std::string CreateConsumerGroupRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void CreateConsumerGroupRequest::setRemark(const std::string &remark) {
|
||||
remark_ = remark;
|
||||
setParameter(std::string("Remark"), remark);
|
||||
}
|
||||
|
||||
void CreateConsumerGroupRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string CreateConsumerGroupRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string CreateConsumerGroupRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void CreateConsumerGroupRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void CreateConsumerGroupRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string CreateConsumerGroupRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateConsumerGroupRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::vector<CreateConsumerGroupRequest::Tag> CreateConsumerGroupRequest::getTag() const {
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void CreateConsumerGroupRequest::setTag(const std::vector<CreateConsumerGroupRequest::Tag> &tag) {
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1 != tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void CreateConsumerGroupResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,139 +1,149 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/CreatePostPayOrderRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreatePostPayOrderRequest;
|
||||
|
||||
CreatePostPayOrderRequest::CreatePostPayOrderRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "CreatePostPayOrder")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreatePostPayOrderRequest::~CreatePostPayOrderRequest()
|
||||
{}
|
||||
|
||||
int CreatePostPayOrderRequest::getPaidType()const
|
||||
{
|
||||
return paidType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/CreatePostPayOrderRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreatePostPayOrderRequest;
|
||||
|
||||
CreatePostPayOrderRequest::CreatePostPayOrderRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "CreatePostPayOrder") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setPaidType(int paidType)
|
||||
{
|
||||
paidType_ = paidType;
|
||||
setParameter("PaidType", std::to_string(paidType));
|
||||
CreatePostPayOrderRequest::~CreatePostPayOrderRequest() {}
|
||||
|
||||
int CreatePostPayOrderRequest::getIoMax() const {
|
||||
return ioMax_;
|
||||
}
|
||||
|
||||
int CreatePostPayOrderRequest::getDiskSize()const
|
||||
{
|
||||
return diskSize_;
|
||||
void CreatePostPayOrderRequest::setIoMax(int ioMax) {
|
||||
ioMax_ = ioMax;
|
||||
setParameter(std::string("IoMax"), std::to_string(ioMax));
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setDiskSize(int diskSize)
|
||||
{
|
||||
diskSize_ = diskSize;
|
||||
setParameter("DiskSize", std::to_string(diskSize));
|
||||
int CreatePostPayOrderRequest::getEipMax() const {
|
||||
return eipMax_;
|
||||
}
|
||||
|
||||
int CreatePostPayOrderRequest::getIoMax()const
|
||||
{
|
||||
return ioMax_;
|
||||
void CreatePostPayOrderRequest::setEipMax(int eipMax) {
|
||||
eipMax_ = eipMax;
|
||||
setParameter(std::string("EipMax"), std::to_string(eipMax));
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setIoMax(int ioMax)
|
||||
{
|
||||
ioMax_ = ioMax;
|
||||
setParameter("IoMax", std::to_string(ioMax));
|
||||
std::string CreatePostPayOrderRequest::getSpecType() const {
|
||||
return specType_;
|
||||
}
|
||||
|
||||
std::string CreatePostPayOrderRequest::getIoMaxSpec()const
|
||||
{
|
||||
return ioMaxSpec_;
|
||||
void CreatePostPayOrderRequest::setSpecType(const std::string &specType) {
|
||||
specType_ = specType;
|
||||
setParameter(std::string("SpecType"), specType);
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setIoMaxSpec(const std::string& ioMaxSpec)
|
||||
{
|
||||
ioMaxSpec_ = ioMaxSpec;
|
||||
setParameter("IoMaxSpec", ioMaxSpec);
|
||||
std::string CreatePostPayOrderRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string CreatePostPayOrderRequest::getDiskType()const
|
||||
{
|
||||
return diskType_;
|
||||
void CreatePostPayOrderRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setDiskType(const std::string& diskType)
|
||||
{
|
||||
diskType_ = diskType;
|
||||
setParameter("DiskType", diskType);
|
||||
std::string CreatePostPayOrderRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
int CreatePostPayOrderRequest::getTopicQuota()const
|
||||
{
|
||||
return topicQuota_;
|
||||
void CreatePostPayOrderRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setTopicQuota(int topicQuota)
|
||||
{
|
||||
topicQuota_ = topicQuota;
|
||||
setParameter("TopicQuota", std::to_string(topicQuota));
|
||||
std::vector<CreatePostPayOrderRequest::Tag> CreatePostPayOrderRequest::getTag() const {
|
||||
return tag_;
|
||||
}
|
||||
|
||||
int CreatePostPayOrderRequest::getEipMax()const
|
||||
{
|
||||
return eipMax_;
|
||||
void CreatePostPayOrderRequest::setTag(const std::vector<CreatePostPayOrderRequest::Tag> &tag) {
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1 != tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setEipMax(int eipMax)
|
||||
{
|
||||
eipMax_ = eipMax;
|
||||
setParameter("EipMax", std::to_string(eipMax));
|
||||
int CreatePostPayOrderRequest::getPartitionNum() const {
|
||||
return partitionNum_;
|
||||
}
|
||||
|
||||
std::string CreatePostPayOrderRequest::getSpecType()const
|
||||
{
|
||||
return specType_;
|
||||
void CreatePostPayOrderRequest::setPartitionNum(int partitionNum) {
|
||||
partitionNum_ = partitionNum;
|
||||
setParameter(std::string("PartitionNum"), std::to_string(partitionNum));
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setSpecType(const std::string& specType)
|
||||
{
|
||||
specType_ = specType;
|
||||
setParameter("SpecType", specType);
|
||||
int CreatePostPayOrderRequest::getPaidType() const {
|
||||
return paidType_;
|
||||
}
|
||||
|
||||
std::string CreatePostPayOrderRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void CreatePostPayOrderRequest::setPaidType(int paidType) {
|
||||
paidType_ = paidType;
|
||||
setParameter(std::string("PaidType"), std::to_string(paidType));
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
int CreatePostPayOrderRequest::getDiskSize() const {
|
||||
return diskSize_;
|
||||
}
|
||||
|
||||
int CreatePostPayOrderRequest::getDeployType()const
|
||||
{
|
||||
return deployType_;
|
||||
void CreatePostPayOrderRequest::setDiskSize(int diskSize) {
|
||||
diskSize_ = diskSize;
|
||||
setParameter(std::string("DiskSize"), std::to_string(diskSize));
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setDeployType(int deployType)
|
||||
{
|
||||
deployType_ = deployType;
|
||||
setParameter("DeployType", std::to_string(deployType));
|
||||
std::string CreatePostPayOrderRequest::getIoMaxSpec() const {
|
||||
return ioMaxSpec_;
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setIoMaxSpec(const std::string &ioMaxSpec) {
|
||||
ioMaxSpec_ = ioMaxSpec;
|
||||
setParameter(std::string("IoMaxSpec"), ioMaxSpec);
|
||||
}
|
||||
|
||||
std::string CreatePostPayOrderRequest::getDiskType() const {
|
||||
return diskType_;
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setDiskType(const std::string &diskType) {
|
||||
diskType_ = diskType;
|
||||
setParameter(std::string("DiskType"), diskType);
|
||||
}
|
||||
|
||||
int CreatePostPayOrderRequest::getTopicQuota() const {
|
||||
return topicQuota_;
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setTopicQuota(int topicQuota) {
|
||||
topicQuota_ = topicQuota;
|
||||
setParameter(std::string("TopicQuota"), std::to_string(topicQuota));
|
||||
}
|
||||
|
||||
int CreatePostPayOrderRequest::getDeployType() const {
|
||||
return deployType_;
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setDeployType(int deployType) {
|
||||
deployType_ = deployType;
|
||||
setParameter(std::string("DeployType"), std::to_string(deployType));
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void CreatePostPayOrderResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
|
||||
|
||||
@@ -1,128 +1,140 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/CreatePrePayOrderRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreatePrePayOrderRequest;
|
||||
|
||||
CreatePrePayOrderRequest::CreatePrePayOrderRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "CreatePrePayOrder")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreatePrePayOrderRequest::~CreatePrePayOrderRequest()
|
||||
{}
|
||||
|
||||
int CreatePrePayOrderRequest::getDiskSize()const
|
||||
{
|
||||
return diskSize_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/CreatePrePayOrderRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreatePrePayOrderRequest;
|
||||
|
||||
CreatePrePayOrderRequest::CreatePrePayOrderRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "CreatePrePayOrder") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setDiskSize(int diskSize)
|
||||
{
|
||||
diskSize_ = diskSize;
|
||||
setParameter("DiskSize", std::to_string(diskSize));
|
||||
CreatePrePayOrderRequest::~CreatePrePayOrderRequest() {}
|
||||
|
||||
int CreatePrePayOrderRequest::getIoMax() const {
|
||||
return ioMax_;
|
||||
}
|
||||
|
||||
int CreatePrePayOrderRequest::getIoMax()const
|
||||
{
|
||||
return ioMax_;
|
||||
void CreatePrePayOrderRequest::setIoMax(int ioMax) {
|
||||
ioMax_ = ioMax;
|
||||
setParameter(std::string("IoMax"), std::to_string(ioMax));
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setIoMax(int ioMax)
|
||||
{
|
||||
ioMax_ = ioMax;
|
||||
setParameter("IoMax", std::to_string(ioMax));
|
||||
int CreatePrePayOrderRequest::getEipMax() const {
|
||||
return eipMax_;
|
||||
}
|
||||
|
||||
std::string CreatePrePayOrderRequest::getIoMaxSpec()const
|
||||
{
|
||||
return ioMaxSpec_;
|
||||
void CreatePrePayOrderRequest::setEipMax(int eipMax) {
|
||||
eipMax_ = eipMax;
|
||||
setParameter(std::string("EipMax"), std::to_string(eipMax));
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setIoMaxSpec(const std::string& ioMaxSpec)
|
||||
{
|
||||
ioMaxSpec_ = ioMaxSpec;
|
||||
setParameter("IoMaxSpec", ioMaxSpec);
|
||||
std::string CreatePrePayOrderRequest::getSpecType() const {
|
||||
return specType_;
|
||||
}
|
||||
|
||||
std::string CreatePrePayOrderRequest::getDiskType()const
|
||||
{
|
||||
return diskType_;
|
||||
void CreatePrePayOrderRequest::setSpecType(const std::string &specType) {
|
||||
specType_ = specType;
|
||||
setParameter(std::string("SpecType"), specType);
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setDiskType(const std::string& diskType)
|
||||
{
|
||||
diskType_ = diskType;
|
||||
setParameter("DiskType", diskType);
|
||||
std::string CreatePrePayOrderRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
int CreatePrePayOrderRequest::getTopicQuota()const
|
||||
{
|
||||
return topicQuota_;
|
||||
void CreatePrePayOrderRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setTopicQuota(int topicQuota)
|
||||
{
|
||||
topicQuota_ = topicQuota;
|
||||
setParameter("TopicQuota", std::to_string(topicQuota));
|
||||
std::string CreatePrePayOrderRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
int CreatePrePayOrderRequest::getEipMax()const
|
||||
{
|
||||
return eipMax_;
|
||||
void CreatePrePayOrderRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setEipMax(int eipMax)
|
||||
{
|
||||
eipMax_ = eipMax;
|
||||
setParameter("EipMax", std::to_string(eipMax));
|
||||
std::vector<CreatePrePayOrderRequest::Tag> CreatePrePayOrderRequest::getTag() const {
|
||||
return tag_;
|
||||
}
|
||||
|
||||
std::string CreatePrePayOrderRequest::getSpecType()const
|
||||
{
|
||||
return specType_;
|
||||
void CreatePrePayOrderRequest::setTag(const std::vector<CreatePrePayOrderRequest::Tag> &tag) {
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1 != tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setSpecType(const std::string& specType)
|
||||
{
|
||||
specType_ = specType;
|
||||
setParameter("SpecType", specType);
|
||||
int CreatePrePayOrderRequest::getPartitionNum() const {
|
||||
return partitionNum_;
|
||||
}
|
||||
|
||||
std::string CreatePrePayOrderRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void CreatePrePayOrderRequest::setPartitionNum(int partitionNum) {
|
||||
partitionNum_ = partitionNum;
|
||||
setParameter(std::string("PartitionNum"), std::to_string(partitionNum));
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
int CreatePrePayOrderRequest::getDiskSize() const {
|
||||
return diskSize_;
|
||||
}
|
||||
|
||||
int CreatePrePayOrderRequest::getDeployType()const
|
||||
{
|
||||
return deployType_;
|
||||
void CreatePrePayOrderRequest::setDiskSize(int diskSize) {
|
||||
diskSize_ = diskSize;
|
||||
setParameter(std::string("DiskSize"), std::to_string(diskSize));
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setDeployType(int deployType)
|
||||
{
|
||||
deployType_ = deployType;
|
||||
setParameter("DeployType", std::to_string(deployType));
|
||||
std::string CreatePrePayOrderRequest::getIoMaxSpec() const {
|
||||
return ioMaxSpec_;
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setIoMaxSpec(const std::string &ioMaxSpec) {
|
||||
ioMaxSpec_ = ioMaxSpec;
|
||||
setParameter(std::string("IoMaxSpec"), ioMaxSpec);
|
||||
}
|
||||
|
||||
std::string CreatePrePayOrderRequest::getDiskType() const {
|
||||
return diskType_;
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setDiskType(const std::string &diskType) {
|
||||
diskType_ = diskType;
|
||||
setParameter(std::string("DiskType"), diskType);
|
||||
}
|
||||
|
||||
int CreatePrePayOrderRequest::getTopicQuota() const {
|
||||
return topicQuota_;
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setTopicQuota(int topicQuota) {
|
||||
topicQuota_ = topicQuota;
|
||||
setParameter(std::string("TopicQuota"), std::to_string(topicQuota));
|
||||
}
|
||||
|
||||
int CreatePrePayOrderRequest::getDeployType() const {
|
||||
return deployType_;
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setDeployType(int deployType) {
|
||||
deployType_ = deployType;
|
||||
setParameter(std::string("DeployType"), std::to_string(deployType));
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void CreatePrePayOrderResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/CreateSaslUserRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreateSaslUserRequest;
|
||||
|
||||
CreateSaslUserRequest::CreateSaslUserRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "CreateSaslUser")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateSaslUserRequest::~CreateSaslUserRequest()
|
||||
{}
|
||||
|
||||
std::string CreateSaslUserRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/CreateSaslUserRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreateSaslUserRequest;
|
||||
|
||||
CreateSaslUserRequest::CreateSaslUserRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "CreateSaslUser") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateSaslUserRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
CreateSaslUserRequest::~CreateSaslUserRequest() {}
|
||||
|
||||
std::string CreateSaslUserRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
std::string CreateSaslUserRequest::getPassword()const
|
||||
{
|
||||
return password_;
|
||||
void CreateSaslUserRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
void CreateSaslUserRequest::setPassword(const std::string& password)
|
||||
{
|
||||
password_ = password;
|
||||
setParameter("Password", password);
|
||||
std::string CreateSaslUserRequest::getPassword() const {
|
||||
return password_;
|
||||
}
|
||||
|
||||
std::string CreateSaslUserRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void CreateSaslUserRequest::setPassword(const std::string &password) {
|
||||
password_ = password;
|
||||
setParameter(std::string("Password"), password);
|
||||
}
|
||||
|
||||
void CreateSaslUserRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string CreateSaslUserRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string CreateSaslUserRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void CreateSaslUserRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void CreateSaslUserRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string CreateSaslUserRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string CreateSaslUserRequest::getUsername()const
|
||||
{
|
||||
return username_;
|
||||
void CreateSaslUserRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void CreateSaslUserRequest::setUsername(const std::string& username)
|
||||
{
|
||||
username_ = username;
|
||||
setParameter("Username", username);
|
||||
std::string CreateSaslUserRequest::getUsername() const {
|
||||
return username_;
|
||||
}
|
||||
|
||||
void CreateSaslUserRequest::setUsername(const std::string &username) {
|
||||
username_ = username;
|
||||
setParameter(std::string("Username"), username);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void CreateSaslUserResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,106 +1,131 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/CreateTopicRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreateTopicRequest;
|
||||
|
||||
CreateTopicRequest::CreateTopicRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "CreateTopic")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateTopicRequest::~CreateTopicRequest()
|
||||
{}
|
||||
|
||||
std::string CreateTopicRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/CreateTopicRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreateTopicRequest;
|
||||
|
||||
CreateTopicRequest::CreateTopicRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "CreateTopic") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setParameter("Remark", remark);
|
||||
CreateTopicRequest::~CreateTopicRequest() {}
|
||||
|
||||
std::string CreateTopicRequest::getRemark() const {
|
||||
return remark_;
|
||||
}
|
||||
|
||||
std::string CreateTopicRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void CreateTopicRequest::setRemark(const std::string &remark) {
|
||||
remark_ = remark;
|
||||
setParameter(std::string("Remark"), remark);
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
long CreateTopicRequest::getReplicationFactor() const {
|
||||
return replicationFactor_;
|
||||
}
|
||||
|
||||
std::string CreateTopicRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void CreateTopicRequest::setReplicationFactor(long replicationFactor) {
|
||||
replicationFactor_ = replicationFactor;
|
||||
setParameter(std::string("ReplicationFactor"), std::to_string(replicationFactor));
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
long CreateTopicRequest::getMinInsyncReplicas() const {
|
||||
return minInsyncReplicas_;
|
||||
}
|
||||
|
||||
std::string CreateTopicRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void CreateTopicRequest::setMinInsyncReplicas(long minInsyncReplicas) {
|
||||
minInsyncReplicas_ = minInsyncReplicas;
|
||||
setParameter(std::string("MinInsyncReplicas"), std::to_string(minInsyncReplicas));
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string CreateTopicRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
bool CreateTopicRequest::getCompactTopic()const
|
||||
{
|
||||
return compactTopic_;
|
||||
void CreateTopicRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setCompactTopic(bool compactTopic)
|
||||
{
|
||||
compactTopic_ = compactTopic;
|
||||
setParameter("CompactTopic", compactTopic ? "true" : "false");
|
||||
std::string CreateTopicRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string CreateTopicRequest::getPartitionNum()const
|
||||
{
|
||||
return partitionNum_;
|
||||
void CreateTopicRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setPartitionNum(const std::string& partitionNum)
|
||||
{
|
||||
partitionNum_ = partitionNum;
|
||||
setParameter("PartitionNum", partitionNum);
|
||||
std::string CreateTopicRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
bool CreateTopicRequest::getLocalTopic()const
|
||||
{
|
||||
return localTopic_;
|
||||
void CreateTopicRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setLocalTopic(bool localTopic)
|
||||
{
|
||||
localTopic_ = localTopic;
|
||||
setParameter("LocalTopic", localTopic ? "true" : "false");
|
||||
bool CreateTopicRequest::getCompactTopic() const {
|
||||
return compactTopic_;
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setCompactTopic(bool compactTopic) {
|
||||
compactTopic_ = compactTopic;
|
||||
setParameter(std::string("CompactTopic"), compactTopic ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<CreateTopicRequest::Tag> CreateTopicRequest::getTag() const {
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setTag(const std::vector<CreateTopicRequest::Tag> &tag) {
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1 != tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateTopicRequest::getPartitionNum() const {
|
||||
return partitionNum_;
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setPartitionNum(const std::string &partitionNum) {
|
||||
partitionNum_ = partitionNum;
|
||||
setParameter(std::string("PartitionNum"), partitionNum);
|
||||
}
|
||||
|
||||
std::string CreateTopicRequest::getConfig() const {
|
||||
return config_;
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setConfig(const std::string &config) {
|
||||
config_ = config;
|
||||
setParameter(std::string("Config"), config);
|
||||
}
|
||||
|
||||
bool CreateTopicRequest::getLocalTopic() const {
|
||||
return localTopic_;
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setLocalTopic(bool localTopic) {
|
||||
localTopic_ = localTopic;
|
||||
setParameter(std::string("LocalTopic"), localTopic ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void CreateTopicResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,106 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DeleteAclRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DeleteAclRequest;
|
||||
|
||||
DeleteAclRequest::DeleteAclRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "DeleteAcl")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteAclRequest::~DeleteAclRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteAclRequest::getAclResourcePatternType()const
|
||||
{
|
||||
return aclResourcePatternType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DeleteAclRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DeleteAclRequest;
|
||||
|
||||
DeleteAclRequest::DeleteAclRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "DeleteAcl") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteAclRequest::setAclResourcePatternType(const std::string& aclResourcePatternType)
|
||||
{
|
||||
aclResourcePatternType_ = aclResourcePatternType;
|
||||
setParameter("AclResourcePatternType", aclResourcePatternType);
|
||||
DeleteAclRequest::~DeleteAclRequest() {}
|
||||
|
||||
std::string DeleteAclRequest::getAclResourcePatternType() const {
|
||||
return aclResourcePatternType_;
|
||||
}
|
||||
|
||||
std::string DeleteAclRequest::getAclResourceType()const
|
||||
{
|
||||
return aclResourceType_;
|
||||
void DeleteAclRequest::setAclResourcePatternType(const std::string &aclResourcePatternType) {
|
||||
aclResourcePatternType_ = aclResourcePatternType;
|
||||
setParameter(std::string("AclResourcePatternType"), aclResourcePatternType);
|
||||
}
|
||||
|
||||
void DeleteAclRequest::setAclResourceType(const std::string& aclResourceType)
|
||||
{
|
||||
aclResourceType_ = aclResourceType;
|
||||
setParameter("AclResourceType", aclResourceType);
|
||||
std::string DeleteAclRequest::getAclResourceType() const {
|
||||
return aclResourceType_;
|
||||
}
|
||||
|
||||
std::string DeleteAclRequest::getAclOperationType()const
|
||||
{
|
||||
return aclOperationType_;
|
||||
void DeleteAclRequest::setAclResourceType(const std::string &aclResourceType) {
|
||||
aclResourceType_ = aclResourceType;
|
||||
setParameter(std::string("AclResourceType"), aclResourceType);
|
||||
}
|
||||
|
||||
void DeleteAclRequest::setAclOperationType(const std::string& aclOperationType)
|
||||
{
|
||||
aclOperationType_ = aclOperationType;
|
||||
setParameter("AclOperationType", aclOperationType);
|
||||
std::string DeleteAclRequest::getAclOperationType() const {
|
||||
return aclOperationType_;
|
||||
}
|
||||
|
||||
std::string DeleteAclRequest::getAclResourceName()const
|
||||
{
|
||||
return aclResourceName_;
|
||||
void DeleteAclRequest::setAclOperationType(const std::string &aclOperationType) {
|
||||
aclOperationType_ = aclOperationType;
|
||||
setParameter(std::string("AclOperationType"), aclOperationType);
|
||||
}
|
||||
|
||||
void DeleteAclRequest::setAclResourceName(const std::string& aclResourceName)
|
||||
{
|
||||
aclResourceName_ = aclResourceName;
|
||||
setParameter("AclResourceName", aclResourceName);
|
||||
std::string DeleteAclRequest::getAclResourceName() const {
|
||||
return aclResourceName_;
|
||||
}
|
||||
|
||||
std::string DeleteAclRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void DeleteAclRequest::setAclResourceName(const std::string &aclResourceName) {
|
||||
aclResourceName_ = aclResourceName;
|
||||
setParameter(std::string("AclResourceName"), aclResourceName);
|
||||
}
|
||||
|
||||
void DeleteAclRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string DeleteAclRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DeleteAclRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void DeleteAclRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DeleteAclRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string DeleteAclRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string DeleteAclRequest::getUsername()const
|
||||
{
|
||||
return username_;
|
||||
void DeleteAclRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void DeleteAclRequest::setUsername(const std::string& username)
|
||||
{
|
||||
username_ = username;
|
||||
setParameter("Username", username);
|
||||
std::string DeleteAclRequest::getUsername() const {
|
||||
return username_;
|
||||
}
|
||||
|
||||
void DeleteAclRequest::setUsername(const std::string &username) {
|
||||
username_ = username;
|
||||
setParameter(std::string("Username"), username);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void DeleteAclResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DeleteConsumerGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DeleteConsumerGroupRequest;
|
||||
|
||||
DeleteConsumerGroupRequest::DeleteConsumerGroupRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "DeleteConsumerGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteConsumerGroupRequest::~DeleteConsumerGroupRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteConsumerGroupRequest::getConsumerId()const
|
||||
{
|
||||
return consumerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DeleteConsumerGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DeleteConsumerGroupRequest;
|
||||
|
||||
DeleteConsumerGroupRequest::DeleteConsumerGroupRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "DeleteConsumerGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteConsumerGroupRequest::setConsumerId(const std::string& consumerId)
|
||||
{
|
||||
consumerId_ = consumerId;
|
||||
setParameter("ConsumerId", consumerId);
|
||||
DeleteConsumerGroupRequest::~DeleteConsumerGroupRequest() {}
|
||||
|
||||
std::string DeleteConsumerGroupRequest::getConsumerId() const {
|
||||
return consumerId_;
|
||||
}
|
||||
|
||||
std::string DeleteConsumerGroupRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void DeleteConsumerGroupRequest::setConsumerId(const std::string &consumerId) {
|
||||
consumerId_ = consumerId;
|
||||
setParameter(std::string("ConsumerId"), consumerId);
|
||||
}
|
||||
|
||||
void DeleteConsumerGroupRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string DeleteConsumerGroupRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DeleteConsumerGroupRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void DeleteConsumerGroupRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DeleteConsumerGroupRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string DeleteConsumerGroupRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeleteConsumerGroupRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void DeleteConsumerGroupResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DeleteInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DeleteInstanceRequest;
|
||||
|
||||
DeleteInstanceRequest::DeleteInstanceRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "DeleteInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteInstanceRequest::~DeleteInstanceRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteInstanceRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DeleteInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DeleteInstanceRequest;
|
||||
|
||||
DeleteInstanceRequest::DeleteInstanceRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "DeleteInstance") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteInstanceRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
DeleteInstanceRequest::~DeleteInstanceRequest() {}
|
||||
|
||||
std::string DeleteInstanceRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DeleteInstanceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void DeleteInstanceRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DeleteInstanceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string DeleteInstanceRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeleteInstanceRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void DeleteInstanceResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DeleteSaslUserRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DeleteSaslUserRequest;
|
||||
|
||||
DeleteSaslUserRequest::DeleteSaslUserRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "DeleteSaslUser")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteSaslUserRequest::~DeleteSaslUserRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteSaslUserRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DeleteSaslUserRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DeleteSaslUserRequest;
|
||||
|
||||
DeleteSaslUserRequest::DeleteSaslUserRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "DeleteSaslUser") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteSaslUserRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
DeleteSaslUserRequest::~DeleteSaslUserRequest() {}
|
||||
|
||||
std::string DeleteSaslUserRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
std::string DeleteSaslUserRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void DeleteSaslUserRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
void DeleteSaslUserRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string DeleteSaslUserRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DeleteSaslUserRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void DeleteSaslUserRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DeleteSaslUserRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string DeleteSaslUserRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string DeleteSaslUserRequest::getUsername()const
|
||||
{
|
||||
return username_;
|
||||
void DeleteSaslUserRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void DeleteSaslUserRequest::setUsername(const std::string& username)
|
||||
{
|
||||
username_ = username;
|
||||
setParameter("Username", username);
|
||||
std::string DeleteSaslUserRequest::getUsername() const {
|
||||
return username_;
|
||||
}
|
||||
|
||||
void DeleteSaslUserRequest::setUsername(const std::string &username) {
|
||||
username_ = username;
|
||||
setParameter(std::string("Username"), username);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void DeleteSaslUserResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DeleteTopicRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DeleteTopicRequest;
|
||||
|
||||
DeleteTopicRequest::DeleteTopicRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "DeleteTopic")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteTopicRequest::~DeleteTopicRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteTopicRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DeleteTopicRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DeleteTopicRequest;
|
||||
|
||||
DeleteTopicRequest::DeleteTopicRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "DeleteTopic") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteTopicRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
DeleteTopicRequest::~DeleteTopicRequest() {}
|
||||
|
||||
std::string DeleteTopicRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DeleteTopicRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void DeleteTopicRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DeleteTopicRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string DeleteTopicRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string DeleteTopicRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void DeleteTopicRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void DeleteTopicRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string DeleteTopicRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void DeleteTopicRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void DeleteTopicResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DescribeAclsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DescribeAclsRequest;
|
||||
|
||||
DescribeAclsRequest::DescribeAclsRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "DescribeAcls")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAclsRequest::~DescribeAclsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeAclsRequest::getAclResourcePatternType()const
|
||||
{
|
||||
return aclResourcePatternType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DescribeAclsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DescribeAclsRequest;
|
||||
|
||||
DescribeAclsRequest::DescribeAclsRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "DescribeAcls") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeAclsRequest::setAclResourcePatternType(const std::string& aclResourcePatternType)
|
||||
{
|
||||
aclResourcePatternType_ = aclResourcePatternType;
|
||||
setParameter("AclResourcePatternType", aclResourcePatternType);
|
||||
DescribeAclsRequest::~DescribeAclsRequest() {}
|
||||
|
||||
std::string DescribeAclsRequest::getAclResourcePatternType() const {
|
||||
return aclResourcePatternType_;
|
||||
}
|
||||
|
||||
std::string DescribeAclsRequest::getAclResourceType()const
|
||||
{
|
||||
return aclResourceType_;
|
||||
void DescribeAclsRequest::setAclResourcePatternType(const std::string &aclResourcePatternType) {
|
||||
aclResourcePatternType_ = aclResourcePatternType;
|
||||
setParameter(std::string("AclResourcePatternType"), aclResourcePatternType);
|
||||
}
|
||||
|
||||
void DescribeAclsRequest::setAclResourceType(const std::string& aclResourceType)
|
||||
{
|
||||
aclResourceType_ = aclResourceType;
|
||||
setParameter("AclResourceType", aclResourceType);
|
||||
std::string DescribeAclsRequest::getAclResourceType() const {
|
||||
return aclResourceType_;
|
||||
}
|
||||
|
||||
std::string DescribeAclsRequest::getAclResourceName()const
|
||||
{
|
||||
return aclResourceName_;
|
||||
void DescribeAclsRequest::setAclResourceType(const std::string &aclResourceType) {
|
||||
aclResourceType_ = aclResourceType;
|
||||
setParameter(std::string("AclResourceType"), aclResourceType);
|
||||
}
|
||||
|
||||
void DescribeAclsRequest::setAclResourceName(const std::string& aclResourceName)
|
||||
{
|
||||
aclResourceName_ = aclResourceName;
|
||||
setParameter("AclResourceName", aclResourceName);
|
||||
std::string DescribeAclsRequest::getAclResourceName() const {
|
||||
return aclResourceName_;
|
||||
}
|
||||
|
||||
std::string DescribeAclsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void DescribeAclsRequest::setAclResourceName(const std::string &aclResourceName) {
|
||||
aclResourceName_ = aclResourceName;
|
||||
setParameter(std::string("AclResourceName"), aclResourceName);
|
||||
}
|
||||
|
||||
void DescribeAclsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string DescribeAclsRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DescribeAclsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void DescribeAclsRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DescribeAclsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string DescribeAclsRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string DescribeAclsRequest::getUsername()const
|
||||
{
|
||||
return username_;
|
||||
void DescribeAclsRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void DescribeAclsRequest::setUsername(const std::string& username)
|
||||
{
|
||||
username_ = username;
|
||||
setParameter("Username", username);
|
||||
std::string DescribeAclsRequest::getUsername() const {
|
||||
return username_;
|
||||
}
|
||||
|
||||
void DescribeAclsRequest::setUsername(const std::string &username) {
|
||||
username_ = username;
|
||||
setParameter(std::string("Username"), username);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,26 +43,26 @@ void DescribeAclsResult::parse(const std::string &payload)
|
||||
for (auto valueKafkaAclListKafkaAclVO : allKafkaAclListNode)
|
||||
{
|
||||
KafkaAclVO kafkaAclListObject;
|
||||
if(!valueKafkaAclListKafkaAclVO["Username"].isNull())
|
||||
kafkaAclListObject.username = valueKafkaAclListKafkaAclVO["Username"].asString();
|
||||
if(!valueKafkaAclListKafkaAclVO["AclResourceType"].isNull())
|
||||
kafkaAclListObject.aclResourceType = valueKafkaAclListKafkaAclVO["AclResourceType"].asString();
|
||||
if(!valueKafkaAclListKafkaAclVO["AclResourceName"].isNull())
|
||||
kafkaAclListObject.aclResourceName = valueKafkaAclListKafkaAclVO["AclResourceName"].asString();
|
||||
if(!valueKafkaAclListKafkaAclVO["AclResourcePatternType"].isNull())
|
||||
kafkaAclListObject.aclResourcePatternType = valueKafkaAclListKafkaAclVO["AclResourcePatternType"].asString();
|
||||
if(!valueKafkaAclListKafkaAclVO["Host"].isNull())
|
||||
kafkaAclListObject.host = valueKafkaAclListKafkaAclVO["Host"].asString();
|
||||
if(!valueKafkaAclListKafkaAclVO["AclOperationType"].isNull())
|
||||
kafkaAclListObject.aclOperationType = valueKafkaAclListKafkaAclVO["AclOperationType"].asString();
|
||||
if(!valueKafkaAclListKafkaAclVO["AclResourceName"].isNull())
|
||||
kafkaAclListObject.aclResourceName = valueKafkaAclListKafkaAclVO["AclResourceName"].asString();
|
||||
if(!valueKafkaAclListKafkaAclVO["AclResourcePatternType"].isNull())
|
||||
kafkaAclListObject.aclResourcePatternType = valueKafkaAclListKafkaAclVO["AclResourcePatternType"].asString();
|
||||
if(!valueKafkaAclListKafkaAclVO["Username"].isNull())
|
||||
kafkaAclListObject.username = valueKafkaAclListKafkaAclVO["Username"].asString();
|
||||
kafkaAclList_.push_back(kafkaAclListObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DescribeNodeStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DescribeNodeStatusRequest;
|
||||
|
||||
DescribeNodeStatusRequest::DescribeNodeStatusRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "DescribeNodeStatus")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeNodeStatusRequest::~DescribeNodeStatusRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeNodeStatusRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DescribeNodeStatusRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string DescribeNodeStatusRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeNodeStatusRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DescribeNodeStatusResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alikafka;
|
||||
using namespace AlibabaCloud::Alikafka::Model;
|
||||
|
||||
DescribeNodeStatusResult::DescribeNodeStatusResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeNodeStatusResult::DescribeNodeStatusResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeNodeStatusResult::~DescribeNodeStatusResult()
|
||||
{}
|
||||
|
||||
void DescribeNodeStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allStatusList = value["StatusList"]["Status"];
|
||||
for (const auto &item : allStatusList)
|
||||
statusList_.push_back(item.asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeNodeStatusResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeNodeStatusResult::getStatusList()const
|
||||
{
|
||||
return statusList_;
|
||||
}
|
||||
|
||||
int DescribeNodeStatusResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DescribeNodeStatusResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DescribeSaslUsersRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DescribeSaslUsersRequest;
|
||||
|
||||
DescribeSaslUsersRequest::DescribeSaslUsersRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "DescribeSaslUsers")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeSaslUsersRequest::~DescribeSaslUsersRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeSaslUsersRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DescribeSaslUsersRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DescribeSaslUsersRequest;
|
||||
|
||||
DescribeSaslUsersRequest::DescribeSaslUsersRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "DescribeSaslUsers") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeSaslUsersRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
DescribeSaslUsersRequest::~DescribeSaslUsersRequest() {}
|
||||
|
||||
std::string DescribeSaslUsersRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DescribeSaslUsersRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void DescribeSaslUsersRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DescribeSaslUsersRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string DescribeSaslUsersRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeSaslUsersRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user