Add spInstanceId and spInstanceType for api OnsInstanceBaseInfo.
This commit is contained in:
@@ -93,10 +93,6 @@ set(ons_public_header_model
|
||||
include/alibabacloud/ons/model/OnsTrendGroupOutputTpsResult.h
|
||||
include/alibabacloud/ons/model/OnsTrendTopicInputTpsRequest.h
|
||||
include/alibabacloud/ons/model/OnsTrendTopicInputTpsResult.h
|
||||
include/alibabacloud/ons/model/OnsWarnCreateRequest.h
|
||||
include/alibabacloud/ons/model/OnsWarnCreateResult.h
|
||||
include/alibabacloud/ons/model/OnsWarnDeleteRequest.h
|
||||
include/alibabacloud/ons/model/OnsWarnDeleteResult.h
|
||||
include/alibabacloud/ons/model/OpenOnsServiceRequest.h
|
||||
include/alibabacloud/ons/model/OpenOnsServiceResult.h
|
||||
include/alibabacloud/ons/model/TagResourcesRequest.h
|
||||
@@ -178,10 +174,6 @@ set(ons_src
|
||||
src/model/OnsTrendGroupOutputTpsResult.cc
|
||||
src/model/OnsTrendTopicInputTpsRequest.cc
|
||||
src/model/OnsTrendTopicInputTpsResult.cc
|
||||
src/model/OnsWarnCreateRequest.cc
|
||||
src/model/OnsWarnCreateResult.cc
|
||||
src/model/OnsWarnDeleteRequest.cc
|
||||
src/model/OnsWarnDeleteResult.cc
|
||||
src/model/OpenOnsServiceRequest.cc
|
||||
src/model/OpenOnsServiceResult.cc
|
||||
src/model/TagResourcesRequest.cc
|
||||
|
||||
@@ -94,10 +94,6 @@
|
||||
#include "model/OnsTrendGroupOutputTpsResult.h"
|
||||
#include "model/OnsTrendTopicInputTpsRequest.h"
|
||||
#include "model/OnsTrendTopicInputTpsResult.h"
|
||||
#include "model/OnsWarnCreateRequest.h"
|
||||
#include "model/OnsWarnCreateResult.h"
|
||||
#include "model/OnsWarnDeleteRequest.h"
|
||||
#include "model/OnsWarnDeleteResult.h"
|
||||
#include "model/OpenOnsServiceRequest.h"
|
||||
#include "model/OpenOnsServiceResult.h"
|
||||
#include "model/TagResourcesRequest.h"
|
||||
@@ -221,12 +217,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::OnsTrendTopicInputTpsResult> OnsTrendTopicInputTpsOutcome;
|
||||
typedef std::future<OnsTrendTopicInputTpsOutcome> OnsTrendTopicInputTpsOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsTrendTopicInputTpsRequest&, const OnsTrendTopicInputTpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTrendTopicInputTpsAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsWarnCreateResult> OnsWarnCreateOutcome;
|
||||
typedef std::future<OnsWarnCreateOutcome> OnsWarnCreateOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsWarnCreateRequest&, const OnsWarnCreateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsWarnCreateAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsWarnDeleteResult> OnsWarnDeleteOutcome;
|
||||
typedef std::future<OnsWarnDeleteOutcome> OnsWarnDeleteOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsWarnDeleteRequest&, const OnsWarnDeleteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsWarnDeleteAsyncHandler;
|
||||
typedef Outcome<Error, Model::OpenOnsServiceResult> OpenOnsServiceOutcome;
|
||||
typedef std::future<OpenOnsServiceOutcome> OpenOnsServiceOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OpenOnsServiceRequest&, const OpenOnsServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenOnsServiceAsyncHandler;
|
||||
@@ -349,12 +339,6 @@ namespace AlibabaCloud
|
||||
OnsTrendTopicInputTpsOutcome onsTrendTopicInputTps(const Model::OnsTrendTopicInputTpsRequest &request)const;
|
||||
void onsTrendTopicInputTpsAsync(const Model::OnsTrendTopicInputTpsRequest& request, const OnsTrendTopicInputTpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsTrendTopicInputTpsOutcomeCallable onsTrendTopicInputTpsCallable(const Model::OnsTrendTopicInputTpsRequest& request) const;
|
||||
OnsWarnCreateOutcome onsWarnCreate(const Model::OnsWarnCreateRequest &request)const;
|
||||
void onsWarnCreateAsync(const Model::OnsWarnCreateRequest& request, const OnsWarnCreateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsWarnCreateOutcomeCallable onsWarnCreateCallable(const Model::OnsWarnCreateRequest& request) const;
|
||||
OnsWarnDeleteOutcome onsWarnDelete(const Model::OnsWarnDeleteRequest &request)const;
|
||||
void onsWarnDeleteAsync(const Model::OnsWarnDeleteRequest& request, const OnsWarnDeleteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsWarnDeleteOutcomeCallable onsWarnDeleteCallable(const Model::OnsWarnDeleteRequest& request) const;
|
||||
OpenOnsServiceOutcome openOnsService(const Model::OpenOnsServiceRequest &request)const;
|
||||
void openOnsServiceAsync(const Model::OpenOnsServiceRequest& request, const OpenOnsServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OpenOnsServiceOutcomeCallable openOnsServiceCallable(const Model::OpenOnsServiceRequest& request) const;
|
||||
|
||||
@@ -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_ONS_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_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 getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
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 instanceId_;
|
||||
std::string nextToken_;
|
||||
std::vector<Tag> tag_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_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 getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
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 instanceId_;
|
||||
std::string nextToken_;
|
||||
std::vector<Tag> tag_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_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_ONS_MODEL_ONSCONSUMERACCUMULATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERACCUMULATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsConsumerAccumulateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsConsumerAccumulateRequest();
|
||||
~OnsConsumerAccumulateRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
bool getDetail()const;
|
||||
void setDetail(bool detail);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string instanceId_;
|
||||
bool detail_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERACCUMULATEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSCONSUMERACCUMULATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERACCUMULATEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsConsumerAccumulateRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsConsumerAccumulateRequest();
|
||||
~OnsConsumerAccumulateRequest();
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
bool getDetail() const;
|
||||
void setDetail(bool detail);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string instanceId_;
|
||||
bool detail_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERACCUMULATEREQUEST_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_ONS_MODEL_ONSCONSUMERGETCONNECTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERGETCONNECTIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsConsumerGetConnectionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsConsumerGetConnectionRequest();
|
||||
~OnsConsumerGetConnectionRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERGETCONNECTIONREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSCONSUMERGETCONNECTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERGETCONNECTIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsConsumerGetConnectionRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsConsumerGetConnectionRequest();
|
||||
~OnsConsumerGetConnectionRequest();
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERGETCONNECTIONREQUEST_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_ONS_MODEL_ONSCONSUMERRESETOFFSETREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERRESETOFFSETREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsConsumerResetOffsetRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsConsumerResetOffsetRequest();
|
||||
~OnsConsumerResetOffsetRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
long getResetTimestamp()const;
|
||||
void setResetTimestamp(long resetTimestamp);
|
||||
int getType()const;
|
||||
void setType(int type);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
long resetTimestamp_;
|
||||
int type_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERRESETOFFSETREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSCONSUMERRESETOFFSETREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERRESETOFFSETREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsConsumerResetOffsetRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsConsumerResetOffsetRequest();
|
||||
~OnsConsumerResetOffsetRequest();
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
long getResetTimestamp() const;
|
||||
void setResetTimestamp(long resetTimestamp);
|
||||
int getType() const;
|
||||
void setType(int type);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
long resetTimestamp_;
|
||||
int type_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERRESETOFFSETREQUEST_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_ONS_MODEL_ONSCONSUMERSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERSTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsConsumerStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsConsumerStatusRequest();
|
||||
~OnsConsumerStatusRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
bool getNeedJstack()const;
|
||||
void setNeedJstack(bool needJstack);
|
||||
bool getDetail()const;
|
||||
void setDetail(bool detail);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string instanceId_;
|
||||
bool needJstack_;
|
||||
bool detail_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERSTATUSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSCONSUMERSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERSTATUSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsConsumerStatusRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsConsumerStatusRequest();
|
||||
~OnsConsumerStatusRequest();
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
bool getNeedJstack() const;
|
||||
void setNeedJstack(bool needJstack);
|
||||
bool getDetail() const;
|
||||
void setDetail(bool detail);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string instanceId_;
|
||||
bool needJstack_;
|
||||
bool detail_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERSTATUSREQUEST_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_ONS_MODEL_ONSCONSUMERTIMESPANREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERTIMESPANREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsConsumerTimeSpanRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsConsumerTimeSpanRequest();
|
||||
~OnsConsumerTimeSpanRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERTIMESPANREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSCONSUMERTIMESPANREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERTIMESPANREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsConsumerTimeSpanRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsConsumerTimeSpanRequest();
|
||||
~OnsConsumerTimeSpanRequest();
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERTIMESPANREQUEST_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_ONS_MODEL_ONSDLQMESSAGEGETBYIDREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEGETBYIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsDLQMessageGetByIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsDLQMessageGetByIdRequest();
|
||||
~OnsDLQMessageGetByIdRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getMsgId()const;
|
||||
void setMsgId(const std::string& msgId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string msgId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEGETBYIDREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEGETBYIDREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEGETBYIDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsDLQMessageGetByIdRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsDLQMessageGetByIdRequest();
|
||||
~OnsDLQMessageGetByIdRequest();
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
std::string getMsgId() const;
|
||||
void setMsgId(const std::string &msgId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string msgId_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEGETBYIDREQUEST_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_ONS_MODEL_ONSDLQMESSAGEPAGEQUERYBYGROUPIDREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEPAGEQUERYBYGROUPIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsDLQMessagePageQueryByGroupIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsDLQMessagePageQueryByGroupIdRequest();
|
||||
~OnsDLQMessagePageQueryByGroupIdRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getBeginTime()const;
|
||||
void setBeginTime(long beginTime);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
long endTime_;
|
||||
long beginTime_;
|
||||
int currentPage_;
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
std::string taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEPAGEQUERYBYGROUPIDREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEPAGEQUERYBYGROUPIDREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEPAGEQUERYBYGROUPIDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsDLQMessagePageQueryByGroupIdRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsDLQMessagePageQueryByGroupIdRequest();
|
||||
~OnsDLQMessagePageQueryByGroupIdRequest();
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
long getEndTime() const;
|
||||
void setEndTime(long endTime);
|
||||
long getBeginTime() const;
|
||||
void setBeginTime(long beginTime);
|
||||
int getCurrentPage() const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getTaskId() const;
|
||||
void setTaskId(const std::string &taskId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
long endTime_;
|
||||
long beginTime_;
|
||||
int currentPage_;
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
std::string taskId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEPAGEQUERYBYGROUPIDREQUEST_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_ONS_MODEL_ONSDLQMESSAGERESENDBYIDREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGERESENDBYIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsDLQMessageResendByIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsDLQMessageResendByIdRequest();
|
||||
~OnsDLQMessageResendByIdRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getMsgId()const;
|
||||
void setMsgId(const std::string& msgId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string msgId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGERESENDBYIDREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGERESENDBYIDREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGERESENDBYIDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsDLQMessageResendByIdRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsDLQMessageResendByIdRequest();
|
||||
~OnsDLQMessageResendByIdRequest();
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
std::string getMsgId() const;
|
||||
void setMsgId(const std::string &msgId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string msgId_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGERESENDBYIDREQUEST_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_ONS_MODEL_ONSGROUPCONSUMERUPDATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSGROUPCONSUMERUPDATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsGroupConsumerUpdateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsGroupConsumerUpdateRequest();
|
||||
~OnsGroupConsumerUpdateRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
bool getReadEnable()const;
|
||||
void setReadEnable(bool readEnable);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
bool readEnable_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPCONSUMERUPDATEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSGROUPCONSUMERUPDATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSGROUPCONSUMERUPDATEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsGroupConsumerUpdateRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsGroupConsumerUpdateRequest();
|
||||
~OnsGroupConsumerUpdateRequest();
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
bool getReadEnable() const;
|
||||
void setReadEnable(bool readEnable);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
bool readEnable_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPCONSUMERUPDATEREQUEST_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_ONS_MODEL_ONSGROUPCREATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSGROUPCREATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsGroupCreateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsGroupCreateRequest();
|
||||
~OnsGroupCreateRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupType()const;
|
||||
void setGroupType(const std::string& groupType);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string remark_;
|
||||
std::string instanceId_;
|
||||
std::string groupType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPCREATEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSGROUPCREATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSGROUPCREATEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsGroupCreateRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsGroupCreateRequest();
|
||||
~OnsGroupCreateRequest();
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
std::string getRemark() const;
|
||||
void setRemark(const std::string &remark);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getGroupType() const;
|
||||
void setGroupType(const std::string &groupType);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string remark_;
|
||||
std::string instanceId_;
|
||||
std::string groupType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPCREATEREQUEST_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_ONS_MODEL_ONSGROUPDELETEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSGROUPDELETEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsGroupDeleteRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsGroupDeleteRequest();
|
||||
~OnsGroupDeleteRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPDELETEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSGROUPDELETEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSGROUPDELETEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsGroupDeleteRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsGroupDeleteRequest();
|
||||
~OnsGroupDeleteRequest();
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPDELETEREQUEST_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_ONS_MODEL_ONSGROUPLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSGROUPLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsGroupListRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
OnsGroupListRequest();
|
||||
~OnsGroupListRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupType()const;
|
||||
void setGroupType(const std::string& groupType);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string instanceId_;
|
||||
std::string groupType_;
|
||||
std::vector<Tag> tag_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPLISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSGROUPLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSGROUPLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsGroupListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
OnsGroupListRequest();
|
||||
~OnsGroupListRequest();
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
std::string getUserId() const;
|
||||
void setUserId(const std::string &userId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getGroupType() const;
|
||||
void setGroupType(const std::string &groupType);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string userId_;
|
||||
std::string instanceId_;
|
||||
std::string groupType_;
|
||||
std::vector<Tag> tag_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPLISTREQUEST_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_ONS_MODEL_ONSGROUPSUBDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSGROUPSUBDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsGroupSubDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsGroupSubDetailRequest();
|
||||
~OnsGroupSubDetailRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPSUBDETAILREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSGROUPSUBDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSGROUPSUBDETAILREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsGroupSubDetailRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsGroupSubDetailRequest();
|
||||
~OnsGroupSubDetailRequest();
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPSUBDETAILREQUEST_H_
|
||||
|
||||
@@ -1,48 +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_ONS_MODEL_ONSINSTANCEBASEINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEBASEINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsInstanceBaseInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsInstanceBaseInfoRequest();
|
||||
~OnsInstanceBaseInfoRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEBASEINFOREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSINSTANCEBASEINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEBASEINFOREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsInstanceBaseInfoRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsInstanceBaseInfoRequest();
|
||||
~OnsInstanceBaseInfoRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEBASEINFOREQUEST_H_
|
||||
|
||||
@@ -42,16 +42,19 @@ namespace AlibabaCloud
|
||||
std::string httpInternetEndpoint;
|
||||
std::string httpInternetSecureEndpoint;
|
||||
};
|
||||
Endpoints endpoints;
|
||||
long maxTps;
|
||||
int spInstanceType;
|
||||
std::string instanceId;
|
||||
std::string createTime;
|
||||
bool independentNaming;
|
||||
std::string remark;
|
||||
Endpoints endpoints;
|
||||
std::string instanceName;
|
||||
int topicCapacity;
|
||||
std::string spInstanceId;
|
||||
long releaseTime;
|
||||
std::string instanceId;
|
||||
int instanceStatus;
|
||||
bool independentNaming;
|
||||
int instanceType;
|
||||
std::string remark;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -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_ONS_MODEL_ONSINSTANCECREATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCECREATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsInstanceCreateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsInstanceCreateRequest();
|
||||
~OnsInstanceCreateRequest();
|
||||
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
|
||||
private:
|
||||
std::string remark_;
|
||||
std::string instanceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCECREATEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSINSTANCECREATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCECREATEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsInstanceCreateRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsInstanceCreateRequest();
|
||||
~OnsInstanceCreateRequest();
|
||||
std::string getRemark() const;
|
||||
void setRemark(const std::string &remark);
|
||||
std::string getInstanceName() const;
|
||||
void setInstanceName(const std::string &instanceName);
|
||||
|
||||
private:
|
||||
std::string remark_;
|
||||
std::string instanceName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCECREATEREQUEST_H_
|
||||
|
||||
@@ -1,48 +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_ONS_MODEL_ONSINSTANCEDELETEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEDELETEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsInstanceDeleteRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsInstanceDeleteRequest();
|
||||
~OnsInstanceDeleteRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEDELETEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSINSTANCEDELETEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEDELETEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsInstanceDeleteRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsInstanceDeleteRequest();
|
||||
~OnsInstanceDeleteRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEDELETEREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,49 @@
|
||||
/*
|
||||
* 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_ONS_MODEL_ONSINSTANCEINSERVICELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEINSERVICELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsInstanceInServiceListRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
OnsInstanceInServiceListRequest();
|
||||
~OnsInstanceInServiceListRequest();
|
||||
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
|
||||
private:
|
||||
std::vector<Tag> tag_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEINSERVICELISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSINSTANCEINSERVICELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEINSERVICELISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsInstanceInServiceListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
OnsInstanceInServiceListRequest();
|
||||
~OnsInstanceInServiceListRequest();
|
||||
std::string getUserId() const;
|
||||
void setUserId(const std::string &userId);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
std::vector<Tag> tag_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEINSERVICELISTREQUEST_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_ONS_MODEL_ONSINSTANCEUPDATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEUPDATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsInstanceUpdateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsInstanceUpdateRequest();
|
||||
~OnsInstanceUpdateRequest();
|
||||
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string remark_;
|
||||
std::string instanceName_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEUPDATEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSINSTANCEUPDATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEUPDATEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsInstanceUpdateRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsInstanceUpdateRequest();
|
||||
~OnsInstanceUpdateRequest();
|
||||
std::string getRemark() const;
|
||||
void setRemark(const std::string &remark);
|
||||
std::string getInstanceName() const;
|
||||
void setInstanceName(const std::string &instanceName);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string remark_;
|
||||
std::string instanceName_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEUPDATEREQUEST_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_ONS_MODEL_ONSMESSAGEGETBYKEYREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYKEYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessageGetByKeyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsMessageGetByKeyRequest();
|
||||
~OnsMessageGetByKeyRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
std::string getKey()const;
|
||||
void setKey(const std::string& key);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
std::string key_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYKEYREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYKEYREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYKEYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessageGetByKeyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsMessageGetByKeyRequest();
|
||||
~OnsMessageGetByKeyRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
std::string getKey() const;
|
||||
void setKey(const std::string &key);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
std::string key_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYKEYREQUEST_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_ONS_MODEL_ONSMESSAGEGETBYMSGIDREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYMSGIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessageGetByMsgIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsMessageGetByMsgIdRequest();
|
||||
~OnsMessageGetByMsgIdRequest();
|
||||
|
||||
std::string getMsgId()const;
|
||||
void setMsgId(const std::string& msgId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
std::string msgId_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYMSGIDREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYMSGIDREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYMSGIDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessageGetByMsgIdRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsMessageGetByMsgIdRequest();
|
||||
~OnsMessageGetByMsgIdRequest();
|
||||
std::string getMsgId() const;
|
||||
void setMsgId(const std::string &msgId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
|
||||
private:
|
||||
std::string msgId_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYMSGIDREQUEST_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_ONS_MODEL_ONSMESSAGEPAGEQUERYBYTOPICREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPAGEQUERYBYTOPICREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessagePageQueryByTopicRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsMessagePageQueryByTopicRequest();
|
||||
~OnsMessagePageQueryByTopicRequest();
|
||||
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getBeginTime()const;
|
||||
void setBeginTime(long beginTime);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
|
||||
private:
|
||||
long endTime_;
|
||||
long beginTime_;
|
||||
int currentPage_;
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
std::string topic_;
|
||||
std::string taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPAGEQUERYBYTOPICREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPAGEQUERYBYTOPICREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPAGEQUERYBYTOPICREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessagePageQueryByTopicRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsMessagePageQueryByTopicRequest();
|
||||
~OnsMessagePageQueryByTopicRequest();
|
||||
long getEndTime() const;
|
||||
void setEndTime(long endTime);
|
||||
long getBeginTime() const;
|
||||
void setBeginTime(long beginTime);
|
||||
int getCurrentPage() const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
std::string getTaskId() const;
|
||||
void setTaskId(const std::string &taskId);
|
||||
|
||||
private:
|
||||
long endTime_;
|
||||
long beginTime_;
|
||||
int currentPage_;
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
std::string topic_;
|
||||
std::string taskId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPAGEQUERYBYTOPICREQUEST_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_ONS_MODEL_ONSMESSAGEPUSHREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPUSHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessagePushRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsMessagePushRequest();
|
||||
~OnsMessagePushRequest();
|
||||
|
||||
std::string getClientId()const;
|
||||
void setClientId(const std::string& clientId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getMsgId()const;
|
||||
void setMsgId(const std::string& msgId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
std::string clientId_;
|
||||
std::string groupId_;
|
||||
std::string msgId_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPUSHREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPUSHREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPUSHREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessagePushRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsMessagePushRequest();
|
||||
~OnsMessagePushRequest();
|
||||
std::string getClientId() const;
|
||||
void setClientId(const std::string &clientId);
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
std::string getMsgId() const;
|
||||
void setMsgId(const std::string &msgId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
|
||||
private:
|
||||
std::string clientId_;
|
||||
std::string groupId_;
|
||||
std::string msgId_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPUSHREQUEST_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_ONS_MODEL_ONSMESSAGETRACEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGETRACEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessageTraceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsMessageTraceRequest();
|
||||
~OnsMessageTraceRequest();
|
||||
|
||||
std::string getMsgId()const;
|
||||
void setMsgId(const std::string& msgId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
std::string msgId_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGETRACEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMESSAGETRACEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGETRACEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessageTraceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsMessageTraceRequest();
|
||||
~OnsMessageTraceRequest();
|
||||
std::string getMsgId() const;
|
||||
void setMsgId(const std::string &msgId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
|
||||
private:
|
||||
std::string msgId_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGETRACEREQUEST_H_
|
||||
|
||||
@@ -1,45 +1,39 @@
|
||||
/*
|
||||
* 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_ONS_MODEL_ONSREGIONLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSREGIONLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsRegionListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsRegionListRequest();
|
||||
~OnsRegionListRequest();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSREGIONLISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSREGIONLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSREGIONLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsRegionListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsRegionListRequest();
|
||||
~OnsRegionListRequest();
|
||||
|
||||
private:
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSREGIONLISTREQUEST_H_
|
||||
|
||||
@@ -36,8 +36,8 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string channelName;
|
||||
std::string regionName;
|
||||
std::string onsRegionId;
|
||||
long createTime;
|
||||
std::string onsRegionId;
|
||||
long updateTime;
|
||||
long id;
|
||||
int channelId;
|
||||
|
||||
@@ -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_ONS_MODEL_ONSTOPICCREATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICCREATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicCreateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsTopicCreateRequest();
|
||||
~OnsTopicCreateRequest();
|
||||
|
||||
int getMessageType()const;
|
||||
void setMessageType(int messageType);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
int messageType_;
|
||||
std::string remark_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICCREATEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICCREATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICCREATEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicCreateRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsTopicCreateRequest();
|
||||
~OnsTopicCreateRequest();
|
||||
int getMessageType() const;
|
||||
void setMessageType(int messageType);
|
||||
std::string getRemark() const;
|
||||
void setRemark(const std::string &remark);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
|
||||
private:
|
||||
int messageType_;
|
||||
std::string remark_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICCREATEREQUEST_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_ONS_MODEL_ONSTOPICDELETEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICDELETEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicDeleteRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsTopicDeleteRequest();
|
||||
~OnsTopicDeleteRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICDELETEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICDELETEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICDELETEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicDeleteRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsTopicDeleteRequest();
|
||||
~OnsTopicDeleteRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICDELETEREQUEST_H_
|
||||
|
||||
@@ -1,60 +1,55 @@
|
||||
/*
|
||||
* 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_ONS_MODEL_ONSTOPICLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicListRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
OnsTopicListRequest();
|
||||
~OnsTopicListRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
std::vector<Tag> tag_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICLISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
OnsTopicListRequest();
|
||||
~OnsTopicListRequest();
|
||||
std::string getUserId() const;
|
||||
void setUserId(const std::string &userId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
std::vector<Tag> tag_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICLISTREQUEST_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_ONS_MODEL_ONSTOPICSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICSTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsTopicStatusRequest();
|
||||
~OnsTopicStatusRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICSTATUSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICSTATUSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicStatusRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsTopicStatusRequest();
|
||||
~OnsTopicStatusRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICSTATUSREQUEST_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_ONS_MODEL_ONSTOPICSUBDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICSUBDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicSubDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsTopicSubDetailRequest();
|
||||
~OnsTopicSubDetailRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICSUBDETAILREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICSUBDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICSUBDETAILREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicSubDetailRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsTopicSubDetailRequest();
|
||||
~OnsTopicSubDetailRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICSUBDETAILREQUEST_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_ONS_MODEL_ONSTOPICUPDATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICUPDATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicUpdateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsTopicUpdateRequest();
|
||||
~OnsTopicUpdateRequest();
|
||||
|
||||
int getPerm()const;
|
||||
void setPerm(int perm);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
int perm_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICUPDATEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICUPDATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICUPDATEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicUpdateRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsTopicUpdateRequest();
|
||||
~OnsTopicUpdateRequest();
|
||||
int getPerm() const;
|
||||
void setPerm(int perm);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
|
||||
private:
|
||||
int perm_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICUPDATEREQUEST_H_
|
||||
|
||||
@@ -1,48 +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_ONS_MODEL_ONSTRACEGETRESULTREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTRACEGETRESULTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTraceGetResultRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsTraceGetResultRequest();
|
||||
~OnsTraceGetResultRequest();
|
||||
|
||||
std::string getQueryId()const;
|
||||
void setQueryId(const std::string& queryId);
|
||||
|
||||
private:
|
||||
std::string queryId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRACEGETRESULTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTRACEGETRESULTREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTRACEGETRESULTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTraceGetResultRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsTraceGetResultRequest();
|
||||
~OnsTraceGetResultRequest();
|
||||
std::string getQueryId() const;
|
||||
void setQueryId(const std::string &queryId);
|
||||
|
||||
private:
|
||||
std::string queryId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRACEGETRESULTREQUEST_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_ONS_MODEL_ONSTRACEQUERYBYMSGIDREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTraceQueryByMsgIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsTraceQueryByMsgIdRequest();
|
||||
~OnsTraceQueryByMsgIdRequest();
|
||||
|
||||
std::string getMsgId()const;
|
||||
void setMsgId(const std::string& msgId);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getBeginTime()const;
|
||||
void setBeginTime(long beginTime);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
std::string msgId_;
|
||||
long endTime_;
|
||||
long beginTime_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGIDREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGIDREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGIDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTraceQueryByMsgIdRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsTraceQueryByMsgIdRequest();
|
||||
~OnsTraceQueryByMsgIdRequest();
|
||||
std::string getMsgId() const;
|
||||
void setMsgId(const std::string &msgId);
|
||||
long getEndTime() const;
|
||||
void setEndTime(long endTime);
|
||||
long getBeginTime() const;
|
||||
void setBeginTime(long beginTime);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
|
||||
private:
|
||||
std::string msgId_;
|
||||
long endTime_;
|
||||
long beginTime_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGIDREQUEST_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_ONS_MODEL_ONSTRACEQUERYBYMSGKEYREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGKEYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTraceQueryByMsgKeyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsTraceQueryByMsgKeyRequest();
|
||||
~OnsTraceQueryByMsgKeyRequest();
|
||||
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getBeginTime()const;
|
||||
void setBeginTime(long beginTime);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
std::string getMsgKey()const;
|
||||
void setMsgKey(const std::string& msgKey);
|
||||
|
||||
private:
|
||||
long endTime_;
|
||||
long beginTime_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
std::string msgKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGKEYREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGKEYREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGKEYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTraceQueryByMsgKeyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsTraceQueryByMsgKeyRequest();
|
||||
~OnsTraceQueryByMsgKeyRequest();
|
||||
long getEndTime() const;
|
||||
void setEndTime(long endTime);
|
||||
long getBeginTime() const;
|
||||
void setBeginTime(long beginTime);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
std::string getMsgKey() const;
|
||||
void setMsgKey(const std::string &msgKey);
|
||||
|
||||
private:
|
||||
long endTime_;
|
||||
long beginTime_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
std::string msgKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGKEYREQUEST_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_ONS_MODEL_ONSTRENDGROUPOUTPUTTPSREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTRENDGROUPOUTPUTTPSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTrendGroupOutputTpsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsTrendGroupOutputTpsRequest();
|
||||
~OnsTrendGroupOutputTpsRequest();
|
||||
|
||||
long getPeriod()const;
|
||||
void setPeriod(long period);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getBeginTime()const;
|
||||
void setBeginTime(long beginTime);
|
||||
int getType()const;
|
||||
void setType(int type);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
long period_;
|
||||
std::string groupId_;
|
||||
long endTime_;
|
||||
long beginTime_;
|
||||
int type_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRENDGROUPOUTPUTTPSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTRENDGROUPOUTPUTTPSREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTRENDGROUPOUTPUTTPSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTrendGroupOutputTpsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsTrendGroupOutputTpsRequest();
|
||||
~OnsTrendGroupOutputTpsRequest();
|
||||
long getPeriod() const;
|
||||
void setPeriod(long period);
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
long getEndTime() const;
|
||||
void setEndTime(long endTime);
|
||||
long getBeginTime() const;
|
||||
void setBeginTime(long beginTime);
|
||||
int getType() const;
|
||||
void setType(int type);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
|
||||
private:
|
||||
long period_;
|
||||
std::string groupId_;
|
||||
long endTime_;
|
||||
long beginTime_;
|
||||
int type_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRENDGROUPOUTPUTTPSREQUEST_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_ONS_MODEL_ONSTRENDTOPICINPUTTPSREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTRENDTOPICINPUTTPSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTrendTopicInputTpsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsTrendTopicInputTpsRequest();
|
||||
~OnsTrendTopicInputTpsRequest();
|
||||
|
||||
long getPeriod()const;
|
||||
void setPeriod(long period);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getBeginTime()const;
|
||||
void setBeginTime(long beginTime);
|
||||
int getType()const;
|
||||
void setType(int type);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
long period_;
|
||||
long endTime_;
|
||||
long beginTime_;
|
||||
int type_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRENDTOPICINPUTTPSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTRENDTOPICINPUTTPSREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTRENDTOPICINPUTTPSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTrendTopicInputTpsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OnsTrendTopicInputTpsRequest();
|
||||
~OnsTrendTopicInputTpsRequest();
|
||||
long getPeriod() const;
|
||||
void setPeriod(long period);
|
||||
long getEndTime() const;
|
||||
void setEndTime(long endTime);
|
||||
long getBeginTime() const;
|
||||
void setBeginTime(long beginTime);
|
||||
int getType() const;
|
||||
void setType(int type);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
|
||||
private:
|
||||
long period_;
|
||||
long endTime_;
|
||||
long beginTime_;
|
||||
int type_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRENDTOPICINPUTTPSREQUEST_H_
|
||||
|
||||
@@ -1,72 +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_ONS_MODEL_ONSWARNCREATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSWARNCREATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsWarnCreateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsWarnCreateRequest();
|
||||
~OnsWarnCreateRequest();
|
||||
|
||||
std::string getLevel()const;
|
||||
void setLevel(const std::string& level);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getDelayTime()const;
|
||||
void setDelayTime(const std::string& delayTime);
|
||||
std::string getThreshold()const;
|
||||
void setThreshold(const std::string& threshold);
|
||||
std::string getAlertTime()const;
|
||||
void setAlertTime(const std::string& alertTime);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getBlockTime()const;
|
||||
void setBlockTime(const std::string& blockTime);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
std::string getContacts()const;
|
||||
void setContacts(const std::string& contacts);
|
||||
|
||||
private:
|
||||
std::string level_;
|
||||
std::string groupId_;
|
||||
std::string delayTime_;
|
||||
std::string threshold_;
|
||||
std::string alertTime_;
|
||||
std::string instanceId_;
|
||||
std::string blockTime_;
|
||||
std::string topic_;
|
||||
std::string contacts_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSWARNCREATEREQUEST_H_
|
||||
@@ -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_ONS_MODEL_ONSWARNCREATERESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSWARNCREATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsWarnCreateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OnsWarnCreateResult();
|
||||
explicit OnsWarnCreateResult(const std::string &payload);
|
||||
~OnsWarnCreateResult();
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSWARNCREATERESULT_H_
|
||||
@@ -1,54 +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_ONS_MODEL_ONSWARNDELETEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSWARNDELETEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsWarnDeleteRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsWarnDeleteRequest();
|
||||
~OnsWarnDeleteRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSWARNDELETEREQUEST_H_
|
||||
@@ -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_ONS_MODEL_ONSWARNDELETERESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSWARNDELETERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsWarnDeleteResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OnsWarnDeleteResult();
|
||||
explicit OnsWarnDeleteResult(const std::string &payload);
|
||||
~OnsWarnDeleteResult();
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSWARNDELETERESULT_H_
|
||||
@@ -1,45 +1,39 @@
|
||||
/*
|
||||
* 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_ONS_MODEL_OPENONSSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_OPENONSSERVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OpenOnsServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OpenOnsServiceRequest();
|
||||
~OpenOnsServiceRequest();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_OPENONSSERVICEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_OPENONSSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_OPENONSSERVICEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_EXPORT OpenOnsServiceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
OpenOnsServiceRequest();
|
||||
~OpenOnsServiceRequest();
|
||||
|
||||
private:
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_OPENONSSERVICEREQUEST_H_
|
||||
|
||||
@@ -1,63 +1,55 @@
|
||||
/*
|
||||
* 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_ONS_MODEL_TAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_TAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_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 getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
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::vector<Tag> tag_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_TAGRESOURCESREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_TAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_TAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_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::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
|
||||
private:
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceType_;
|
||||
std::string instanceId_;
|
||||
std::vector<Tag> tag_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_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_ONS_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_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 getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
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 instanceId_;
|
||||
std::vector<std::string> tagKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ons {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ONS_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 getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
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 instanceId_;
|
||||
std::vector<std::string> tagKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ons
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
|
||||
@@ -1347,78 +1347,6 @@ OnsClient::OnsTrendTopicInputTpsOutcomeCallable OnsClient::onsTrendTopicInputTps
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
OnsClient::OnsWarnCreateOutcome OnsClient::onsWarnCreate(const OnsWarnCreateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return OnsWarnCreateOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return OnsWarnCreateOutcome(OnsWarnCreateResult(outcome.result()));
|
||||
else
|
||||
return OnsWarnCreateOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void OnsClient::onsWarnCreateAsync(const OnsWarnCreateRequest& request, const OnsWarnCreateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, onsWarnCreate(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
OnsClient::OnsWarnCreateOutcomeCallable OnsClient::onsWarnCreateCallable(const OnsWarnCreateRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<OnsWarnCreateOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->onsWarnCreate(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
OnsClient::OnsWarnDeleteOutcome OnsClient::onsWarnDelete(const OnsWarnDeleteRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return OnsWarnDeleteOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return OnsWarnDeleteOutcome(OnsWarnDeleteResult(outcome.result()));
|
||||
else
|
||||
return OnsWarnDeleteOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void OnsClient::onsWarnDeleteAsync(const OnsWarnDeleteRequest& request, const OnsWarnDeleteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, onsWarnDelete(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
OnsClient::OnsWarnDeleteOutcomeCallable OnsClient::onsWarnDeleteCallable(const OnsWarnDeleteRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<OnsWarnDeleteOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->onsWarnDelete(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
OnsClient::OpenOnsServiceOutcome OnsClient::openOnsService(const OpenOnsServiceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -1,91 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/ListTagResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::ListTagResourcesRequest;
|
||||
|
||||
ListTagResourcesRequest::ListTagResourcesRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "ListTagResources")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListTagResourcesRequest::~ListTagResourcesRequest()
|
||||
{}
|
||||
|
||||
std::vector<std::string> ListTagResourcesRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/ListTagResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::ListTagResourcesRequest;
|
||||
|
||||
ListTagResourcesRequest::ListTagResourcesRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "ListTagResources") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
for(int dep1 = 0; dep1!= resourceId.size(); dep1++) {
|
||||
setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1));
|
||||
}
|
||||
ListTagResourcesRequest::~ListTagResourcesRequest() {}
|
||||
|
||||
std::vector<std::string> ListTagResourcesRequest::getResourceId() const {
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
std::string ListTagResourcesRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
void ListTagResourcesRequest::setResourceId(const std::vector<std::string> &resourceId) {
|
||||
resourceId_ = resourceId;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
std::string ListTagResourcesRequest::getResourceType() const {
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
std::string ListTagResourcesRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void ListTagResourcesRequest::setResourceType(const std::string &resourceType) {
|
||||
resourceType_ = resourceType;
|
||||
setParameter(std::string("ResourceType"), resourceType);
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string ListTagResourcesRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string ListTagResourcesRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
void ListTagResourcesRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setNextToken(const std::string& nextToken)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setParameter("NextToken", nextToken);
|
||||
std::string ListTagResourcesRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
std::vector<ListTagResourcesRequest::Tag> ListTagResourcesRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
void ListTagResourcesRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
std::vector<ListTagResourcesRequest::Tag> ListTagResourcesRequest::getTag() const {
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setTag(const std::vector<ListTagResourcesRequest::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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsConsumerAccumulateRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsConsumerAccumulateRequest;
|
||||
|
||||
OnsConsumerAccumulateRequest::OnsConsumerAccumulateRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsConsumerAccumulate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsConsumerAccumulateRequest::~OnsConsumerAccumulateRequest()
|
||||
{}
|
||||
|
||||
std::string OnsConsumerAccumulateRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsConsumerAccumulateRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsConsumerAccumulateRequest;
|
||||
|
||||
OnsConsumerAccumulateRequest::OnsConsumerAccumulateRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsConsumerAccumulate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsConsumerAccumulateRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
OnsConsumerAccumulateRequest::~OnsConsumerAccumulateRequest() {}
|
||||
|
||||
std::string OnsConsumerAccumulateRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
std::string OnsConsumerAccumulateRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsConsumerAccumulateRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
void OnsConsumerAccumulateRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsConsumerAccumulateRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
bool OnsConsumerAccumulateRequest::getDetail()const
|
||||
{
|
||||
return detail_;
|
||||
void OnsConsumerAccumulateRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsConsumerAccumulateRequest::setDetail(bool detail)
|
||||
{
|
||||
detail_ = detail;
|
||||
setParameter("Detail", detail ? "true" : "false");
|
||||
bool OnsConsumerAccumulateRequest::getDetail() const {
|
||||
return detail_;
|
||||
}
|
||||
|
||||
void OnsConsumerAccumulateRequest::setDetail(bool detail) {
|
||||
detail_ = detail;
|
||||
setParameter(std::string("Detail"), detail ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsConsumerGetConnectionRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsConsumerGetConnectionRequest;
|
||||
|
||||
OnsConsumerGetConnectionRequest::OnsConsumerGetConnectionRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsConsumerGetConnection")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsConsumerGetConnectionRequest::~OnsConsumerGetConnectionRequest()
|
||||
{}
|
||||
|
||||
std::string OnsConsumerGetConnectionRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsConsumerGetConnectionRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsConsumerGetConnectionRequest;
|
||||
|
||||
OnsConsumerGetConnectionRequest::OnsConsumerGetConnectionRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsConsumerGetConnection") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsConsumerGetConnectionRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
OnsConsumerGetConnectionRequest::~OnsConsumerGetConnectionRequest() {}
|
||||
|
||||
std::string OnsConsumerGetConnectionRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
std::string OnsConsumerGetConnectionRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsConsumerGetConnectionRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
void OnsConsumerGetConnectionRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsConsumerGetConnectionRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void OnsConsumerGetConnectionRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsConsumerResetOffsetRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsConsumerResetOffsetRequest;
|
||||
|
||||
OnsConsumerResetOffsetRequest::OnsConsumerResetOffsetRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsConsumerResetOffset")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsConsumerResetOffsetRequest::~OnsConsumerResetOffsetRequest()
|
||||
{}
|
||||
|
||||
std::string OnsConsumerResetOffsetRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsConsumerResetOffsetRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsConsumerResetOffsetRequest;
|
||||
|
||||
OnsConsumerResetOffsetRequest::OnsConsumerResetOffsetRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsConsumerResetOffset") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsConsumerResetOffsetRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
OnsConsumerResetOffsetRequest::~OnsConsumerResetOffsetRequest() {}
|
||||
|
||||
std::string OnsConsumerResetOffsetRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
long OnsConsumerResetOffsetRequest::getResetTimestamp()const
|
||||
{
|
||||
return resetTimestamp_;
|
||||
void OnsConsumerResetOffsetRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
void OnsConsumerResetOffsetRequest::setResetTimestamp(long resetTimestamp)
|
||||
{
|
||||
resetTimestamp_ = resetTimestamp;
|
||||
setParameter("ResetTimestamp", std::to_string(resetTimestamp));
|
||||
long OnsConsumerResetOffsetRequest::getResetTimestamp() const {
|
||||
return resetTimestamp_;
|
||||
}
|
||||
|
||||
int OnsConsumerResetOffsetRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
void OnsConsumerResetOffsetRequest::setResetTimestamp(long resetTimestamp) {
|
||||
resetTimestamp_ = resetTimestamp;
|
||||
setParameter(std::string("ResetTimestamp"), std::to_string(resetTimestamp));
|
||||
}
|
||||
|
||||
void OnsConsumerResetOffsetRequest::setType(int type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", std::to_string(type));
|
||||
int OnsConsumerResetOffsetRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
std::string OnsConsumerResetOffsetRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsConsumerResetOffsetRequest::setType(int type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), std::to_string(type));
|
||||
}
|
||||
|
||||
void OnsConsumerResetOffsetRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsConsumerResetOffsetRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string OnsConsumerResetOffsetRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void OnsConsumerResetOffsetRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsConsumerResetOffsetRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string OnsConsumerResetOffsetRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void OnsConsumerResetOffsetRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsConsumerStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsConsumerStatusRequest;
|
||||
|
||||
OnsConsumerStatusRequest::OnsConsumerStatusRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsConsumerStatus")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsConsumerStatusRequest::~OnsConsumerStatusRequest()
|
||||
{}
|
||||
|
||||
std::string OnsConsumerStatusRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsConsumerStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsConsumerStatusRequest;
|
||||
|
||||
OnsConsumerStatusRequest::OnsConsumerStatusRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsConsumerStatus") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsConsumerStatusRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
OnsConsumerStatusRequest::~OnsConsumerStatusRequest() {}
|
||||
|
||||
std::string OnsConsumerStatusRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
std::string OnsConsumerStatusRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsConsumerStatusRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
void OnsConsumerStatusRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsConsumerStatusRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
bool OnsConsumerStatusRequest::getNeedJstack()const
|
||||
{
|
||||
return needJstack_;
|
||||
void OnsConsumerStatusRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsConsumerStatusRequest::setNeedJstack(bool needJstack)
|
||||
{
|
||||
needJstack_ = needJstack;
|
||||
setParameter("NeedJstack", needJstack ? "true" : "false");
|
||||
bool OnsConsumerStatusRequest::getNeedJstack() const {
|
||||
return needJstack_;
|
||||
}
|
||||
|
||||
bool OnsConsumerStatusRequest::getDetail()const
|
||||
{
|
||||
return detail_;
|
||||
void OnsConsumerStatusRequest::setNeedJstack(bool needJstack) {
|
||||
needJstack_ = needJstack;
|
||||
setParameter(std::string("NeedJstack"), needJstack ? "true" : "false");
|
||||
}
|
||||
|
||||
void OnsConsumerStatusRequest::setDetail(bool detail)
|
||||
{
|
||||
detail_ = detail;
|
||||
setParameter("Detail", detail ? "true" : "false");
|
||||
bool OnsConsumerStatusRequest::getDetail() const {
|
||||
return detail_;
|
||||
}
|
||||
|
||||
void OnsConsumerStatusRequest::setDetail(bool detail) {
|
||||
detail_ = detail;
|
||||
setParameter(std::string("Detail"), detail ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsConsumerTimeSpanRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsConsumerTimeSpanRequest;
|
||||
|
||||
OnsConsumerTimeSpanRequest::OnsConsumerTimeSpanRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsConsumerTimeSpan")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsConsumerTimeSpanRequest::~OnsConsumerTimeSpanRequest()
|
||||
{}
|
||||
|
||||
std::string OnsConsumerTimeSpanRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsConsumerTimeSpanRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsConsumerTimeSpanRequest;
|
||||
|
||||
OnsConsumerTimeSpanRequest::OnsConsumerTimeSpanRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsConsumerTimeSpan") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsConsumerTimeSpanRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
OnsConsumerTimeSpanRequest::~OnsConsumerTimeSpanRequest() {}
|
||||
|
||||
std::string OnsConsumerTimeSpanRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
std::string OnsConsumerTimeSpanRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsConsumerTimeSpanRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
void OnsConsumerTimeSpanRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsConsumerTimeSpanRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string OnsConsumerTimeSpanRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void OnsConsumerTimeSpanRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsConsumerTimeSpanRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string OnsConsumerTimeSpanRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void OnsConsumerTimeSpanRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsDLQMessageGetByIdRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsDLQMessageGetByIdRequest;
|
||||
|
||||
OnsDLQMessageGetByIdRequest::OnsDLQMessageGetByIdRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsDLQMessageGetById")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsDLQMessageGetByIdRequest::~OnsDLQMessageGetByIdRequest()
|
||||
{}
|
||||
|
||||
std::string OnsDLQMessageGetByIdRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsDLQMessageGetByIdRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsDLQMessageGetByIdRequest;
|
||||
|
||||
OnsDLQMessageGetByIdRequest::OnsDLQMessageGetByIdRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsDLQMessageGetById") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsDLQMessageGetByIdRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
OnsDLQMessageGetByIdRequest::~OnsDLQMessageGetByIdRequest() {}
|
||||
|
||||
std::string OnsDLQMessageGetByIdRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
std::string OnsDLQMessageGetByIdRequest::getMsgId()const
|
||||
{
|
||||
return msgId_;
|
||||
void OnsDLQMessageGetByIdRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
void OnsDLQMessageGetByIdRequest::setMsgId(const std::string& msgId)
|
||||
{
|
||||
msgId_ = msgId;
|
||||
setParameter("MsgId", msgId);
|
||||
std::string OnsDLQMessageGetByIdRequest::getMsgId() const {
|
||||
return msgId_;
|
||||
}
|
||||
|
||||
std::string OnsDLQMessageGetByIdRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsDLQMessageGetByIdRequest::setMsgId(const std::string &msgId) {
|
||||
msgId_ = msgId;
|
||||
setParameter(std::string("MsgId"), msgId);
|
||||
}
|
||||
|
||||
void OnsDLQMessageGetByIdRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsDLQMessageGetByIdRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void OnsDLQMessageGetByIdRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsDLQMessagePageQueryByGroupIdRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsDLQMessagePageQueryByGroupIdRequest;
|
||||
|
||||
OnsDLQMessagePageQueryByGroupIdRequest::OnsDLQMessagePageQueryByGroupIdRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsDLQMessagePageQueryByGroupId")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsDLQMessagePageQueryByGroupIdRequest::~OnsDLQMessagePageQueryByGroupIdRequest()
|
||||
{}
|
||||
|
||||
std::string OnsDLQMessagePageQueryByGroupIdRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsDLQMessagePageQueryByGroupIdRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsDLQMessagePageQueryByGroupIdRequest;
|
||||
|
||||
OnsDLQMessagePageQueryByGroupIdRequest::OnsDLQMessagePageQueryByGroupIdRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsDLQMessagePageQueryByGroupId") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsDLQMessagePageQueryByGroupIdRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
OnsDLQMessagePageQueryByGroupIdRequest::~OnsDLQMessagePageQueryByGroupIdRequest() {}
|
||||
|
||||
std::string OnsDLQMessagePageQueryByGroupIdRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
long OnsDLQMessagePageQueryByGroupIdRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
void OnsDLQMessagePageQueryByGroupIdRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
void OnsDLQMessagePageQueryByGroupIdRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
long OnsDLQMessagePageQueryByGroupIdRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long OnsDLQMessagePageQueryByGroupIdRequest::getBeginTime()const
|
||||
{
|
||||
return beginTime_;
|
||||
void OnsDLQMessagePageQueryByGroupIdRequest::setEndTime(long endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), std::to_string(endTime));
|
||||
}
|
||||
|
||||
void OnsDLQMessagePageQueryByGroupIdRequest::setBeginTime(long beginTime)
|
||||
{
|
||||
beginTime_ = beginTime;
|
||||
setParameter("BeginTime", std::to_string(beginTime));
|
||||
long OnsDLQMessagePageQueryByGroupIdRequest::getBeginTime() const {
|
||||
return beginTime_;
|
||||
}
|
||||
|
||||
int OnsDLQMessagePageQueryByGroupIdRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
void OnsDLQMessagePageQueryByGroupIdRequest::setBeginTime(long beginTime) {
|
||||
beginTime_ = beginTime;
|
||||
setParameter(std::string("BeginTime"), std::to_string(beginTime));
|
||||
}
|
||||
|
||||
void OnsDLQMessagePageQueryByGroupIdRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
int OnsDLQMessagePageQueryByGroupIdRequest::getCurrentPage() const {
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
std::string OnsDLQMessagePageQueryByGroupIdRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsDLQMessagePageQueryByGroupIdRequest::setCurrentPage(int currentPage) {
|
||||
currentPage_ = currentPage;
|
||||
setParameter(std::string("CurrentPage"), std::to_string(currentPage));
|
||||
}
|
||||
|
||||
void OnsDLQMessagePageQueryByGroupIdRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsDLQMessagePageQueryByGroupIdRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
int OnsDLQMessagePageQueryByGroupIdRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void OnsDLQMessagePageQueryByGroupIdRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsDLQMessagePageQueryByGroupIdRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int OnsDLQMessagePageQueryByGroupIdRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string OnsDLQMessagePageQueryByGroupIdRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
void OnsDLQMessagePageQueryByGroupIdRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void OnsDLQMessagePageQueryByGroupIdRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setParameter("TaskId", taskId);
|
||||
std::string OnsDLQMessagePageQueryByGroupIdRequest::getTaskId() const {
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void OnsDLQMessagePageQueryByGroupIdRequest::setTaskId(const std::string &taskId) {
|
||||
taskId_ = taskId;
|
||||
setParameter(std::string("TaskId"), taskId);
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsDLQMessageResendByIdRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsDLQMessageResendByIdRequest;
|
||||
|
||||
OnsDLQMessageResendByIdRequest::OnsDLQMessageResendByIdRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsDLQMessageResendById")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsDLQMessageResendByIdRequest::~OnsDLQMessageResendByIdRequest()
|
||||
{}
|
||||
|
||||
std::string OnsDLQMessageResendByIdRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsDLQMessageResendByIdRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsDLQMessageResendByIdRequest;
|
||||
|
||||
OnsDLQMessageResendByIdRequest::OnsDLQMessageResendByIdRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsDLQMessageResendById") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsDLQMessageResendByIdRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
OnsDLQMessageResendByIdRequest::~OnsDLQMessageResendByIdRequest() {}
|
||||
|
||||
std::string OnsDLQMessageResendByIdRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
std::string OnsDLQMessageResendByIdRequest::getMsgId()const
|
||||
{
|
||||
return msgId_;
|
||||
void OnsDLQMessageResendByIdRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
void OnsDLQMessageResendByIdRequest::setMsgId(const std::string& msgId)
|
||||
{
|
||||
msgId_ = msgId;
|
||||
setParameter("MsgId", msgId);
|
||||
std::string OnsDLQMessageResendByIdRequest::getMsgId() const {
|
||||
return msgId_;
|
||||
}
|
||||
|
||||
std::string OnsDLQMessageResendByIdRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsDLQMessageResendByIdRequest::setMsgId(const std::string &msgId) {
|
||||
msgId_ = msgId;
|
||||
setParameter(std::string("MsgId"), msgId);
|
||||
}
|
||||
|
||||
void OnsDLQMessageResendByIdRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsDLQMessageResendByIdRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void OnsDLQMessageResendByIdRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsGroupConsumerUpdateRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsGroupConsumerUpdateRequest;
|
||||
|
||||
OnsGroupConsumerUpdateRequest::OnsGroupConsumerUpdateRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsGroupConsumerUpdate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsGroupConsumerUpdateRequest::~OnsGroupConsumerUpdateRequest()
|
||||
{}
|
||||
|
||||
std::string OnsGroupConsumerUpdateRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsGroupConsumerUpdateRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsGroupConsumerUpdateRequest;
|
||||
|
||||
OnsGroupConsumerUpdateRequest::OnsGroupConsumerUpdateRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsGroupConsumerUpdate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsGroupConsumerUpdateRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
OnsGroupConsumerUpdateRequest::~OnsGroupConsumerUpdateRequest() {}
|
||||
|
||||
std::string OnsGroupConsumerUpdateRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
bool OnsGroupConsumerUpdateRequest::getReadEnable()const
|
||||
{
|
||||
return readEnable_;
|
||||
void OnsGroupConsumerUpdateRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
void OnsGroupConsumerUpdateRequest::setReadEnable(bool readEnable)
|
||||
{
|
||||
readEnable_ = readEnable;
|
||||
setParameter("ReadEnable", readEnable ? "true" : "false");
|
||||
bool OnsGroupConsumerUpdateRequest::getReadEnable() const {
|
||||
return readEnable_;
|
||||
}
|
||||
|
||||
std::string OnsGroupConsumerUpdateRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsGroupConsumerUpdateRequest::setReadEnable(bool readEnable) {
|
||||
readEnable_ = readEnable;
|
||||
setParameter(std::string("ReadEnable"), readEnable ? "true" : "false");
|
||||
}
|
||||
|
||||
void OnsGroupConsumerUpdateRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsGroupConsumerUpdateRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void OnsGroupConsumerUpdateRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsGroupCreateRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsGroupCreateRequest;
|
||||
|
||||
OnsGroupCreateRequest::OnsGroupCreateRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsGroupCreate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsGroupCreateRequest::~OnsGroupCreateRequest()
|
||||
{}
|
||||
|
||||
std::string OnsGroupCreateRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsGroupCreateRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsGroupCreateRequest;
|
||||
|
||||
OnsGroupCreateRequest::OnsGroupCreateRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsGroupCreate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsGroupCreateRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
OnsGroupCreateRequest::~OnsGroupCreateRequest() {}
|
||||
|
||||
std::string OnsGroupCreateRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
std::string OnsGroupCreateRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
void OnsGroupCreateRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
void OnsGroupCreateRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setParameter("Remark", remark);
|
||||
std::string OnsGroupCreateRequest::getRemark() const {
|
||||
return remark_;
|
||||
}
|
||||
|
||||
std::string OnsGroupCreateRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsGroupCreateRequest::setRemark(const std::string &remark) {
|
||||
remark_ = remark;
|
||||
setParameter(std::string("Remark"), remark);
|
||||
}
|
||||
|
||||
void OnsGroupCreateRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsGroupCreateRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string OnsGroupCreateRequest::getGroupType()const
|
||||
{
|
||||
return groupType_;
|
||||
void OnsGroupCreateRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsGroupCreateRequest::setGroupType(const std::string& groupType)
|
||||
{
|
||||
groupType_ = groupType;
|
||||
setParameter("GroupType", groupType);
|
||||
std::string OnsGroupCreateRequest::getGroupType() const {
|
||||
return groupType_;
|
||||
}
|
||||
|
||||
void OnsGroupCreateRequest::setGroupType(const std::string &groupType) {
|
||||
groupType_ = groupType;
|
||||
setParameter(std::string("GroupType"), groupType);
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsGroupDeleteRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsGroupDeleteRequest;
|
||||
|
||||
OnsGroupDeleteRequest::OnsGroupDeleteRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsGroupDelete")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsGroupDeleteRequest::~OnsGroupDeleteRequest()
|
||||
{}
|
||||
|
||||
std::string OnsGroupDeleteRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsGroupDeleteRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsGroupDeleteRequest;
|
||||
|
||||
OnsGroupDeleteRequest::OnsGroupDeleteRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsGroupDelete") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsGroupDeleteRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
OnsGroupDeleteRequest::~OnsGroupDeleteRequest() {}
|
||||
|
||||
std::string OnsGroupDeleteRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
std::string OnsGroupDeleteRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsGroupDeleteRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
void OnsGroupDeleteRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsGroupDeleteRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void OnsGroupDeleteRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,78 +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/ons/model/OnsGroupListRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsGroupListRequest;
|
||||
|
||||
OnsGroupListRequest::OnsGroupListRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsGroupList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsGroupListRequest::~OnsGroupListRequest()
|
||||
{}
|
||||
|
||||
std::string OnsGroupListRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsGroupListRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsGroupListRequest;
|
||||
|
||||
OnsGroupListRequest::OnsGroupListRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsGroupList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsGroupListRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
OnsGroupListRequest::~OnsGroupListRequest() {}
|
||||
|
||||
std::string OnsGroupListRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
std::string OnsGroupListRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsGroupListRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
void OnsGroupListRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsGroupListRequest::getUserId() const {
|
||||
return userId_;
|
||||
}
|
||||
|
||||
std::string OnsGroupListRequest::getGroupType()const
|
||||
{
|
||||
return groupType_;
|
||||
void OnsGroupListRequest::setUserId(const std::string &userId) {
|
||||
userId_ = userId;
|
||||
setParameter(std::string("UserId"), userId);
|
||||
}
|
||||
|
||||
void OnsGroupListRequest::setGroupType(const std::string& groupType)
|
||||
{
|
||||
groupType_ = groupType;
|
||||
setParameter("GroupType", groupType);
|
||||
std::string OnsGroupListRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::vector<OnsGroupListRequest::Tag> OnsGroupListRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
void OnsGroupListRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsGroupListRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
std::string OnsGroupListRequest::getGroupType() const {
|
||||
return groupType_;
|
||||
}
|
||||
|
||||
void OnsGroupListRequest::setGroupType(const std::string &groupType) {
|
||||
groupType_ = groupType;
|
||||
setParameter(std::string("GroupType"), groupType);
|
||||
}
|
||||
|
||||
std::vector<OnsGroupListRequest::Tag> OnsGroupListRequest::getTag() const {
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void OnsGroupListRequest::setTag(const std::vector<OnsGroupListRequest::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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsGroupSubDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsGroupSubDetailRequest;
|
||||
|
||||
OnsGroupSubDetailRequest::OnsGroupSubDetailRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsGroupSubDetail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsGroupSubDetailRequest::~OnsGroupSubDetailRequest()
|
||||
{}
|
||||
|
||||
std::string OnsGroupSubDetailRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsGroupSubDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsGroupSubDetailRequest;
|
||||
|
||||
OnsGroupSubDetailRequest::OnsGroupSubDetailRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsGroupSubDetail") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsGroupSubDetailRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
OnsGroupSubDetailRequest::~OnsGroupSubDetailRequest() {}
|
||||
|
||||
std::string OnsGroupSubDetailRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
std::string OnsGroupSubDetailRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsGroupSubDetailRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
void OnsGroupSubDetailRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsGroupSubDetailRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void OnsGroupSubDetailRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* 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/ons/model/OnsInstanceBaseInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsInstanceBaseInfoRequest;
|
||||
|
||||
OnsInstanceBaseInfoRequest::OnsInstanceBaseInfoRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsInstanceBaseInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsInstanceBaseInfoRequest::~OnsInstanceBaseInfoRequest()
|
||||
{}
|
||||
|
||||
std::string OnsInstanceBaseInfoRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsInstanceBaseInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsInstanceBaseInfoRequest;
|
||||
|
||||
OnsInstanceBaseInfoRequest::OnsInstanceBaseInfoRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsInstanceBaseInfo") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsInstanceBaseInfoRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
OnsInstanceBaseInfoRequest::~OnsInstanceBaseInfoRequest() {}
|
||||
|
||||
std::string OnsInstanceBaseInfoRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void OnsInstanceBaseInfoRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -58,17 +58,23 @@ void OnsInstanceBaseInfoResult::parse(const std::string &payload)
|
||||
instanceBaseInfo_.instanceId = instanceBaseInfoNode["InstanceId"].asString();
|
||||
if(!instanceBaseInfoNode["InstanceType"].isNull())
|
||||
instanceBaseInfo_.instanceType = std::stoi(instanceBaseInfoNode["InstanceType"].asString());
|
||||
if(!instanceBaseInfoNode["CreateTime"].isNull())
|
||||
instanceBaseInfo_.createTime = instanceBaseInfoNode["CreateTime"].asString();
|
||||
if(!instanceBaseInfoNode["spInstanceId"].isNull())
|
||||
instanceBaseInfo_.spInstanceId = instanceBaseInfoNode["spInstanceId"].asString();
|
||||
if(!instanceBaseInfoNode["spInstanceType"].isNull())
|
||||
instanceBaseInfo_.spInstanceType = std::stoi(instanceBaseInfoNode["spInstanceType"].asString());
|
||||
auto endpointsNode = instanceBaseInfoNode["Endpoints"];
|
||||
if(!endpointsNode["TcpEndpoint"].isNull())
|
||||
instanceBaseInfo_.endpoints.tcpEndpoint = endpointsNode["TcpEndpoint"].asString();
|
||||
if(!endpointsNode["TcpInternetEndpoint"].isNull())
|
||||
instanceBaseInfo_.endpoints.tcpInternetEndpoint = endpointsNode["TcpInternetEndpoint"].asString();
|
||||
if(!endpointsNode["HttpInternetEndpoint"].isNull())
|
||||
instanceBaseInfo_.endpoints.httpInternetEndpoint = endpointsNode["HttpInternetEndpoint"].asString();
|
||||
if(!endpointsNode["HttpInternalEndpoint"].isNull())
|
||||
instanceBaseInfo_.endpoints.httpInternalEndpoint = endpointsNode["HttpInternalEndpoint"].asString();
|
||||
if(!endpointsNode["HttpInternetSecureEndpoint"].isNull())
|
||||
instanceBaseInfo_.endpoints.httpInternetSecureEndpoint = endpointsNode["HttpInternetSecureEndpoint"].asString();
|
||||
if(!endpointsNode["TcpInternetEndpoint"].isNull())
|
||||
instanceBaseInfo_.endpoints.tcpInternetEndpoint = endpointsNode["TcpInternetEndpoint"].asString();
|
||||
if(!value["HelpUrl"].isNull())
|
||||
helpUrl_ = value["HelpUrl"].asString();
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsInstanceCreateRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsInstanceCreateRequest;
|
||||
|
||||
OnsInstanceCreateRequest::OnsInstanceCreateRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsInstanceCreate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsInstanceCreateRequest::~OnsInstanceCreateRequest()
|
||||
{}
|
||||
|
||||
std::string OnsInstanceCreateRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsInstanceCreateRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsInstanceCreateRequest;
|
||||
|
||||
OnsInstanceCreateRequest::OnsInstanceCreateRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsInstanceCreate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsInstanceCreateRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setParameter("Remark", remark);
|
||||
OnsInstanceCreateRequest::~OnsInstanceCreateRequest() {}
|
||||
|
||||
std::string OnsInstanceCreateRequest::getRemark() const {
|
||||
return remark_;
|
||||
}
|
||||
|
||||
std::string OnsInstanceCreateRequest::getInstanceName()const
|
||||
{
|
||||
return instanceName_;
|
||||
void OnsInstanceCreateRequest::setRemark(const std::string &remark) {
|
||||
remark_ = remark;
|
||||
setParameter(std::string("Remark"), remark);
|
||||
}
|
||||
|
||||
void OnsInstanceCreateRequest::setInstanceName(const std::string& instanceName)
|
||||
{
|
||||
instanceName_ = instanceName;
|
||||
setParameter("InstanceName", instanceName);
|
||||
std::string OnsInstanceCreateRequest::getInstanceName() const {
|
||||
return instanceName_;
|
||||
}
|
||||
|
||||
void OnsInstanceCreateRequest::setInstanceName(const std::string &instanceName) {
|
||||
instanceName_ = instanceName;
|
||||
setParameter(std::string("InstanceName"), instanceName);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* 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/ons/model/OnsInstanceDeleteRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsInstanceDeleteRequest;
|
||||
|
||||
OnsInstanceDeleteRequest::OnsInstanceDeleteRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsInstanceDelete")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsInstanceDeleteRequest::~OnsInstanceDeleteRequest()
|
||||
{}
|
||||
|
||||
std::string OnsInstanceDeleteRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsInstanceDeleteRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsInstanceDeleteRequest;
|
||||
|
||||
OnsInstanceDeleteRequest::OnsInstanceDeleteRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsInstanceDelete") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsInstanceDeleteRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
OnsInstanceDeleteRequest::~OnsInstanceDeleteRequest() {}
|
||||
|
||||
std::string OnsInstanceDeleteRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void OnsInstanceDeleteRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,45 +1,50 @@
|
||||
/*
|
||||
* 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/ons/model/OnsInstanceInServiceListRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsInstanceInServiceListRequest;
|
||||
|
||||
OnsInstanceInServiceListRequest::OnsInstanceInServiceListRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsInstanceInServiceList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsInstanceInServiceListRequest::~OnsInstanceInServiceListRequest()
|
||||
{}
|
||||
|
||||
std::vector<OnsInstanceInServiceListRequest::Tag> OnsInstanceInServiceListRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsInstanceInServiceListRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsInstanceInServiceListRequest;
|
||||
|
||||
OnsInstanceInServiceListRequest::OnsInstanceInServiceListRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsInstanceInServiceList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsInstanceInServiceListRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
OnsInstanceInServiceListRequest::~OnsInstanceInServiceListRequest() {}
|
||||
|
||||
std::string OnsInstanceInServiceListRequest::getUserId() const {
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void OnsInstanceInServiceListRequest::setUserId(const std::string &userId) {
|
||||
userId_ = userId;
|
||||
setParameter(std::string("UserId"), userId);
|
||||
}
|
||||
|
||||
std::vector<OnsInstanceInServiceListRequest::Tag> OnsInstanceInServiceListRequest::getTag() const {
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void OnsInstanceInServiceListRequest::setTag(const std::vector<OnsInstanceInServiceListRequest::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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsInstanceUpdateRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsInstanceUpdateRequest;
|
||||
|
||||
OnsInstanceUpdateRequest::OnsInstanceUpdateRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsInstanceUpdate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsInstanceUpdateRequest::~OnsInstanceUpdateRequest()
|
||||
{}
|
||||
|
||||
std::string OnsInstanceUpdateRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsInstanceUpdateRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsInstanceUpdateRequest;
|
||||
|
||||
OnsInstanceUpdateRequest::OnsInstanceUpdateRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsInstanceUpdate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsInstanceUpdateRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setParameter("Remark", remark);
|
||||
OnsInstanceUpdateRequest::~OnsInstanceUpdateRequest() {}
|
||||
|
||||
std::string OnsInstanceUpdateRequest::getRemark() const {
|
||||
return remark_;
|
||||
}
|
||||
|
||||
std::string OnsInstanceUpdateRequest::getInstanceName()const
|
||||
{
|
||||
return instanceName_;
|
||||
void OnsInstanceUpdateRequest::setRemark(const std::string &remark) {
|
||||
remark_ = remark;
|
||||
setParameter(std::string("Remark"), remark);
|
||||
}
|
||||
|
||||
void OnsInstanceUpdateRequest::setInstanceName(const std::string& instanceName)
|
||||
{
|
||||
instanceName_ = instanceName;
|
||||
setParameter("InstanceName", instanceName);
|
||||
std::string OnsInstanceUpdateRequest::getInstanceName() const {
|
||||
return instanceName_;
|
||||
}
|
||||
|
||||
std::string OnsInstanceUpdateRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsInstanceUpdateRequest::setInstanceName(const std::string &instanceName) {
|
||||
instanceName_ = instanceName;
|
||||
setParameter(std::string("InstanceName"), instanceName);
|
||||
}
|
||||
|
||||
void OnsInstanceUpdateRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsInstanceUpdateRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void OnsInstanceUpdateRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsMessageGetByKeyRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsMessageGetByKeyRequest;
|
||||
|
||||
OnsMessageGetByKeyRequest::OnsMessageGetByKeyRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsMessageGetByKey")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsMessageGetByKeyRequest::~OnsMessageGetByKeyRequest()
|
||||
{}
|
||||
|
||||
std::string OnsMessageGetByKeyRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsMessageGetByKeyRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsMessageGetByKeyRequest;
|
||||
|
||||
OnsMessageGetByKeyRequest::OnsMessageGetByKeyRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsMessageGetByKey") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsMessageGetByKeyRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
OnsMessageGetByKeyRequest::~OnsMessageGetByKeyRequest() {}
|
||||
|
||||
std::string OnsMessageGetByKeyRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string OnsMessageGetByKeyRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void OnsMessageGetByKeyRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsMessageGetByKeyRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string OnsMessageGetByKeyRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
std::string OnsMessageGetByKeyRequest::getKey()const
|
||||
{
|
||||
return key_;
|
||||
void OnsMessageGetByKeyRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
void OnsMessageGetByKeyRequest::setKey(const std::string& key)
|
||||
{
|
||||
key_ = key;
|
||||
setParameter("Key", key);
|
||||
std::string OnsMessageGetByKeyRequest::getKey() const {
|
||||
return key_;
|
||||
}
|
||||
|
||||
void OnsMessageGetByKeyRequest::setKey(const std::string &key) {
|
||||
key_ = key;
|
||||
setParameter(std::string("Key"), key);
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsMessageGetByMsgIdRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsMessageGetByMsgIdRequest;
|
||||
|
||||
OnsMessageGetByMsgIdRequest::OnsMessageGetByMsgIdRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsMessageGetByMsgId")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsMessageGetByMsgIdRequest::~OnsMessageGetByMsgIdRequest()
|
||||
{}
|
||||
|
||||
std::string OnsMessageGetByMsgIdRequest::getMsgId()const
|
||||
{
|
||||
return msgId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsMessageGetByMsgIdRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsMessageGetByMsgIdRequest;
|
||||
|
||||
OnsMessageGetByMsgIdRequest::OnsMessageGetByMsgIdRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsMessageGetByMsgId") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsMessageGetByMsgIdRequest::setMsgId(const std::string& msgId)
|
||||
{
|
||||
msgId_ = msgId;
|
||||
setParameter("MsgId", msgId);
|
||||
OnsMessageGetByMsgIdRequest::~OnsMessageGetByMsgIdRequest() {}
|
||||
|
||||
std::string OnsMessageGetByMsgIdRequest::getMsgId() const {
|
||||
return msgId_;
|
||||
}
|
||||
|
||||
std::string OnsMessageGetByMsgIdRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsMessageGetByMsgIdRequest::setMsgId(const std::string &msgId) {
|
||||
msgId_ = msgId;
|
||||
setParameter(std::string("MsgId"), msgId);
|
||||
}
|
||||
|
||||
void OnsMessageGetByMsgIdRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsMessageGetByMsgIdRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string OnsMessageGetByMsgIdRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void OnsMessageGetByMsgIdRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsMessageGetByMsgIdRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string OnsMessageGetByMsgIdRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void OnsMessageGetByMsgIdRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsMessagePageQueryByTopicRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsMessagePageQueryByTopicRequest;
|
||||
|
||||
OnsMessagePageQueryByTopicRequest::OnsMessagePageQueryByTopicRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsMessagePageQueryByTopic")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsMessagePageQueryByTopicRequest::~OnsMessagePageQueryByTopicRequest()
|
||||
{}
|
||||
|
||||
long OnsMessagePageQueryByTopicRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsMessagePageQueryByTopicRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsMessagePageQueryByTopicRequest;
|
||||
|
||||
OnsMessagePageQueryByTopicRequest::OnsMessagePageQueryByTopicRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsMessagePageQueryByTopic") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsMessagePageQueryByTopicRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
OnsMessagePageQueryByTopicRequest::~OnsMessagePageQueryByTopicRequest() {}
|
||||
|
||||
long OnsMessagePageQueryByTopicRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long OnsMessagePageQueryByTopicRequest::getBeginTime()const
|
||||
{
|
||||
return beginTime_;
|
||||
void OnsMessagePageQueryByTopicRequest::setEndTime(long endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), std::to_string(endTime));
|
||||
}
|
||||
|
||||
void OnsMessagePageQueryByTopicRequest::setBeginTime(long beginTime)
|
||||
{
|
||||
beginTime_ = beginTime;
|
||||
setParameter("BeginTime", std::to_string(beginTime));
|
||||
long OnsMessagePageQueryByTopicRequest::getBeginTime() const {
|
||||
return beginTime_;
|
||||
}
|
||||
|
||||
int OnsMessagePageQueryByTopicRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
void OnsMessagePageQueryByTopicRequest::setBeginTime(long beginTime) {
|
||||
beginTime_ = beginTime;
|
||||
setParameter(std::string("BeginTime"), std::to_string(beginTime));
|
||||
}
|
||||
|
||||
void OnsMessagePageQueryByTopicRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
int OnsMessagePageQueryByTopicRequest::getCurrentPage() const {
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
std::string OnsMessagePageQueryByTopicRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsMessagePageQueryByTopicRequest::setCurrentPage(int currentPage) {
|
||||
currentPage_ = currentPage;
|
||||
setParameter(std::string("CurrentPage"), std::to_string(currentPage));
|
||||
}
|
||||
|
||||
void OnsMessagePageQueryByTopicRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsMessagePageQueryByTopicRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
int OnsMessagePageQueryByTopicRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void OnsMessagePageQueryByTopicRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsMessagePageQueryByTopicRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int OnsMessagePageQueryByTopicRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string OnsMessagePageQueryByTopicRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void OnsMessagePageQueryByTopicRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void OnsMessagePageQueryByTopicRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string OnsMessagePageQueryByTopicRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
std::string OnsMessagePageQueryByTopicRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
void OnsMessagePageQueryByTopicRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
void OnsMessagePageQueryByTopicRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setParameter("TaskId", taskId);
|
||||
std::string OnsMessagePageQueryByTopicRequest::getTaskId() const {
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void OnsMessagePageQueryByTopicRequest::setTaskId(const std::string &taskId) {
|
||||
taskId_ = taskId;
|
||||
setParameter(std::string("TaskId"), taskId);
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsMessagePushRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsMessagePushRequest;
|
||||
|
||||
OnsMessagePushRequest::OnsMessagePushRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsMessagePush")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsMessagePushRequest::~OnsMessagePushRequest()
|
||||
{}
|
||||
|
||||
std::string OnsMessagePushRequest::getClientId()const
|
||||
{
|
||||
return clientId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsMessagePushRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsMessagePushRequest;
|
||||
|
||||
OnsMessagePushRequest::OnsMessagePushRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsMessagePush") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsMessagePushRequest::setClientId(const std::string& clientId)
|
||||
{
|
||||
clientId_ = clientId;
|
||||
setParameter("ClientId", clientId);
|
||||
OnsMessagePushRequest::~OnsMessagePushRequest() {}
|
||||
|
||||
std::string OnsMessagePushRequest::getClientId() const {
|
||||
return clientId_;
|
||||
}
|
||||
|
||||
std::string OnsMessagePushRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
void OnsMessagePushRequest::setClientId(const std::string &clientId) {
|
||||
clientId_ = clientId;
|
||||
setParameter(std::string("ClientId"), clientId);
|
||||
}
|
||||
|
||||
void OnsMessagePushRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
std::string OnsMessagePushRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
std::string OnsMessagePushRequest::getMsgId()const
|
||||
{
|
||||
return msgId_;
|
||||
void OnsMessagePushRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
void OnsMessagePushRequest::setMsgId(const std::string& msgId)
|
||||
{
|
||||
msgId_ = msgId;
|
||||
setParameter("MsgId", msgId);
|
||||
std::string OnsMessagePushRequest::getMsgId() const {
|
||||
return msgId_;
|
||||
}
|
||||
|
||||
std::string OnsMessagePushRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsMessagePushRequest::setMsgId(const std::string &msgId) {
|
||||
msgId_ = msgId;
|
||||
setParameter(std::string("MsgId"), msgId);
|
||||
}
|
||||
|
||||
void OnsMessagePushRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsMessagePushRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string OnsMessagePushRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void OnsMessagePushRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsMessagePushRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string OnsMessagePushRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void OnsMessagePushRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsMessageTraceRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsMessageTraceRequest;
|
||||
|
||||
OnsMessageTraceRequest::OnsMessageTraceRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsMessageTrace")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsMessageTraceRequest::~OnsMessageTraceRequest()
|
||||
{}
|
||||
|
||||
std::string OnsMessageTraceRequest::getMsgId()const
|
||||
{
|
||||
return msgId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsMessageTraceRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsMessageTraceRequest;
|
||||
|
||||
OnsMessageTraceRequest::OnsMessageTraceRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsMessageTrace") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsMessageTraceRequest::setMsgId(const std::string& msgId)
|
||||
{
|
||||
msgId_ = msgId;
|
||||
setParameter("MsgId", msgId);
|
||||
OnsMessageTraceRequest::~OnsMessageTraceRequest() {}
|
||||
|
||||
std::string OnsMessageTraceRequest::getMsgId() const {
|
||||
return msgId_;
|
||||
}
|
||||
|
||||
std::string OnsMessageTraceRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsMessageTraceRequest::setMsgId(const std::string &msgId) {
|
||||
msgId_ = msgId;
|
||||
setParameter(std::string("MsgId"), msgId);
|
||||
}
|
||||
|
||||
void OnsMessageTraceRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsMessageTraceRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string OnsMessageTraceRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void OnsMessageTraceRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsMessageTraceRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string OnsMessageTraceRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void OnsMessageTraceRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,29 +1,27 @@
|
||||
/*
|
||||
* 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/ons/model/OnsRegionListRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsRegionListRequest;
|
||||
|
||||
OnsRegionListRequest::OnsRegionListRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsRegionList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsRegionListRequest::~OnsRegionListRequest()
|
||||
{}
|
||||
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsRegionListRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsRegionListRequest;
|
||||
|
||||
OnsRegionListRequest::OnsRegionListRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsRegionList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsRegionListRequest::~OnsRegionListRequest() {}
|
||||
|
||||
|
||||
@@ -43,20 +43,20 @@ void OnsRegionListResult::parse(const std::string &payload)
|
||||
for (auto valueDataRegionDo : allDataNode)
|
||||
{
|
||||
RegionDo dataObject;
|
||||
if(!valueDataRegionDo["Id"].isNull())
|
||||
dataObject.id = std::stol(valueDataRegionDo["Id"].asString());
|
||||
if(!valueDataRegionDo["OnsRegionId"].isNull())
|
||||
dataObject.onsRegionId = valueDataRegionDo["OnsRegionId"].asString();
|
||||
if(!valueDataRegionDo["UpdateTime"].isNull())
|
||||
dataObject.updateTime = std::stol(valueDataRegionDo["UpdateTime"].asString());
|
||||
if(!valueDataRegionDo["RegionName"].isNull())
|
||||
dataObject.regionName = valueDataRegionDo["RegionName"].asString();
|
||||
if(!valueDataRegionDo["ChannelId"].isNull())
|
||||
dataObject.channelId = std::stoi(valueDataRegionDo["ChannelId"].asString());
|
||||
if(!valueDataRegionDo["ChannelName"].isNull())
|
||||
dataObject.channelName = valueDataRegionDo["ChannelName"].asString();
|
||||
if(!valueDataRegionDo["CreateTime"].isNull())
|
||||
dataObject.createTime = std::stol(valueDataRegionDo["CreateTime"].asString());
|
||||
if(!valueDataRegionDo["UpdateTime"].isNull())
|
||||
dataObject.updateTime = std::stol(valueDataRegionDo["UpdateTime"].asString());
|
||||
if(!valueDataRegionDo["ChannelId"].isNull())
|
||||
dataObject.channelId = std::stoi(valueDataRegionDo["ChannelId"].asString());
|
||||
if(!valueDataRegionDo["Id"].isNull())
|
||||
dataObject.id = std::stol(valueDataRegionDo["Id"].asString());
|
||||
if(!valueDataRegionDo["OnsRegionId"].isNull())
|
||||
dataObject.onsRegionId = valueDataRegionDo["OnsRegionId"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["HelpUrl"].isNull())
|
||||
|
||||
@@ -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/ons/model/OnsTopicCreateRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTopicCreateRequest;
|
||||
|
||||
OnsTopicCreateRequest::OnsTopicCreateRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsTopicCreate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsTopicCreateRequest::~OnsTopicCreateRequest()
|
||||
{}
|
||||
|
||||
int OnsTopicCreateRequest::getMessageType()const
|
||||
{
|
||||
return messageType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsTopicCreateRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTopicCreateRequest;
|
||||
|
||||
OnsTopicCreateRequest::OnsTopicCreateRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsTopicCreate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsTopicCreateRequest::setMessageType(int messageType)
|
||||
{
|
||||
messageType_ = messageType;
|
||||
setParameter("MessageType", std::to_string(messageType));
|
||||
OnsTopicCreateRequest::~OnsTopicCreateRequest() {}
|
||||
|
||||
int OnsTopicCreateRequest::getMessageType() const {
|
||||
return messageType_;
|
||||
}
|
||||
|
||||
std::string OnsTopicCreateRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
void OnsTopicCreateRequest::setMessageType(int messageType) {
|
||||
messageType_ = messageType;
|
||||
setParameter(std::string("MessageType"), std::to_string(messageType));
|
||||
}
|
||||
|
||||
void OnsTopicCreateRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setParameter("Remark", remark);
|
||||
std::string OnsTopicCreateRequest::getRemark() const {
|
||||
return remark_;
|
||||
}
|
||||
|
||||
std::string OnsTopicCreateRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsTopicCreateRequest::setRemark(const std::string &remark) {
|
||||
remark_ = remark;
|
||||
setParameter(std::string("Remark"), remark);
|
||||
}
|
||||
|
||||
void OnsTopicCreateRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsTopicCreateRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string OnsTopicCreateRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void OnsTopicCreateRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsTopicCreateRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string OnsTopicCreateRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void OnsTopicCreateRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsTopicDeleteRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTopicDeleteRequest;
|
||||
|
||||
OnsTopicDeleteRequest::OnsTopicDeleteRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsTopicDelete")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsTopicDeleteRequest::~OnsTopicDeleteRequest()
|
||||
{}
|
||||
|
||||
std::string OnsTopicDeleteRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsTopicDeleteRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTopicDeleteRequest;
|
||||
|
||||
OnsTopicDeleteRequest::OnsTopicDeleteRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsTopicDelete") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsTopicDeleteRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
OnsTopicDeleteRequest::~OnsTopicDeleteRequest() {}
|
||||
|
||||
std::string OnsTopicDeleteRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string OnsTopicDeleteRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void OnsTopicDeleteRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsTopicDeleteRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string OnsTopicDeleteRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void OnsTopicDeleteRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,67 +1,68 @@
|
||||
/*
|
||||
* 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/ons/model/OnsTopicListRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTopicListRequest;
|
||||
|
||||
OnsTopicListRequest::OnsTopicListRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsTopicList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsTopicListRequest::~OnsTopicListRequest()
|
||||
{}
|
||||
|
||||
std::string OnsTopicListRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsTopicListRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTopicListRequest;
|
||||
|
||||
OnsTopicListRequest::OnsTopicListRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsTopicList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsTopicListRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
OnsTopicListRequest::~OnsTopicListRequest() {}
|
||||
|
||||
std::string OnsTopicListRequest::getUserId() const {
|
||||
return userId_;
|
||||
}
|
||||
|
||||
std::string OnsTopicListRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void OnsTopicListRequest::setUserId(const std::string &userId) {
|
||||
userId_ = userId;
|
||||
setParameter(std::string("UserId"), userId);
|
||||
}
|
||||
|
||||
void OnsTopicListRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string OnsTopicListRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::vector<OnsTopicListRequest::Tag> OnsTopicListRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
void OnsTopicListRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsTopicListRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
std::string OnsTopicListRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void OnsTopicListRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
std::vector<OnsTopicListRequest::Tag> OnsTopicListRequest::getTag() const {
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void OnsTopicListRequest::setTag(const std::vector<OnsTopicListRequest::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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsTopicStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTopicStatusRequest;
|
||||
|
||||
OnsTopicStatusRequest::OnsTopicStatusRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsTopicStatus")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsTopicStatusRequest::~OnsTopicStatusRequest()
|
||||
{}
|
||||
|
||||
std::string OnsTopicStatusRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsTopicStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTopicStatusRequest;
|
||||
|
||||
OnsTopicStatusRequest::OnsTopicStatusRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsTopicStatus") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsTopicStatusRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
OnsTopicStatusRequest::~OnsTopicStatusRequest() {}
|
||||
|
||||
std::string OnsTopicStatusRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string OnsTopicStatusRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void OnsTopicStatusRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsTopicStatusRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string OnsTopicStatusRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void OnsTopicStatusRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsTopicSubDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTopicSubDetailRequest;
|
||||
|
||||
OnsTopicSubDetailRequest::OnsTopicSubDetailRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsTopicSubDetail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsTopicSubDetailRequest::~OnsTopicSubDetailRequest()
|
||||
{}
|
||||
|
||||
std::string OnsTopicSubDetailRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsTopicSubDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTopicSubDetailRequest;
|
||||
|
||||
OnsTopicSubDetailRequest::OnsTopicSubDetailRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsTopicSubDetail") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsTopicSubDetailRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
OnsTopicSubDetailRequest::~OnsTopicSubDetailRequest() {}
|
||||
|
||||
std::string OnsTopicSubDetailRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string OnsTopicSubDetailRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void OnsTopicSubDetailRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsTopicSubDetailRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string OnsTopicSubDetailRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void OnsTopicSubDetailRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsTopicUpdateRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTopicUpdateRequest;
|
||||
|
||||
OnsTopicUpdateRequest::OnsTopicUpdateRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsTopicUpdate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsTopicUpdateRequest::~OnsTopicUpdateRequest()
|
||||
{}
|
||||
|
||||
int OnsTopicUpdateRequest::getPerm()const
|
||||
{
|
||||
return perm_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsTopicUpdateRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTopicUpdateRequest;
|
||||
|
||||
OnsTopicUpdateRequest::OnsTopicUpdateRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsTopicUpdate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsTopicUpdateRequest::setPerm(int perm)
|
||||
{
|
||||
perm_ = perm;
|
||||
setParameter("Perm", std::to_string(perm));
|
||||
OnsTopicUpdateRequest::~OnsTopicUpdateRequest() {}
|
||||
|
||||
int OnsTopicUpdateRequest::getPerm() const {
|
||||
return perm_;
|
||||
}
|
||||
|
||||
std::string OnsTopicUpdateRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsTopicUpdateRequest::setPerm(int perm) {
|
||||
perm_ = perm;
|
||||
setParameter(std::string("Perm"), std::to_string(perm));
|
||||
}
|
||||
|
||||
void OnsTopicUpdateRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsTopicUpdateRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string OnsTopicUpdateRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void OnsTopicUpdateRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsTopicUpdateRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string OnsTopicUpdateRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void OnsTopicUpdateRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* 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/ons/model/OnsTraceGetResultRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTraceGetResultRequest;
|
||||
|
||||
OnsTraceGetResultRequest::OnsTraceGetResultRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsTraceGetResult")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsTraceGetResultRequest::~OnsTraceGetResultRequest()
|
||||
{}
|
||||
|
||||
std::string OnsTraceGetResultRequest::getQueryId()const
|
||||
{
|
||||
return queryId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsTraceGetResultRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTraceGetResultRequest;
|
||||
|
||||
OnsTraceGetResultRequest::OnsTraceGetResultRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsTraceGetResult") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsTraceGetResultRequest::setQueryId(const std::string& queryId)
|
||||
{
|
||||
queryId_ = queryId;
|
||||
setParameter("QueryId", queryId);
|
||||
OnsTraceGetResultRequest::~OnsTraceGetResultRequest() {}
|
||||
|
||||
std::string OnsTraceGetResultRequest::getQueryId() const {
|
||||
return queryId_;
|
||||
}
|
||||
|
||||
void OnsTraceGetResultRequest::setQueryId(const std::string &queryId) {
|
||||
queryId_ = queryId;
|
||||
setParameter(std::string("QueryId"), queryId);
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsTraceQueryByMsgIdRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTraceQueryByMsgIdRequest;
|
||||
|
||||
OnsTraceQueryByMsgIdRequest::OnsTraceQueryByMsgIdRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsTraceQueryByMsgId")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsTraceQueryByMsgIdRequest::~OnsTraceQueryByMsgIdRequest()
|
||||
{}
|
||||
|
||||
std::string OnsTraceQueryByMsgIdRequest::getMsgId()const
|
||||
{
|
||||
return msgId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsTraceQueryByMsgIdRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTraceQueryByMsgIdRequest;
|
||||
|
||||
OnsTraceQueryByMsgIdRequest::OnsTraceQueryByMsgIdRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsTraceQueryByMsgId") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsTraceQueryByMsgIdRequest::setMsgId(const std::string& msgId)
|
||||
{
|
||||
msgId_ = msgId;
|
||||
setParameter("MsgId", msgId);
|
||||
OnsTraceQueryByMsgIdRequest::~OnsTraceQueryByMsgIdRequest() {}
|
||||
|
||||
std::string OnsTraceQueryByMsgIdRequest::getMsgId() const {
|
||||
return msgId_;
|
||||
}
|
||||
|
||||
long OnsTraceQueryByMsgIdRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
void OnsTraceQueryByMsgIdRequest::setMsgId(const std::string &msgId) {
|
||||
msgId_ = msgId;
|
||||
setParameter(std::string("MsgId"), msgId);
|
||||
}
|
||||
|
||||
void OnsTraceQueryByMsgIdRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
long OnsTraceQueryByMsgIdRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long OnsTraceQueryByMsgIdRequest::getBeginTime()const
|
||||
{
|
||||
return beginTime_;
|
||||
void OnsTraceQueryByMsgIdRequest::setEndTime(long endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), std::to_string(endTime));
|
||||
}
|
||||
|
||||
void OnsTraceQueryByMsgIdRequest::setBeginTime(long beginTime)
|
||||
{
|
||||
beginTime_ = beginTime;
|
||||
setParameter("BeginTime", std::to_string(beginTime));
|
||||
long OnsTraceQueryByMsgIdRequest::getBeginTime() const {
|
||||
return beginTime_;
|
||||
}
|
||||
|
||||
std::string OnsTraceQueryByMsgIdRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsTraceQueryByMsgIdRequest::setBeginTime(long beginTime) {
|
||||
beginTime_ = beginTime;
|
||||
setParameter(std::string("BeginTime"), std::to_string(beginTime));
|
||||
}
|
||||
|
||||
void OnsTraceQueryByMsgIdRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsTraceQueryByMsgIdRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string OnsTraceQueryByMsgIdRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void OnsTraceQueryByMsgIdRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsTraceQueryByMsgIdRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string OnsTraceQueryByMsgIdRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void OnsTraceQueryByMsgIdRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsTraceQueryByMsgKeyRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTraceQueryByMsgKeyRequest;
|
||||
|
||||
OnsTraceQueryByMsgKeyRequest::OnsTraceQueryByMsgKeyRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsTraceQueryByMsgKey")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsTraceQueryByMsgKeyRequest::~OnsTraceQueryByMsgKeyRequest()
|
||||
{}
|
||||
|
||||
long OnsTraceQueryByMsgKeyRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsTraceQueryByMsgKeyRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTraceQueryByMsgKeyRequest;
|
||||
|
||||
OnsTraceQueryByMsgKeyRequest::OnsTraceQueryByMsgKeyRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsTraceQueryByMsgKey") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsTraceQueryByMsgKeyRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
OnsTraceQueryByMsgKeyRequest::~OnsTraceQueryByMsgKeyRequest() {}
|
||||
|
||||
long OnsTraceQueryByMsgKeyRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long OnsTraceQueryByMsgKeyRequest::getBeginTime()const
|
||||
{
|
||||
return beginTime_;
|
||||
void OnsTraceQueryByMsgKeyRequest::setEndTime(long endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), std::to_string(endTime));
|
||||
}
|
||||
|
||||
void OnsTraceQueryByMsgKeyRequest::setBeginTime(long beginTime)
|
||||
{
|
||||
beginTime_ = beginTime;
|
||||
setParameter("BeginTime", std::to_string(beginTime));
|
||||
long OnsTraceQueryByMsgKeyRequest::getBeginTime() const {
|
||||
return beginTime_;
|
||||
}
|
||||
|
||||
std::string OnsTraceQueryByMsgKeyRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsTraceQueryByMsgKeyRequest::setBeginTime(long beginTime) {
|
||||
beginTime_ = beginTime;
|
||||
setParameter(std::string("BeginTime"), std::to_string(beginTime));
|
||||
}
|
||||
|
||||
void OnsTraceQueryByMsgKeyRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsTraceQueryByMsgKeyRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string OnsTraceQueryByMsgKeyRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void OnsTraceQueryByMsgKeyRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsTraceQueryByMsgKeyRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string OnsTraceQueryByMsgKeyRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
std::string OnsTraceQueryByMsgKeyRequest::getMsgKey()const
|
||||
{
|
||||
return msgKey_;
|
||||
void OnsTraceQueryByMsgKeyRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
void OnsTraceQueryByMsgKeyRequest::setMsgKey(const std::string& msgKey)
|
||||
{
|
||||
msgKey_ = msgKey;
|
||||
setParameter("MsgKey", msgKey);
|
||||
std::string OnsTraceQueryByMsgKeyRequest::getMsgKey() const {
|
||||
return msgKey_;
|
||||
}
|
||||
|
||||
void OnsTraceQueryByMsgKeyRequest::setMsgKey(const std::string &msgKey) {
|
||||
msgKey_ = msgKey;
|
||||
setParameter(std::string("MsgKey"), msgKey);
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsTrendGroupOutputTpsRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTrendGroupOutputTpsRequest;
|
||||
|
||||
OnsTrendGroupOutputTpsRequest::OnsTrendGroupOutputTpsRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsTrendGroupOutputTps")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsTrendGroupOutputTpsRequest::~OnsTrendGroupOutputTpsRequest()
|
||||
{}
|
||||
|
||||
long OnsTrendGroupOutputTpsRequest::getPeriod()const
|
||||
{
|
||||
return period_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsTrendGroupOutputTpsRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTrendGroupOutputTpsRequest;
|
||||
|
||||
OnsTrendGroupOutputTpsRequest::OnsTrendGroupOutputTpsRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsTrendGroupOutputTps") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsTrendGroupOutputTpsRequest::setPeriod(long period)
|
||||
{
|
||||
period_ = period;
|
||||
setParameter("Period", std::to_string(period));
|
||||
OnsTrendGroupOutputTpsRequest::~OnsTrendGroupOutputTpsRequest() {}
|
||||
|
||||
long OnsTrendGroupOutputTpsRequest::getPeriod() const {
|
||||
return period_;
|
||||
}
|
||||
|
||||
std::string OnsTrendGroupOutputTpsRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
void OnsTrendGroupOutputTpsRequest::setPeriod(long period) {
|
||||
period_ = period;
|
||||
setParameter(std::string("Period"), std::to_string(period));
|
||||
}
|
||||
|
||||
void OnsTrendGroupOutputTpsRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
std::string OnsTrendGroupOutputTpsRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
long OnsTrendGroupOutputTpsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
void OnsTrendGroupOutputTpsRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
void OnsTrendGroupOutputTpsRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
long OnsTrendGroupOutputTpsRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long OnsTrendGroupOutputTpsRequest::getBeginTime()const
|
||||
{
|
||||
return beginTime_;
|
||||
void OnsTrendGroupOutputTpsRequest::setEndTime(long endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), std::to_string(endTime));
|
||||
}
|
||||
|
||||
void OnsTrendGroupOutputTpsRequest::setBeginTime(long beginTime)
|
||||
{
|
||||
beginTime_ = beginTime;
|
||||
setParameter("BeginTime", std::to_string(beginTime));
|
||||
long OnsTrendGroupOutputTpsRequest::getBeginTime() const {
|
||||
return beginTime_;
|
||||
}
|
||||
|
||||
int OnsTrendGroupOutputTpsRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
void OnsTrendGroupOutputTpsRequest::setBeginTime(long beginTime) {
|
||||
beginTime_ = beginTime;
|
||||
setParameter(std::string("BeginTime"), std::to_string(beginTime));
|
||||
}
|
||||
|
||||
void OnsTrendGroupOutputTpsRequest::setType(int type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", std::to_string(type));
|
||||
int OnsTrendGroupOutputTpsRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
std::string OnsTrendGroupOutputTpsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsTrendGroupOutputTpsRequest::setType(int type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), std::to_string(type));
|
||||
}
|
||||
|
||||
void OnsTrendGroupOutputTpsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsTrendGroupOutputTpsRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string OnsTrendGroupOutputTpsRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void OnsTrendGroupOutputTpsRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsTrendGroupOutputTpsRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string OnsTrendGroupOutputTpsRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void OnsTrendGroupOutputTpsRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
|
||||
@@ -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/ons/model/OnsTrendTopicInputTpsRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTrendTopicInputTpsRequest;
|
||||
|
||||
OnsTrendTopicInputTpsRequest::OnsTrendTopicInputTpsRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsTrendTopicInputTps")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsTrendTopicInputTpsRequest::~OnsTrendTopicInputTpsRequest()
|
||||
{}
|
||||
|
||||
long OnsTrendTopicInputTpsRequest::getPeriod()const
|
||||
{
|
||||
return period_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OnsTrendTopicInputTpsRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsTrendTopicInputTpsRequest;
|
||||
|
||||
OnsTrendTopicInputTpsRequest::OnsTrendTopicInputTpsRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OnsTrendTopicInputTps") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void OnsTrendTopicInputTpsRequest::setPeriod(long period)
|
||||
{
|
||||
period_ = period;
|
||||
setParameter("Period", std::to_string(period));
|
||||
OnsTrendTopicInputTpsRequest::~OnsTrendTopicInputTpsRequest() {}
|
||||
|
||||
long OnsTrendTopicInputTpsRequest::getPeriod() const {
|
||||
return period_;
|
||||
}
|
||||
|
||||
long OnsTrendTopicInputTpsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
void OnsTrendTopicInputTpsRequest::setPeriod(long period) {
|
||||
period_ = period;
|
||||
setParameter(std::string("Period"), std::to_string(period));
|
||||
}
|
||||
|
||||
void OnsTrendTopicInputTpsRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
long OnsTrendTopicInputTpsRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long OnsTrendTopicInputTpsRequest::getBeginTime()const
|
||||
{
|
||||
return beginTime_;
|
||||
void OnsTrendTopicInputTpsRequest::setEndTime(long endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), std::to_string(endTime));
|
||||
}
|
||||
|
||||
void OnsTrendTopicInputTpsRequest::setBeginTime(long beginTime)
|
||||
{
|
||||
beginTime_ = beginTime;
|
||||
setParameter("BeginTime", std::to_string(beginTime));
|
||||
long OnsTrendTopicInputTpsRequest::getBeginTime() const {
|
||||
return beginTime_;
|
||||
}
|
||||
|
||||
int OnsTrendTopicInputTpsRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
void OnsTrendTopicInputTpsRequest::setBeginTime(long beginTime) {
|
||||
beginTime_ = beginTime;
|
||||
setParameter(std::string("BeginTime"), std::to_string(beginTime));
|
||||
}
|
||||
|
||||
void OnsTrendTopicInputTpsRequest::setType(int type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", std::to_string(type));
|
||||
int OnsTrendTopicInputTpsRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
std::string OnsTrendTopicInputTpsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void OnsTrendTopicInputTpsRequest::setType(int type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), std::to_string(type));
|
||||
}
|
||||
|
||||
void OnsTrendTopicInputTpsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string OnsTrendTopicInputTpsRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string OnsTrendTopicInputTpsRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void OnsTrendTopicInputTpsRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void OnsTrendTopicInputTpsRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string OnsTrendTopicInputTpsRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void OnsTrendTopicInputTpsRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,128 +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/ons/model/OnsWarnCreateRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsWarnCreateRequest;
|
||||
|
||||
OnsWarnCreateRequest::OnsWarnCreateRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsWarnCreate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsWarnCreateRequest::~OnsWarnCreateRequest()
|
||||
{}
|
||||
|
||||
std::string OnsWarnCreateRequest::getLevel()const
|
||||
{
|
||||
return level_;
|
||||
}
|
||||
|
||||
void OnsWarnCreateRequest::setLevel(const std::string& level)
|
||||
{
|
||||
level_ = level;
|
||||
setParameter("Level", level);
|
||||
}
|
||||
|
||||
std::string OnsWarnCreateRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void OnsWarnCreateRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
std::string OnsWarnCreateRequest::getDelayTime()const
|
||||
{
|
||||
return delayTime_;
|
||||
}
|
||||
|
||||
void OnsWarnCreateRequest::setDelayTime(const std::string& delayTime)
|
||||
{
|
||||
delayTime_ = delayTime;
|
||||
setParameter("DelayTime", delayTime);
|
||||
}
|
||||
|
||||
std::string OnsWarnCreateRequest::getThreshold()const
|
||||
{
|
||||
return threshold_;
|
||||
}
|
||||
|
||||
void OnsWarnCreateRequest::setThreshold(const std::string& threshold)
|
||||
{
|
||||
threshold_ = threshold;
|
||||
setParameter("Threshold", threshold);
|
||||
}
|
||||
|
||||
std::string OnsWarnCreateRequest::getAlertTime()const
|
||||
{
|
||||
return alertTime_;
|
||||
}
|
||||
|
||||
void OnsWarnCreateRequest::setAlertTime(const std::string& alertTime)
|
||||
{
|
||||
alertTime_ = alertTime;
|
||||
setParameter("AlertTime", alertTime);
|
||||
}
|
||||
|
||||
std::string OnsWarnCreateRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void OnsWarnCreateRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string OnsWarnCreateRequest::getBlockTime()const
|
||||
{
|
||||
return blockTime_;
|
||||
}
|
||||
|
||||
void OnsWarnCreateRequest::setBlockTime(const std::string& blockTime)
|
||||
{
|
||||
blockTime_ = blockTime;
|
||||
setParameter("BlockTime", blockTime);
|
||||
}
|
||||
|
||||
std::string OnsWarnCreateRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void OnsWarnCreateRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
}
|
||||
|
||||
std::string OnsWarnCreateRequest::getContacts()const
|
||||
{
|
||||
return contacts_;
|
||||
}
|
||||
|
||||
void OnsWarnCreateRequest::setContacts(const std::string& contacts)
|
||||
{
|
||||
contacts_ = contacts;
|
||||
setParameter("Contacts", contacts);
|
||||
}
|
||||
|
||||
@@ -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/ons/model/OnsWarnCreateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ons;
|
||||
using namespace AlibabaCloud::Ons::Model;
|
||||
|
||||
OnsWarnCreateResult::OnsWarnCreateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
OnsWarnCreateResult::OnsWarnCreateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
OnsWarnCreateResult::~OnsWarnCreateResult()
|
||||
{}
|
||||
|
||||
void OnsWarnCreateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["HelpUrl"].isNull())
|
||||
helpUrl_ = value["HelpUrl"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string OnsWarnCreateResult::getHelpUrl()const
|
||||
{
|
||||
return helpUrl_;
|
||||
}
|
||||
|
||||
@@ -1,62 +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/ons/model/OnsWarnDeleteRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OnsWarnDeleteRequest;
|
||||
|
||||
OnsWarnDeleteRequest::OnsWarnDeleteRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OnsWarnDelete")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OnsWarnDeleteRequest::~OnsWarnDeleteRequest()
|
||||
{}
|
||||
|
||||
std::string OnsWarnDeleteRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void OnsWarnDeleteRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
std::string OnsWarnDeleteRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void OnsWarnDeleteRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string OnsWarnDeleteRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void OnsWarnDeleteRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
}
|
||||
|
||||
@@ -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/ons/model/OnsWarnDeleteResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ons;
|
||||
using namespace AlibabaCloud::Ons::Model;
|
||||
|
||||
OnsWarnDeleteResult::OnsWarnDeleteResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
OnsWarnDeleteResult::OnsWarnDeleteResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
OnsWarnDeleteResult::~OnsWarnDeleteResult()
|
||||
{}
|
||||
|
||||
void OnsWarnDeleteResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["HelpUrl"].isNull())
|
||||
helpUrl_ = value["HelpUrl"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string OnsWarnDeleteResult::getHelpUrl()const
|
||||
{
|
||||
return helpUrl_;
|
||||
}
|
||||
|
||||
@@ -1,29 +1,27 @@
|
||||
/*
|
||||
* 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/ons/model/OpenOnsServiceRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OpenOnsServiceRequest;
|
||||
|
||||
OpenOnsServiceRequest::OpenOnsServiceRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "OpenOnsService")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OpenOnsServiceRequest::~OpenOnsServiceRequest()
|
||||
{}
|
||||
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/OpenOnsServiceRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::OpenOnsServiceRequest;
|
||||
|
||||
OpenOnsServiceRequest::OpenOnsServiceRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "OpenOnsService") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OpenOnsServiceRequest::~OpenOnsServiceRequest() {}
|
||||
|
||||
|
||||
@@ -1,80 +1,67 @@
|
||||
/*
|
||||
* 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/ons/model/TagResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::TagResourcesRequest;
|
||||
|
||||
TagResourcesRequest::TagResourcesRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "TagResources")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TagResourcesRequest::~TagResourcesRequest()
|
||||
{}
|
||||
|
||||
std::vector<std::string> TagResourcesRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/TagResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::TagResourcesRequest;
|
||||
|
||||
TagResourcesRequest::TagResourcesRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "TagResources") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
for(int dep1 = 0; dep1!= resourceId.size(); dep1++) {
|
||||
setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1));
|
||||
}
|
||||
TagResourcesRequest::~TagResourcesRequest() {}
|
||||
|
||||
std::vector<std::string> TagResourcesRequest::getResourceId() const {
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
std::string TagResourcesRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
void TagResourcesRequest::setResourceId(const std::vector<std::string> &resourceId) {
|
||||
resourceId_ = resourceId;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
std::string TagResourcesRequest::getResourceType() const {
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
std::string TagResourcesRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void TagResourcesRequest::setResourceType(const std::string &resourceType) {
|
||||
resourceType_ = resourceType;
|
||||
setParameter(std::string("ResourceType"), resourceType);
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string TagResourcesRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::vector<TagResourcesRequest::Tag> TagResourcesRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
void TagResourcesRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
std::vector<TagResourcesRequest::Tag> TagResourcesRequest::getTag() const {
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setTag(const std::vector<TagResourcesRequest::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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,88 +1,70 @@
|
||||
/*
|
||||
* 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/ons/model/UntagResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::UntagResourcesRequest;
|
||||
|
||||
UntagResourcesRequest::UntagResourcesRequest() :
|
||||
RpcServiceRequest("ons", "2019-02-14", "UntagResources")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UntagResourcesRequest::~UntagResourcesRequest()
|
||||
{}
|
||||
|
||||
bool UntagResourcesRequest::getAll()const
|
||||
{
|
||||
return all_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ons/model/UntagResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::Ons::Model::UntagResourcesRequest;
|
||||
|
||||
UntagResourcesRequest::UntagResourcesRequest()
|
||||
: RpcServiceRequest("ons", "2019-02-14", "UntagResources") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setAll(bool all)
|
||||
{
|
||||
all_ = all;
|
||||
setParameter("All", all ? "true" : "false");
|
||||
UntagResourcesRequest::~UntagResourcesRequest() {}
|
||||
|
||||
bool UntagResourcesRequest::getAll() const {
|
||||
return all_;
|
||||
}
|
||||
|
||||
std::vector<std::string> UntagResourcesRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
void UntagResourcesRequest::setAll(bool all) {
|
||||
all_ = all;
|
||||
setParameter(std::string("All"), all ? "true" : "false");
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
for(int dep1 = 0; dep1!= resourceId.size(); dep1++) {
|
||||
setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1));
|
||||
}
|
||||
std::vector<std::string> UntagResourcesRequest::getResourceId() const {
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
std::string UntagResourcesRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
void UntagResourcesRequest::setResourceId(const std::vector<std::string> &resourceId) {
|
||||
resourceId_ = resourceId;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
std::string UntagResourcesRequest::getResourceType() const {
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
std::string UntagResourcesRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void UntagResourcesRequest::setResourceType(const std::string &resourceType) {
|
||||
resourceType_ = resourceType;
|
||||
setParameter(std::string("ResourceType"), resourceType);
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string UntagResourcesRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::vector<std::string> UntagResourcesRequest::getTagKey()const
|
||||
{
|
||||
return tagKey_;
|
||||
void UntagResourcesRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setTagKey(const std::vector<std::string>& tagKey)
|
||||
{
|
||||
tagKey_ = tagKey;
|
||||
for(int dep1 = 0; dep1!= tagKey.size(); dep1++) {
|
||||
setParameter("TagKey."+ std::to_string(dep1), tagKey.at(dep1));
|
||||
}
|
||||
std::vector<std::string> UntagResourcesRequest::getTagKey() const {
|
||||
return tagKey_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setTagKey(const std::vector<std::string> &tagKey) {
|
||||
tagKey_ = tagKey;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user