Offline remote write related APIs.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -43,12 +43,16 @@ namespace AlibabaCloud
|
||||
AddAliClusterIdsToPrometheusGlobalViewResult();
|
||||
explicit AddAliClusterIdsToPrometheusGlobalViewResult(const std::string &payload);
|
||||
~AddAliClusterIdsToPrometheusGlobalViewResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,16 @@ namespace AlibabaCloud
|
||||
AddIntegrationResult();
|
||||
explicit AddIntegrationResult(const std::string &payload);
|
||||
~AddIntegrationResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -43,12 +43,16 @@ namespace AlibabaCloud
|
||||
AddPrometheusGlobalViewByAliClusterIdsResult();
|
||||
explicit AddPrometheusGlobalViewByAliClusterIdsResult(const std::string &payload);
|
||||
~AddPrometheusGlobalViewByAliClusterIdsResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -28,17 +28,27 @@ namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT AddPrometheusGlobalViewRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
AddPrometheusGlobalViewRequest();
|
||||
~AddPrometheusGlobalViewRequest();
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
std::string getGroupName() const;
|
||||
void setGroupName(const std::string &groupName);
|
||||
std::string getClusters() const;
|
||||
void setClusters(const std::string &clusters);
|
||||
|
||||
private:
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string groupName_;
|
||||
std::string clusters_;
|
||||
};
|
||||
|
||||
@@ -34,8 +34,14 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Info
|
||||
{
|
||||
std::string failedInstances;
|
||||
std::string globalViewClusterId;
|
||||
std::string regionId;
|
||||
};
|
||||
std::string msg;
|
||||
std::string info;
|
||||
Info info;
|
||||
bool success;
|
||||
};
|
||||
|
||||
@@ -43,12 +49,16 @@ namespace AlibabaCloud
|
||||
AddPrometheusGlobalViewResult();
|
||||
explicit AddPrometheusGlobalViewResult(const std::string &payload);
|
||||
~AddPrometheusGlobalViewResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,18 @@ namespace AlibabaCloud
|
||||
AddPrometheusInstanceResult();
|
||||
explicit AddPrometheusInstanceResult(const std::string &payload);
|
||||
~AddPrometheusInstanceResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +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_ARMS_MODEL_ADDPROMETHEUSINTEGRATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_ADDPROMETHEUSINTEGRATIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT AddPrometheusIntegrationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
AddPrometheusIntegrationRequest();
|
||||
~AddPrometheusIntegrationRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getIntegrationType() const;
|
||||
void setIntegrationType(const std::string &integrationType);
|
||||
std::string getParam() const;
|
||||
void setParam(const std::string ¶m);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string integrationType_;
|
||||
std::string param_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_ADDPROMETHEUSINTEGRATIONREQUEST_H_
|
||||
@@ -0,0 +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_ARMS_MODEL_ADDPROMETHEUSINTEGRATIONRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_ADDPROMETHEUSINTEGRATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT AddPrometheusIntegrationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string instanceName;
|
||||
long instanceId;
|
||||
};
|
||||
|
||||
|
||||
AddPrometheusIntegrationResult();
|
||||
explicit AddPrometheusIntegrationResult(const std::string &payload);
|
||||
~AddPrometheusIntegrationResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_ADDPROMETHEUSINTEGRATIONRESULT_H_
|
||||
@@ -37,12 +37,16 @@ namespace AlibabaCloud
|
||||
AddRecordingRuleResult();
|
||||
explicit AddRecordingRuleResult(const std::string &payload);
|
||||
~AddRecordingRuleResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_ADDTAGTOFLINKCLUSTERREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_ADDTAGTOFLINKCLUSTERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT AddTagToFlinkClusterRequest : public RpcServiceRequest {
|
||||
public:
|
||||
AddTagToFlinkClusterRequest();
|
||||
~AddTagToFlinkClusterRequest();
|
||||
std::string getFlinkWorkSpaceName() const;
|
||||
void setFlinkWorkSpaceName(const std::string &flinkWorkSpaceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getTargetUserId() const;
|
||||
void setTargetUserId(const std::string &targetUserId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getFlinkWorkSpaceId() const;
|
||||
void setFlinkWorkSpaceId(const std::string &flinkWorkSpaceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string flinkWorkSpaceName_;
|
||||
std::string clusterId_;
|
||||
std::string targetUserId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string flinkWorkSpaceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_ADDTAGTOFLINKCLUSTERREQUEST_H_
|
||||
@@ -0,0 +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_ARMS_MODEL_ADDTAGTOFLINKCLUSTERRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_ADDTAGTOFLINKCLUSTERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT AddTagToFlinkClusterResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddTagToFlinkClusterResult();
|
||||
explicit AddTagToFlinkClusterResult(const std::string &payload);
|
||||
~AddTagToFlinkClusterResult();
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_ADDTAGTOFLINKCLUSTERRESULT_H_
|
||||
@@ -43,12 +43,16 @@ namespace AlibabaCloud
|
||||
AppendInstancesToPrometheusGlobalViewResult();
|
||||
explicit AppendInstancesToPrometheusGlobalViewResult(const std::string &payload);
|
||||
~AppendInstancesToPrometheusGlobalViewResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +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_ARMS_MODEL_BINDPROMETHEUSGRAFANAINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_BINDPROMETHEUSGRAFANAINSTANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT BindPrometheusGrafanaInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
BindPrometheusGrafanaInstanceRequest();
|
||||
~BindPrometheusGrafanaInstanceRequest();
|
||||
std::string getGrafanaInstanceId() const;
|
||||
void setGrafanaInstanceId(const std::string &grafanaInstanceId);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string grafanaInstanceId_;
|
||||
std::string clusterId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_BINDPROMETHEUSGRAFANAINSTANCEREQUEST_H_
|
||||
@@ -0,0 +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_ARMS_MODEL_BINDPROMETHEUSGRAFANAINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_BINDPROMETHEUSGRAFANAINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT BindPrometheusGrafanaInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BindPrometheusGrafanaInstanceResult();
|
||||
explicit BindPrometheusGrafanaInstanceResult(const std::string &payload);
|
||||
~BindPrometheusGrafanaInstanceResult();
|
||||
std::string getMessage()const;
|
||||
bool getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_BINDPROMETHEUSGRAFANAINSTANCERESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_BLOCKALARMNOTIFICATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_BLOCKALARMNOTIFICATIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT BlockAlarmNotificationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
BlockAlarmNotificationRequest();
|
||||
~BlockAlarmNotificationRequest();
|
||||
std::string getProxyUserId() const;
|
||||
void setProxyUserId(const std::string &proxyUserId);
|
||||
long getTimeout() const;
|
||||
void setTimeout(long timeout);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
long getHandlerId() const;
|
||||
void setHandlerId(long handlerId);
|
||||
long getAlarmId() const;
|
||||
void setAlarmId(long alarmId);
|
||||
|
||||
private:
|
||||
std::string proxyUserId_;
|
||||
long timeout_;
|
||||
std::string regionId_;
|
||||
long handlerId_;
|
||||
long alarmId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_BLOCKALARMNOTIFICATIONREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_BLOCKALARMNOTIFICATIONRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_BLOCKALARMNOTIFICATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT BlockAlarmNotificationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BlockAlarmNotificationResult();
|
||||
explicit BlockAlarmNotificationResult(const std::string &payload);
|
||||
~BlockAlarmNotificationResult();
|
||||
std::string getMessage()const;
|
||||
long getCode()const;
|
||||
bool getSuccess()const;
|
||||
bool getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
long code_;
|
||||
bool success_;
|
||||
bool result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_BLOCKALARMNOTIFICATIONRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CHANGEALARMSEVERITYREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CHANGEALARMSEVERITYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT ChangeAlarmSeverityRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ChangeAlarmSeverityRequest();
|
||||
~ChangeAlarmSeverityRequest();
|
||||
std::string getSeverity() const;
|
||||
void setSeverity(const std::string &severity);
|
||||
std::string getProxyUserId() const;
|
||||
void setProxyUserId(const std::string &proxyUserId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
long getHandlerId() const;
|
||||
void setHandlerId(long handlerId);
|
||||
long getAlarmId() const;
|
||||
void setAlarmId(long alarmId);
|
||||
|
||||
private:
|
||||
std::string severity_;
|
||||
std::string proxyUserId_;
|
||||
std::string regionId_;
|
||||
long handlerId_;
|
||||
long alarmId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CHANGEALARMSEVERITYREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CHANGEALARMSEVERITYRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CHANGEALARMSEVERITYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT ChangeAlarmSeverityResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ChangeAlarmSeverityResult();
|
||||
explicit ChangeAlarmSeverityResult(const std::string &payload);
|
||||
~ChangeAlarmSeverityResult();
|
||||
std::string getMessage()const;
|
||||
long getCode()const;
|
||||
bool getSuccess()const;
|
||||
bool getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
long code_;
|
||||
bool success_;
|
||||
bool result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CHANGEALARMSEVERITYRESULT_H_
|
||||
@@ -0,0 +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_ARMS_MODEL_CHANGERESOURCEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CHANGERESOURCEGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT ChangeResourceGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ChangeResourceGroupRequest();
|
||||
~ChangeResourceGroupRequest();
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
std::string getResourceType() const;
|
||||
void setResourceType(const std::string &resourceType);
|
||||
std::string getNewResourceGroupId() const;
|
||||
void setNewResourceGroupId(const std::string &newResourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string resourceId_;
|
||||
std::string resourceType_;
|
||||
std::string newResourceGroupId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CHANGERESOURCEGROUPREQUEST_H_
|
||||
@@ -0,0 +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_ARMS_MODEL_CHANGERESOURCEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CHANGERESOURCEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT ChangeResourceGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string resourceGroupId;
|
||||
std::string resourceId;
|
||||
};
|
||||
|
||||
|
||||
ChangeResourceGroupResult();
|
||||
explicit ChangeResourceGroupResult(const std::string &payload);
|
||||
~ChangeResourceGroupResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CHANGERESOURCEGROUPRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CHECKCOMMERCIALSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CHECKCOMMERCIALSTATUSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CheckCommercialStatusRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CheckCommercialStatusRequest();
|
||||
~CheckCommercialStatusRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getService() const;
|
||||
void setService(const std::string &service);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string service_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CHECKCOMMERCIALSTATUSREQUEST_H_
|
||||
@@ -0,0 +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_ARMS_MODEL_CHECKCOMMERCIALSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CHECKCOMMERCIALSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT CheckCommercialStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CheckCommercialStatusResult();
|
||||
explicit CheckCommercialStatusResult(const std::string &payload);
|
||||
~CheckCommercialStatusResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CHECKCOMMERCIALSTATUSRESULT_H_
|
||||
51
arms/include/alibabacloud/arms/model/ClaimAlarmRequest.h
Normal file
51
arms/include/alibabacloud/arms/model/ClaimAlarmRequest.h
Normal file
@@ -0,0 +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_ARMS_MODEL_CLAIMALARMREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CLAIMALARMREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT ClaimAlarmRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ClaimAlarmRequest();
|
||||
~ClaimAlarmRequest();
|
||||
std::string getProxyUserId() const;
|
||||
void setProxyUserId(const std::string &proxyUserId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
long getHandlerId() const;
|
||||
void setHandlerId(long handlerId);
|
||||
long getAlarmId() const;
|
||||
void setAlarmId(long alarmId);
|
||||
|
||||
private:
|
||||
std::string proxyUserId_;
|
||||
std::string regionId_;
|
||||
long handlerId_;
|
||||
long alarmId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CLAIMALARMREQUEST_H_
|
||||
57
arms/include/alibabacloud/arms/model/ClaimAlarmResult.h
Normal file
57
arms/include/alibabacloud/arms/model/ClaimAlarmResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CLAIMALARMRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CLAIMALARMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT ClaimAlarmResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ClaimAlarmResult();
|
||||
explicit ClaimAlarmResult(const std::string &payload);
|
||||
~ClaimAlarmResult();
|
||||
std::string getMessage()const;
|
||||
long getCode()const;
|
||||
bool getSuccess()const;
|
||||
bool getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
long code_;
|
||||
bool success_;
|
||||
bool result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CLAIMALARMRESULT_H_
|
||||
54
arms/include/alibabacloud/arms/model/CloseAlarmRequest.h
Normal file
54
arms/include/alibabacloud/arms/model/CloseAlarmRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CLOSEALARMREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CLOSEALARMREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CloseAlarmRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CloseAlarmRequest();
|
||||
~CloseAlarmRequest();
|
||||
std::string getProxyUserId() const;
|
||||
void setProxyUserId(const std::string &proxyUserId);
|
||||
std::string getSolution() const;
|
||||
void setSolution(const std::string &solution);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
long getHandlerId() const;
|
||||
void setHandlerId(long handlerId);
|
||||
long getAlarmId() const;
|
||||
void setAlarmId(long alarmId);
|
||||
|
||||
private:
|
||||
std::string proxyUserId_;
|
||||
std::string solution_;
|
||||
std::string regionId_;
|
||||
long handlerId_;
|
||||
long alarmId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CLOSEALARMREQUEST_H_
|
||||
57
arms/include/alibabacloud/arms/model/CloseAlarmResult.h
Normal file
57
arms/include/alibabacloud/arms/model/CloseAlarmResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CLOSEALARMRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CLOSEALARMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT CloseAlarmResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CloseAlarmResult();
|
||||
explicit CloseAlarmResult(const std::string &payload);
|
||||
~CloseAlarmResult();
|
||||
std::string getMessage()const;
|
||||
long getCode()const;
|
||||
bool getSuccess()const;
|
||||
bool getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
long code_;
|
||||
bool success_;
|
||||
bool result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CLOSEALARMRESULT_H_
|
||||
@@ -36,11 +36,14 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getEnable() const;
|
||||
void setEnable(const std::string &enable);
|
||||
std::string getType() const;
|
||||
void setType(const std::string &type);
|
||||
|
||||
private:
|
||||
std::string appIds_;
|
||||
std::string regionId_;
|
||||
std::string enable_;
|
||||
std::string type_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setProxyUserId(const std::string &proxyUserId);
|
||||
std::string getContactName() const;
|
||||
void setContactName(const std::string &contactName);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDingRobotWebhookUrl() const;
|
||||
@@ -49,6 +51,7 @@ private:
|
||||
std::string phoneNum_;
|
||||
std::string proxyUserId_;
|
||||
std::string contactName_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string dingRobotWebhookUrl_;
|
||||
std::string email_;
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CREATEENVCUSTOMJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEENVCUSTOMJOBREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateEnvCustomJobRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateEnvCustomJobRequest();
|
||||
~CreateEnvCustomJobRequest();
|
||||
std::string getAliyunLang() const;
|
||||
void setAliyunLang(const std::string &aliyunLang);
|
||||
std::string getConfigYaml() const;
|
||||
void setConfigYaml(const std::string &configYaml);
|
||||
std::string getEnvironmentId() const;
|
||||
void setEnvironmentId(const std::string &environmentId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getCustomJobName() const;
|
||||
void setCustomJobName(const std::string &customJobName);
|
||||
|
||||
private:
|
||||
std::string aliyunLang_;
|
||||
std::string configYaml_;
|
||||
std::string environmentId_;
|
||||
std::string regionId_;
|
||||
std::string customJobName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEENVCUSTOMJOBREQUEST_H_
|
||||
@@ -0,0 +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_ARMS_MODEL_CREATEENVCUSTOMJOBRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEENVCUSTOMJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateEnvCustomJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateEnvCustomJobResult();
|
||||
explicit CreateEnvCustomJobResult(const std::string &payload);
|
||||
~CreateEnvCustomJobResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEENVCUSTOMJOBRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CREATEENVPODMONITORREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEENVPODMONITORREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateEnvPodMonitorRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateEnvPodMonitorRequest();
|
||||
~CreateEnvPodMonitorRequest();
|
||||
bool getDryRun() const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getAliyunLang() const;
|
||||
void setAliyunLang(const std::string &aliyunLang);
|
||||
std::string getConfigYaml() const;
|
||||
void setConfigYaml(const std::string &configYaml);
|
||||
std::string getEnvironmentId() const;
|
||||
void setEnvironmentId(const std::string &environmentId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
bool dryRun_;
|
||||
std::string aliyunLang_;
|
||||
std::string configYaml_;
|
||||
std::string environmentId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEENVPODMONITORREQUEST_H_
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* 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_ARMS_MODEL_CREATEENVPODMONITORRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEENVPODMONITORRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateEnvPodMonitorResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string podMonitorName;
|
||||
std::string matchedMsg;
|
||||
std::string matchedTargetCount;
|
||||
std::string _namespace;
|
||||
};
|
||||
|
||||
|
||||
CreateEnvPodMonitorResult();
|
||||
explicit CreateEnvPodMonitorResult(const std::string &payload);
|
||||
~CreateEnvPodMonitorResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEENVPODMONITORRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CREATEENVSERVICEMONITORREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEENVSERVICEMONITORREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateEnvServiceMonitorRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateEnvServiceMonitorRequest();
|
||||
~CreateEnvServiceMonitorRequest();
|
||||
bool getDryRun() const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getAliyunLang() const;
|
||||
void setAliyunLang(const std::string &aliyunLang);
|
||||
std::string getConfigYaml() const;
|
||||
void setConfigYaml(const std::string &configYaml);
|
||||
std::string getEnvironmentId() const;
|
||||
void setEnvironmentId(const std::string &environmentId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
bool dryRun_;
|
||||
std::string aliyunLang_;
|
||||
std::string configYaml_;
|
||||
std::string environmentId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEENVSERVICEMONITORREQUEST_H_
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* 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_ARMS_MODEL_CREATEENVSERVICEMONITORRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEENVSERVICEMONITORRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateEnvServiceMonitorResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string matchedMsg;
|
||||
int matchedTargetCount;
|
||||
std::string _namespace;
|
||||
std::string serviceMonitorName;
|
||||
};
|
||||
|
||||
|
||||
CreateEnvServiceMonitorResult();
|
||||
explicit CreateEnvServiceMonitorResult(const std::string &payload);
|
||||
~CreateEnvServiceMonitorResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEENVSERVICEMONITORRESULT_H_
|
||||
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CREATEENVIRONMENTREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEENVIRONMENTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateEnvironmentRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tags {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
CreateEnvironmentRequest();
|
||||
~CreateEnvironmentRequest();
|
||||
std::string getAliyunLang() const;
|
||||
void setAliyunLang(const std::string &aliyunLang);
|
||||
std::string getEnvironmentName() const;
|
||||
void setEnvironmentName(const std::string &environmentName);
|
||||
bool getInitEnvironment() const;
|
||||
void setInitEnvironment(bool initEnvironment);
|
||||
std::string getPrometheusInstanceId() const;
|
||||
void setPrometheusInstanceId(const std::string &prometheusInstanceId);
|
||||
std::string getEnvironmentSubType() const;
|
||||
void setEnvironmentSubType(const std::string &environmentSubType);
|
||||
std::vector<Tags> getTags() const;
|
||||
void setTags(const std::vector<Tags> &tags);
|
||||
std::string getGrafanaWorkspaceId() const;
|
||||
void setGrafanaWorkspaceId(const std::string &grafanaWorkspaceId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getEnvironmentType() const;
|
||||
void setEnvironmentType(const std::string &environmentType);
|
||||
std::string getManagedType() const;
|
||||
void setManagedType(const std::string &managedType);
|
||||
std::string getBindResourceId() const;
|
||||
void setBindResourceId(const std::string &bindResourceId);
|
||||
std::string getFeePackage() const;
|
||||
void setFeePackage(const std::string &feePackage);
|
||||
|
||||
private:
|
||||
std::string aliyunLang_;
|
||||
std::string environmentName_;
|
||||
bool initEnvironment_;
|
||||
std::string prometheusInstanceId_;
|
||||
std::string environmentSubType_;
|
||||
std::vector<Tags> tags_;
|
||||
std::string grafanaWorkspaceId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string environmentType_;
|
||||
std::string managedType_;
|
||||
std::string bindResourceId_;
|
||||
std::string feePackage_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEENVIRONMENTREQUEST_H_
|
||||
@@ -0,0 +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_ARMS_MODEL_CREATEENVIRONMENTRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEENVIRONMENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateEnvironmentResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateEnvironmentResult();
|
||||
explicit CreateEnvironmentResult(const std::string &payload);
|
||||
~CreateEnvironmentResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEENVIRONMENTRESULT_H_
|
||||
@@ -0,0 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CREATEGRAFANAWORKSPACEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEGRAFANAWORKSPACEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateGrafanaWorkspaceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tags {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
CreateGrafanaWorkspaceRequest();
|
||||
~CreateGrafanaWorkspaceRequest();
|
||||
std::string getAliyunLang() const;
|
||||
void setAliyunLang(const std::string &aliyunLang);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getGrafanaWorkspaceName() const;
|
||||
void setGrafanaWorkspaceName(const std::string &grafanaWorkspaceName);
|
||||
std::vector<Tags> getTags() const;
|
||||
void setTags(const std::vector<Tags> &tags);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getGrafanaVersion() const;
|
||||
void setGrafanaVersion(const std::string &grafanaVersion);
|
||||
std::string getPassword() const;
|
||||
void setPassword(const std::string &password);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getGrafanaWorkspaceEdition() const;
|
||||
void setGrafanaWorkspaceEdition(const std::string &grafanaWorkspaceEdition);
|
||||
|
||||
private:
|
||||
std::string aliyunLang_;
|
||||
std::string description_;
|
||||
std::string grafanaWorkspaceName_;
|
||||
std::vector<Tags> tags_;
|
||||
std::string resourceGroupId_;
|
||||
std::string grafanaVersion_;
|
||||
std::string password_;
|
||||
std::string regionId_;
|
||||
std::string grafanaWorkspaceEdition_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEGRAFANAWORKSPACEREQUEST_H_
|
||||
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
* 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_ARMS_MODEL_CREATEGRAFANAWORKSPACERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEGRAFANAWORKSPACERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateGrafanaWorkspaceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct TagsItem
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::string deployType;
|
||||
std::string personalDomainPrefix;
|
||||
std::string description;
|
||||
std::string ntmId;
|
||||
float endTime;
|
||||
std::string resourceGroupId;
|
||||
std::string grafanaVersion;
|
||||
std::string privateIp;
|
||||
std::string maxAccount;
|
||||
std::string protocol;
|
||||
bool shareSynced;
|
||||
std::string privateDomain;
|
||||
std::string status;
|
||||
std::string grafanaWorkspaceDomain;
|
||||
std::string personalDomain;
|
||||
std::string grafanaWorkspaceId;
|
||||
std::vector<std::string> upgradeVersion;
|
||||
std::string grafanaWorkspaceEdition;
|
||||
std::string snatIp;
|
||||
std::vector<TagsItem> tags;
|
||||
bool commercial;
|
||||
std::string grafanaWorkspaceIp;
|
||||
float gmtCreate;
|
||||
std::string userId;
|
||||
std::string grafanaWorkspaceDomainStatus;
|
||||
std::string grafanaWorkspaceName;
|
||||
std::string regionId;
|
||||
};
|
||||
|
||||
|
||||
CreateGrafanaWorkspaceResult();
|
||||
explicit CreateGrafanaWorkspaceResult(const std::string &payload);
|
||||
~CreateGrafanaWorkspaceResult();
|
||||
std::string getMessage()const;
|
||||
std::string getTraceId()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string traceId_;
|
||||
Data data_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEGRAFANAWORKSPACERESULT_H_
|
||||
@@ -30,22 +30,25 @@ class ALIBABACLOUD_ARMS_EXPORT CreateIntegrationRequest : public RpcServiceReque
|
||||
public:
|
||||
CreateIntegrationRequest();
|
||||
~CreateIntegrationRequest();
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
bool getAutoRecover() const;
|
||||
void setAutoRecover(bool autoRecover);
|
||||
long getRecoverTime() const;
|
||||
void setRecoverTime(long recoverTime);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getIntegrationName() const;
|
||||
void setIntegrationName(const std::string &integrationName);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getIntegrationProductType() const;
|
||||
void setIntegrationProductType(const std::string &integrationProductType);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
bool autoRecover_;
|
||||
long recoverTime_;
|
||||
std::string regionId_;
|
||||
std::string integrationName_;
|
||||
std::string description_;
|
||||
std::string integrationProductType_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -28,6 +28,14 @@ namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateOrUpdateAlertRuleRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct MarkTags {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct Tags {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
CreateOrUpdateAlertRuleRequest();
|
||||
~CreateOrUpdateAlertRuleRequest();
|
||||
long getAlertGroup() const;
|
||||
@@ -38,16 +46,28 @@ public:
|
||||
void setAlertStatus(const std::string &alertStatus);
|
||||
std::string getAnnotations() const;
|
||||
void setAnnotations(const std::string &annotations);
|
||||
std::string getDataConfig() const;
|
||||
void setDataConfig(const std::string &dataConfig);
|
||||
long getDuration() const;
|
||||
void setDuration(long duration);
|
||||
std::string getAutoAddTargetConfig() const;
|
||||
void setAutoAddTargetConfig(const std::string &autoAddTargetConfig);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getMetricsKey() const;
|
||||
void setMetricsKey(const std::string &metricsKey);
|
||||
std::string getAlertPiplines() const;
|
||||
void setAlertPiplines(const std::string &alertPiplines);
|
||||
std::vector<MarkTags> getMarkTags() const;
|
||||
void setMarkTags(const std::vector<MarkTags> &markTags);
|
||||
std::string getNotice() const;
|
||||
void setNotice(const std::string ¬ice);
|
||||
std::string getAlertRuleContent() const;
|
||||
void setAlertRuleContent(const std::string &alertRuleContent);
|
||||
std::string getPromQL() const;
|
||||
void setPromQL(const std::string &promQL);
|
||||
std::string getProduct() const;
|
||||
void setProduct(const std::string &product);
|
||||
std::string getLevel() const;
|
||||
void setLevel(const std::string &level);
|
||||
bool getAutoAddNewApplication() const;
|
||||
@@ -58,10 +78,18 @@ public:
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getMessage() const;
|
||||
void setMessage(const std::string &message);
|
||||
std::string getDurationCompareType() const;
|
||||
void setDurationCompareType(const std::string &durationCompareType);
|
||||
std::string getProxyUserId() const;
|
||||
void setProxyUserId(const std::string &proxyUserId);
|
||||
std::string getNotifyStrategy() const;
|
||||
void setNotifyStrategy(const std::string ¬ifyStrategy);
|
||||
std::string getLabels() const;
|
||||
void setLabels(const std::string &labels);
|
||||
std::vector<Tags> getTags() const;
|
||||
void setTags(const std::vector<Tags> &tags);
|
||||
std::string getNotifyMode() const;
|
||||
void setNotifyMode(const std::string ¬ifyMode);
|
||||
std::string getAlertType() const;
|
||||
void setAlertType(const std::string &alertType);
|
||||
std::string getAlertCheckType() const;
|
||||
@@ -78,18 +106,28 @@ private:
|
||||
std::string alertName_;
|
||||
std::string alertStatus_;
|
||||
std::string annotations_;
|
||||
std::string dataConfig_;
|
||||
long duration_;
|
||||
std::string autoAddTargetConfig_;
|
||||
std::string regionId_;
|
||||
std::string metricsKey_;
|
||||
std::string alertPiplines_;
|
||||
std::vector<MarkTags> markTags_;
|
||||
std::string notice_;
|
||||
std::string alertRuleContent_;
|
||||
std::string promQL_;
|
||||
std::string product_;
|
||||
std::string level_;
|
||||
bool autoAddNewApplication_;
|
||||
std::string filters_;
|
||||
std::string clusterId_;
|
||||
std::string message_;
|
||||
std::string durationCompareType_;
|
||||
std::string proxyUserId_;
|
||||
std::string notifyStrategy_;
|
||||
std::string labels_;
|
||||
std::vector<Tags> tags_;
|
||||
std::string notifyMode_;
|
||||
std::string alertType_;
|
||||
std::string alertCheckType_;
|
||||
std::string metricsType_;
|
||||
|
||||
@@ -78,30 +78,37 @@ namespace AlibabaCloud
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
std::string alertName;
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
long createdTime;
|
||||
std::string message;
|
||||
std::string clusterId;
|
||||
std::string promQL;
|
||||
std::string alertCheckType;
|
||||
AlertRuleContent alertRuleContent;
|
||||
std::string notifyStrategy;
|
||||
std::vector<LabelsItem> labels;
|
||||
std::string duration;
|
||||
std::vector<std::string> pids;
|
||||
std::string alertType;
|
||||
Filters filters;
|
||||
float alertId;
|
||||
long alertGroup;
|
||||
std::vector<AnnotationsItem> annotations;
|
||||
std::string alertStatus;
|
||||
std::string metricsType;
|
||||
std::vector<Tag> tags;
|
||||
std::string alertName;
|
||||
std::string clusterId;
|
||||
std::string promQL;
|
||||
AlertRuleContent alertRuleContent;
|
||||
std::vector<LabelsItem> labels;
|
||||
std::string duration;
|
||||
float alertId;
|
||||
std::string notifyMode;
|
||||
std::string extend;
|
||||
std::string userId;
|
||||
std::string alertStatus;
|
||||
bool autoAddNewApplication;
|
||||
std::string level;
|
||||
std::string regionId;
|
||||
long updatedTime;
|
||||
std::string metricsType;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -38,21 +38,33 @@ public:
|
||||
void setIsVerify(bool isVerify);
|
||||
std::string getProxyUserId() const;
|
||||
void setProxyUserId(const std::string &proxyUserId);
|
||||
std::string getCorpUserId() const;
|
||||
void setCorpUserId(const std::string &corpUserId);
|
||||
std::string getContactName() const;
|
||||
void setContactName(const std::string &contactName);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getDingRobotUrl() const;
|
||||
void setDingRobotUrl(const std::string &dingRobotUrl);
|
||||
std::string getPhone() const;
|
||||
void setPhone(const std::string &phone);
|
||||
std::string getEmail() const;
|
||||
void setEmail(const std::string &email);
|
||||
bool getIsEmailVerify() const;
|
||||
void setIsEmailVerify(bool isEmailVerify);
|
||||
|
||||
private:
|
||||
long contactId_;
|
||||
long reissueSendNotice_;
|
||||
bool isVerify_;
|
||||
std::string proxyUserId_;
|
||||
std::string corpUserId_;
|
||||
std::string contactName_;
|
||||
std::string resourceGroupId_;
|
||||
std::string dingRobotUrl_;
|
||||
std::string phone_;
|
||||
std::string email_;
|
||||
bool isEmailVerify_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
std::string email;
|
||||
bool isVerify;
|
||||
std::string phone;
|
||||
std::string dingRobotUrl;
|
||||
bool isEmailVerify;
|
||||
float contactId;
|
||||
std::string contactName;
|
||||
long reissueSendNotice;
|
||||
|
||||
@@ -30,44 +30,56 @@ class ALIBABACLOUD_ARMS_EXPORT CreateOrUpdateNotificationPolicyRequest : public
|
||||
public:
|
||||
CreateOrUpdateNotificationPolicyRequest();
|
||||
~CreateOrUpdateNotificationPolicyRequest();
|
||||
long getEscalationPolicyId() const;
|
||||
void setEscalationPolicyId(long escalationPolicyId);
|
||||
bool getSendRecoverMessage() const;
|
||||
void setSendRecoverMessage(bool sendRecoverMessage);
|
||||
long getIntegrationId() const;
|
||||
void setIntegrationId(long integrationId);
|
||||
std::string getMatchingRules() const;
|
||||
void setMatchingRules(const std::string &matchingRules);
|
||||
std::string getAreaCodes() const;
|
||||
void setAreaCodes(const std::string &areaCodes);
|
||||
std::string getGroupRule() const;
|
||||
void setGroupRule(const std::string &groupRule);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
bool getRepeat() const;
|
||||
void setRepeat(bool repeat);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
long getId() const;
|
||||
void setId(long id);
|
||||
std::string getNotifyRule() const;
|
||||
void setNotifyRule(const std::string ¬ifyRule);
|
||||
std::string getNotifyTemplate() const;
|
||||
void setNotifyTemplate(const std::string ¬ifyTemplate);
|
||||
std::string getState() const;
|
||||
void setState(const std::string &state);
|
||||
long getRepeatInterval() const;
|
||||
void setRepeatInterval(long repeatInterval);
|
||||
long getEscalationPolicyId() const;
|
||||
void setEscalationPolicyId(long escalationPolicyId);
|
||||
bool getSendRecoverMessage() const;
|
||||
void setSendRecoverMessage(bool sendRecoverMessage);
|
||||
std::string getProxyUserId() const;
|
||||
void setProxyUserId(const std::string &proxyUserId);
|
||||
std::string getMatchingRules() const;
|
||||
void setMatchingRules(const std::string &matchingRules);
|
||||
bool getDirectedMode() const;
|
||||
void setDirectedMode(bool directedMode);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::string getNotifyTemplate() const;
|
||||
void setNotifyTemplate(const std::string ¬ifyTemplate);
|
||||
|
||||
private:
|
||||
long escalationPolicyId_;
|
||||
bool sendRecoverMessage_;
|
||||
long integrationId_;
|
||||
std::string matchingRules_;
|
||||
std::string areaCodes_;
|
||||
std::string groupRule_;
|
||||
std::string regionId_;
|
||||
bool repeat_;
|
||||
std::string name_;
|
||||
long id_;
|
||||
std::string notifyRule_;
|
||||
std::string notifyTemplate_;
|
||||
std::string state_;
|
||||
long repeatInterval_;
|
||||
long escalationPolicyId_;
|
||||
bool sendRecoverMessage_;
|
||||
std::string proxyUserId_;
|
||||
std::string matchingRules_;
|
||||
bool directedMode_;
|
||||
std::string name_;
|
||||
std::string notifyTemplate_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
|
||||
@@ -44,6 +44,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct NotifyObjectsItem
|
||||
{
|
||||
std::vector<std::string> notifyChannels1;
|
||||
std::string notifyObjectName;
|
||||
std::string notifyObjectType;
|
||||
long notifyObjectId;
|
||||
@@ -79,12 +80,14 @@ namespace AlibabaCloud
|
||||
NotifyTemplate notifyTemplate;
|
||||
NotifyRule notifyRule;
|
||||
bool sendRecoverMessage;
|
||||
GroupRule groupRule;
|
||||
std::vector<MatchingRulesItem> matchingRules;
|
||||
bool repeat;
|
||||
long integrationId;
|
||||
long id;
|
||||
std::string name;
|
||||
std::string state;
|
||||
GroupRule groupRule;
|
||||
long id;
|
||||
bool directedMode;
|
||||
long repeatInterval;
|
||||
};
|
||||
|
||||
|
||||
@@ -30,20 +30,29 @@ class ALIBABACLOUD_ARMS_EXPORT CreateOrUpdateSilencePolicyRequest : public RpcSe
|
||||
public:
|
||||
CreateOrUpdateSilencePolicyRequest();
|
||||
~CreateOrUpdateSilencePolicyRequest();
|
||||
std::string getProxyUserId() const;
|
||||
void setProxyUserId(const std::string &proxyUserId);
|
||||
std::string getMatchingRules() const;
|
||||
void setMatchingRules(const std::string &matchingRules);
|
||||
std::string getAreaCodes() const;
|
||||
void setAreaCodes(const std::string &areaCodes);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
long getId() const;
|
||||
void setId(long id);
|
||||
std::string getMatchingRules() const;
|
||||
void setMatchingRules(const std::string &matchingRules);
|
||||
std::string getState() const;
|
||||
void setState(const std::string &state);
|
||||
|
||||
private:
|
||||
std::string proxyUserId_;
|
||||
std::string matchingRules_;
|
||||
std::string areaCodes_;
|
||||
std::string regionId_;
|
||||
std::string name_;
|
||||
long id_;
|
||||
std::string matchingRules_;
|
||||
std::string state_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
|
||||
@@ -44,6 +44,7 @@ namespace AlibabaCloud
|
||||
};
|
||||
std::vector<MatchingRulesItem::MatchingConditionsItem> matchingConditions;
|
||||
};
|
||||
std::string state;
|
||||
std::vector<MatchingRulesItem> matchingRules;
|
||||
long id;
|
||||
std::string name;
|
||||
|
||||
@@ -28,6 +28,10 @@ namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreatePrometheusAlertRuleRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tags {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
CreatePrometheusAlertRuleRequest();
|
||||
~CreatePrometheusAlertRuleRequest();
|
||||
std::string getProductCode() const;
|
||||
@@ -50,6 +54,8 @@ public:
|
||||
void setMessage(const std::string &message);
|
||||
std::string getLabels() const;
|
||||
void setLabels(const std::string &labels);
|
||||
std::vector<Tags> getTags() const;
|
||||
void setTags(const std::vector<Tags> &tags);
|
||||
std::string getDuration() const;
|
||||
void setDuration(const std::string &duration);
|
||||
std::string getRegionId() const;
|
||||
@@ -68,6 +74,7 @@ private:
|
||||
std::string type_;
|
||||
std::string message_;
|
||||
std::string labels_;
|
||||
std::vector<Tags> tags_;
|
||||
std::string duration_;
|
||||
std::string regionId_;
|
||||
std::string notifyType_;
|
||||
|
||||
@@ -62,12 +62,18 @@ namespace AlibabaCloud
|
||||
CreatePrometheusAlertRuleResult();
|
||||
explicit CreatePrometheusAlertRuleResult(const std::string &payload);
|
||||
~CreatePrometheusAlertRuleResult();
|
||||
std::string getMessage()const;
|
||||
PrometheusAlertRule getPrometheusAlertRule()const;
|
||||
long getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
PrometheusAlertRule prometheusAlertRule_;
|
||||
long code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
/*
|
||||
* 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_ARMS_MODEL_CREATEPROMETHEUSINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEPROMETHEUSINSTANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreatePrometheusInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tags {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
CreatePrometheusInstanceRequest();
|
||||
~CreatePrometheusInstanceRequest();
|
||||
std::string getGrafanaInstanceId() const;
|
||||
void setGrafanaInstanceId(const std::string &grafanaInstanceId);
|
||||
std::string getClusterName() const;
|
||||
void setClusterName(const std::string &clusterName);
|
||||
std::string getSecurityGroupId() const;
|
||||
void setSecurityGroupId(const std::string &securityGroupId);
|
||||
std::string getStsToken() const;
|
||||
void setStsToken(const std::string &stsToken);
|
||||
int getDuration() const;
|
||||
void setDuration(int duration);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getSubClustersJson() const;
|
||||
void setSubClustersJson(const std::string &subClustersJson);
|
||||
bool getAllSubClustersSuccess() const;
|
||||
void setAllSubClustersSuccess(bool allSubClustersSuccess);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::vector<Tags> getTags() const;
|
||||
void setTags(const std::vector<Tags> &tags);
|
||||
std::string getClusterType() const;
|
||||
void setClusterType(const std::string &clusterType);
|
||||
std::string getVSwitchId() const;
|
||||
void setVSwitchId(const std::string &vSwitchId);
|
||||
std::string getParamJson() const;
|
||||
void setParamJson(const std::string ¶mJson);
|
||||
std::string getVpcId() const;
|
||||
void setVpcId(const std::string &vpcId);
|
||||
int getArchiveDuration() const;
|
||||
void setArchiveDuration(int archiveDuration);
|
||||
|
||||
private:
|
||||
std::string grafanaInstanceId_;
|
||||
std::string clusterName_;
|
||||
std::string securityGroupId_;
|
||||
std::string stsToken_;
|
||||
int duration_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string subClustersJson_;
|
||||
bool allSubClustersSuccess_;
|
||||
std::string clusterId_;
|
||||
std::vector<Tags> tags_;
|
||||
std::string clusterType_;
|
||||
std::string vSwitchId_;
|
||||
std::string paramJson_;
|
||||
std::string vpcId_;
|
||||
int archiveDuration_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEPROMETHEUSINSTANCEREQUEST_H_
|
||||
@@ -0,0 +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_ARMS_MODEL_CREATEPROMETHEUSINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEPROMETHEUSINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreatePrometheusInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreatePrometheusInstanceResult();
|
||||
explicit CreatePrometheusInstanceResult(const std::string &payload);
|
||||
~CreatePrometheusInstanceResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEPROMETHEUSINSTANCERESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CREATEPROMETHEUSMONITORINGREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEPROMETHEUSMONITORINGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreatePrometheusMonitoringRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreatePrometheusMonitoringRequest();
|
||||
~CreatePrometheusMonitoringRequest();
|
||||
std::string getConfigYaml() const;
|
||||
void setConfigYaml(const std::string &configYaml);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getType() const;
|
||||
void setType(const std::string &type);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
|
||||
private:
|
||||
std::string configYaml_;
|
||||
std::string clusterId_;
|
||||
std::string type_;
|
||||
std::string regionId_;
|
||||
std::string status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEPROMETHEUSMONITORINGREQUEST_H_
|
||||
@@ -0,0 +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_ARMS_MODEL_CREATEPROMETHEUSMONITORINGRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATEPROMETHEUSMONITORINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreatePrometheusMonitoringResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreatePrometheusMonitoringResult();
|
||||
explicit CreatePrometheusMonitoringResult(const std::string &payload);
|
||||
~CreatePrometheusMonitoringResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATEPROMETHEUSMONITORINGRESULT_H_
|
||||
@@ -28,19 +28,29 @@ namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateRetcodeAppRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tags {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
CreateRetcodeAppRequest();
|
||||
~CreateRetcodeAppRequest();
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getRetcodeAppName() const;
|
||||
void setRetcodeAppName(const std::string &retcodeAppName);
|
||||
std::string getRetcodeAppType() const;
|
||||
void setRetcodeAppType(const std::string &retcodeAppType);
|
||||
std::vector<Tags> getTags() const;
|
||||
void setTags(const std::vector<Tags> &tags);
|
||||
|
||||
private:
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string retcodeAppName_;
|
||||
std::string retcodeAppType_;
|
||||
std::vector<Tags> tags_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
|
||||
@@ -34,8 +34,15 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct RetcodeAppDataBean
|
||||
{
|
||||
struct TagsItem
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
long appId;
|
||||
std::string resourceGroupId;
|
||||
std::string pid;
|
||||
std::vector<TagsItem> tags;
|
||||
};
|
||||
|
||||
|
||||
@@ -43,11 +50,19 @@ namespace AlibabaCloud
|
||||
explicit CreateRetcodeAppResult(const std::string &payload);
|
||||
~CreateRetcodeAppResult();
|
||||
RetcodeAppDataBean getRetcodeAppDataBean()const;
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
RetcodeAppDataBean retcodeAppDataBean_;
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
73
arms/include/alibabacloud/arms/model/CreateRumAppRequest.h
Normal file
73
arms/include/alibabacloud/arms/model/CreateRumAppRequest.h
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* 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_ARMS_MODEL_CREATERUMAPPREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATERUMAPPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateRumAppRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
CreateRumAppRequest();
|
||||
~CreateRumAppRequest();
|
||||
std::string getPackageName() const;
|
||||
void setPackageName(const std::string &packageName);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getSource() const;
|
||||
void setSource(const std::string &source);
|
||||
std::string getSiteType() const;
|
||||
void setSiteType(const std::string &siteType);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getAppGroup() const;
|
||||
void setAppGroup(const std::string &appGroup);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getNickName() const;
|
||||
void setNickName(const std::string &nickName);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
|
||||
private:
|
||||
std::string packageName_;
|
||||
std::string description_;
|
||||
std::string source_;
|
||||
std::string siteType_;
|
||||
std::string resourceGroupId_;
|
||||
std::string appName_;
|
||||
std::string appGroup_;
|
||||
std::string regionId_;
|
||||
std::string nickName_;
|
||||
std::vector<Tag> tag_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATERUMAPPREQUEST_H_
|
||||
67
arms/include/alibabacloud/arms/model/CreateRumAppResult.h
Normal file
67
arms/include/alibabacloud/arms/model/CreateRumAppResult.h
Normal file
@@ -0,0 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CREATERUMAPPRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATERUMAPPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateRumAppResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string endpoint;
|
||||
std::string cdnDomain;
|
||||
std::string pid;
|
||||
};
|
||||
|
||||
|
||||
CreateRumAppResult();
|
||||
explicit CreateRumAppResult(const std::string &payload);
|
||||
~CreateRumAppResult();
|
||||
std::string getMessage()const;
|
||||
std::string getResourceGroupId()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string resourceGroupId_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATERUMAPPRESULT_H_
|
||||
@@ -0,0 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_CREATERUMUPLOADFILEURLREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATERUMUPLOADFILEURLREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateRumUploadFileUrlRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateRumUploadFileUrlRequest();
|
||||
~CreateRumUploadFileUrlRequest();
|
||||
std::string getSourcemapType() const;
|
||||
void setSourcemapType(const std::string &sourcemapType);
|
||||
std::string getPid() const;
|
||||
void setPid(const std::string &pid);
|
||||
std::string getUuid() const;
|
||||
void setUuid(const std::string &uuid);
|
||||
std::string getContentType() const;
|
||||
void setContentType(const std::string &contentType);
|
||||
std::string getVersionId() const;
|
||||
void setVersionId(const std::string &versionId);
|
||||
std::string getFileName() const;
|
||||
void setFileName(const std::string &fileName);
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string sourcemapType_;
|
||||
std::string pid_;
|
||||
std::string uuid_;
|
||||
std::string contentType_;
|
||||
std::string versionId_;
|
||||
std::string fileName_;
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATERUMUPLOADFILEURLREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* 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_ARMS_MODEL_CREATERUMUPLOADFILEURLRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATERUMUPLOADFILEURLRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateRumUploadFileUrlResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateRumUploadFileUrlResult();
|
||||
explicit CreateRumUploadFileUrlResult(const std::string &payload);
|
||||
~CreateRumUploadFileUrlResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATERUMUPLOADFILEURLRESULT_H_
|
||||
@@ -0,0 +1,226 @@
|
||||
/*
|
||||
* 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_ARMS_MODEL_CREATETIMINGSYNTHETICTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATETIMINGSYNTHETICTASKREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateTimingSyntheticTaskRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct AvailableAssertions {
|
||||
std::string expect;
|
||||
std::string type;
|
||||
std::string _operator;
|
||||
std::string target;
|
||||
};
|
||||
struct CommonSetting {
|
||||
struct CustomPrometheusSetting {
|
||||
std::map<std::string, std::string> prometheusLabels;
|
||||
std::string prometheusClusterRegion;
|
||||
std::string prometheusClusterId;
|
||||
};
|
||||
CustomPrometheusSetting customPrometheusSetting;
|
||||
struct CustomHost {
|
||||
struct HostsItem {
|
||||
std::string domain;
|
||||
int ipType;
|
||||
std::string string;
|
||||
std::vector<std::string> ips;
|
||||
};
|
||||
HostsItem hostsItem;
|
||||
std::vector<HostsItem> hosts;
|
||||
int selectType;
|
||||
};
|
||||
CustomHost customHost;
|
||||
std::string xtraceRegion;
|
||||
int ipType;
|
||||
bool isOpenTrace;
|
||||
int traceClientType;
|
||||
struct CustomVPCSetting {
|
||||
std::string vSwitchId;
|
||||
std::string secureGroupId;
|
||||
std::string regionId;
|
||||
std::string vpcId;
|
||||
};
|
||||
CustomVPCSetting customVPCSetting;
|
||||
int monitorSamples;
|
||||
};
|
||||
struct Tags {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct MonitorConf {
|
||||
struct NetICMP {
|
||||
long tracertTimeout;
|
||||
long interval;
|
||||
bool splitPackage;
|
||||
int packageSize;
|
||||
bool tracertEnable;
|
||||
std::string targetUrl;
|
||||
long timeout;
|
||||
int packageNum;
|
||||
int tracertNumMax;
|
||||
};
|
||||
NetICMP netICMP;
|
||||
struct ApiHTTP {
|
||||
long connectTimeout;
|
||||
struct RequestBody {
|
||||
std::string type;
|
||||
std::string content;
|
||||
};
|
||||
RequestBody requestBody;
|
||||
std::string method;
|
||||
bool checkCert;
|
||||
int protocolAlpnProtocol;
|
||||
std::map<std::string, std::string> requestHeaders;
|
||||
std::string targetUrl;
|
||||
long timeout;
|
||||
};
|
||||
ApiHTTP apiHTTP;
|
||||
struct Website {
|
||||
int flowHijackJumpTimes;
|
||||
std::string dNSHijackWhitelist;
|
||||
long slowElementThreshold;
|
||||
std::string verifyStringBlacklist;
|
||||
int customHeader;
|
||||
long waitCompletionTime;
|
||||
int disableCompression;
|
||||
long monitorTimeout;
|
||||
std::string verifyStringWhitelist;
|
||||
std::map<std::string, std::string> customHeaderContent;
|
||||
int filterInvalidIP;
|
||||
int disableCache;
|
||||
std::string pageTamper;
|
||||
std::string flowHijackLogo;
|
||||
int automaticScrolling;
|
||||
std::string targetUrl;
|
||||
int redirection;
|
||||
int ignoreCertificateError;
|
||||
std::string elementBlacklist;
|
||||
};
|
||||
Website website;
|
||||
struct Stream {
|
||||
int playerType;
|
||||
int streamType;
|
||||
int streamAddressType;
|
||||
std::map<std::string, std::string> customHeaderContent;
|
||||
int streamMonitorTimeout;
|
||||
std::string whiteList;
|
||||
std::string targetUrl;
|
||||
};
|
||||
Stream stream;
|
||||
struct NetDNS {
|
||||
std::string nsServer;
|
||||
int queryMethod;
|
||||
std::string targetUrl;
|
||||
int dnsServerIpType;
|
||||
long timeout;
|
||||
};
|
||||
NetDNS netDNS;
|
||||
struct NetTCP {
|
||||
int connectTimes;
|
||||
long tracertTimeout;
|
||||
long interval;
|
||||
bool tracertEnable;
|
||||
std::string targetUrl;
|
||||
long timeout;
|
||||
int tracertNumMax;
|
||||
};
|
||||
NetTCP netTCP;
|
||||
struct FileDownload {
|
||||
int ignoreCertificateUntrustworthyError;
|
||||
long connectionTimeout;
|
||||
int ignoreCertificateCanceledError;
|
||||
int ignoreCertificateOutOfDateError;
|
||||
int downloadKernel;
|
||||
std::string whiteList;
|
||||
int ignoreCertificateAuthError;
|
||||
long monitorTimeout;
|
||||
std::string validateKeywords;
|
||||
int ignoreInvalidHostError;
|
||||
std::map<std::string, std::string> customHeaderContent;
|
||||
long transmissionSize;
|
||||
int ignoreCertificateUsingError;
|
||||
int quickProtocol;
|
||||
int ignoreCertificateStatusError;
|
||||
std::string targetUrl;
|
||||
int redirection;
|
||||
int verifyWay;
|
||||
};
|
||||
FileDownload fileDownload;
|
||||
};
|
||||
struct CustomPeriod {
|
||||
int endHour;
|
||||
int startHour;
|
||||
};
|
||||
struct Monitors {
|
||||
int clientType;
|
||||
std::string cityCode;
|
||||
std::string operatorCode;
|
||||
};
|
||||
CreateTimingSyntheticTaskRequest();
|
||||
~CreateTimingSyntheticTaskRequest();
|
||||
std::vector<AvailableAssertions> getAvailableAssertions() const;
|
||||
void setAvailableAssertions(const std::vector<AvailableAssertions> &availableAssertions);
|
||||
int getTaskType() const;
|
||||
void setTaskType(int taskType);
|
||||
CommonSetting getCommonSetting() const;
|
||||
void setCommonSetting(const CommonSetting &commonSetting);
|
||||
int getMonitorCategory() const;
|
||||
void setMonitorCategory(int monitorCategory);
|
||||
std::string getFrequency() const;
|
||||
void setFrequency(const std::string &frequency);
|
||||
std::vector<Tags> getTags() const;
|
||||
void setTags(const std::vector<Tags> &tags);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
MonitorConf getMonitorConf() const;
|
||||
void setMonitorConf(const MonitorConf &monitorConf);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
CustomPeriod getCustomPeriod() const;
|
||||
void setCustomPeriod(const CustomPeriod &customPeriod);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::vector<Monitors> getMonitors() const;
|
||||
void setMonitors(const std::vector<Monitors> &monitors);
|
||||
|
||||
private:
|
||||
std::vector<AvailableAssertions> availableAssertions_;
|
||||
int taskType_;
|
||||
CommonSetting commonSetting_;
|
||||
int monitorCategory_;
|
||||
std::string frequency_;
|
||||
std::vector<Tags> tags_;
|
||||
std::string resourceGroupId_;
|
||||
MonitorConf monitorConf_;
|
||||
std::string regionId_;
|
||||
CustomPeriod customPeriod_;
|
||||
std::string name_;
|
||||
std::vector<Monitors> monitors_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATETIMINGSYNTHETICTASKREQUEST_H_
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* 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_ARMS_MODEL_CREATETIMINGSYNTHETICTASKRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_CREATETIMINGSYNTHETICTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT CreateTimingSyntheticTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string status;
|
||||
std::string taskId;
|
||||
};
|
||||
|
||||
|
||||
CreateTimingSyntheticTaskResult();
|
||||
explicit CreateTimingSyntheticTaskResult(const std::string &payload);
|
||||
~CreateTimingSyntheticTaskResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
long getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
long code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_CREATETIMINGSYNTHETICTASKRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETEADDONRELEASEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEADDONRELEASEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteAddonReleaseRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteAddonReleaseRequest();
|
||||
~DeleteAddonReleaseRequest();
|
||||
std::string getReleaseName() const;
|
||||
void setReleaseName(const std::string &releaseName);
|
||||
std::string getEnvironmentId() const;
|
||||
void setEnvironmentId(const std::string &environmentId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getAddonName() const;
|
||||
void setAddonName(const std::string &addonName);
|
||||
bool getForce() const;
|
||||
void setForce(bool force);
|
||||
|
||||
private:
|
||||
std::string releaseName_;
|
||||
std::string environmentId_;
|
||||
std::string regionId_;
|
||||
std::string addonName_;
|
||||
bool force_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEADDONRELEASEREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETEADDONRELEASERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEADDONRELEASERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteAddonReleaseResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteAddonReleaseResult();
|
||||
explicit DeleteAddonReleaseResult(const std::string &payload);
|
||||
~DeleteAddonReleaseResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEADDONRELEASERESULT_H_
|
||||
45
arms/include/alibabacloud/arms/model/DeleteAppListRequest.h
Normal file
45
arms/include/alibabacloud/arms/model/DeleteAppListRequest.h
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETEAPPLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEAPPLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteAppListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteAppListRequest();
|
||||
~DeleteAppListRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::vector<std::string> getPids() const;
|
||||
void setPids(const std::vector<std::string> &pids);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::vector<std::string> pids_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEAPPLISTREQUEST_H_
|
||||
57
arms/include/alibabacloud/arms/model/DeleteAppListResult.h
Normal file
57
arms/include/alibabacloud/arms/model/DeleteAppListResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETEAPPLISTRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEAPPLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteAppListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteAppListResult();
|
||||
explicit DeleteAppListResult(const std::string &payload);
|
||||
~DeleteAppListResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
long getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
long code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEAPPLISTRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETEENVCUSTOMJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEENVCUSTOMJOBREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteEnvCustomJobRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteEnvCustomJobRequest();
|
||||
~DeleteEnvCustomJobRequest();
|
||||
std::string getEnvironmentId() const;
|
||||
void setEnvironmentId(const std::string &environmentId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getCustomJobName() const;
|
||||
void setCustomJobName(const std::string &customJobName);
|
||||
|
||||
private:
|
||||
std::string environmentId_;
|
||||
std::string regionId_;
|
||||
std::string customJobName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEENVCUSTOMJOBREQUEST_H_
|
||||
@@ -0,0 +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_ARMS_MODEL_DELETEENVCUSTOMJOBRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEENVCUSTOMJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteEnvCustomJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteEnvCustomJobResult();
|
||||
explicit DeleteEnvCustomJobResult(const std::string &payload);
|
||||
~DeleteEnvCustomJobResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEENVCUSTOMJOBRESULT_H_
|
||||
@@ -0,0 +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_ARMS_MODEL_DELETEENVPODMONITORREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEENVPODMONITORREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteEnvPodMonitorRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteEnvPodMonitorRequest();
|
||||
~DeleteEnvPodMonitorRequest();
|
||||
std::string getPodMonitorName() const;
|
||||
void setPodMonitorName(const std::string &podMonitorName);
|
||||
std::string getEnvironmentId() const;
|
||||
void setEnvironmentId(const std::string &environmentId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string get_Namespace() const;
|
||||
void set_Namespace(const std::string &_namespace);
|
||||
|
||||
private:
|
||||
std::string podMonitorName_;
|
||||
std::string environmentId_;
|
||||
std::string regionId_;
|
||||
std::string _namespace_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEENVPODMONITORREQUEST_H_
|
||||
@@ -0,0 +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_ARMS_MODEL_DELETEENVPODMONITORRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEENVPODMONITORRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteEnvPodMonitorResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteEnvPodMonitorResult();
|
||||
explicit DeleteEnvPodMonitorResult(const std::string &payload);
|
||||
~DeleteEnvPodMonitorResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEENVPODMONITORRESULT_H_
|
||||
@@ -0,0 +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_ARMS_MODEL_DELETEENVSERVICEMONITORREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEENVSERVICEMONITORREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteEnvServiceMonitorRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteEnvServiceMonitorRequest();
|
||||
~DeleteEnvServiceMonitorRequest();
|
||||
std::string getServiceMonitorName() const;
|
||||
void setServiceMonitorName(const std::string &serviceMonitorName);
|
||||
std::string getEnvironmentId() const;
|
||||
void setEnvironmentId(const std::string &environmentId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string get_Namespace() const;
|
||||
void set_Namespace(const std::string &_namespace);
|
||||
|
||||
private:
|
||||
std::string serviceMonitorName_;
|
||||
std::string environmentId_;
|
||||
std::string regionId_;
|
||||
std::string _namespace_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEENVSERVICEMONITORREQUEST_H_
|
||||
@@ -0,0 +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_ARMS_MODEL_DELETEENVSERVICEMONITORRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEENVSERVICEMONITORRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteEnvServiceMonitorResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteEnvServiceMonitorResult();
|
||||
explicit DeleteEnvServiceMonitorResult(const std::string &payload);
|
||||
~DeleteEnvServiceMonitorResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEENVSERVICEMONITORRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETEENVIRONMENTFEATUREREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEENVIRONMENTFEATUREREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteEnvironmentFeatureRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteEnvironmentFeatureRequest();
|
||||
~DeleteEnvironmentFeatureRequest();
|
||||
std::string getFeatureName() const;
|
||||
void setFeatureName(const std::string &featureName);
|
||||
std::string getEnvironmentId() const;
|
||||
void setEnvironmentId(const std::string &environmentId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string featureName_;
|
||||
std::string environmentId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEENVIRONMENTFEATUREREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETEENVIRONMENTFEATURERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEENVIRONMENTFEATURERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteEnvironmentFeatureResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteEnvironmentFeatureResult();
|
||||
explicit DeleteEnvironmentFeatureResult(const std::string &payload);
|
||||
~DeleteEnvironmentFeatureResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEENVIRONMENTFEATURERESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETEENVIRONMENTREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEENVIRONMENTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteEnvironmentRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteEnvironmentRequest();
|
||||
~DeleteEnvironmentRequest();
|
||||
bool getDeletePromInstance() const;
|
||||
void setDeletePromInstance(bool deletePromInstance);
|
||||
std::string getEnvironmentId() const;
|
||||
void setEnvironmentId(const std::string &environmentId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
bool deletePromInstance_;
|
||||
std::string environmentId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEENVIRONMENTREQUEST_H_
|
||||
@@ -0,0 +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_ARMS_MODEL_DELETEENVIRONMENTRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEENVIRONMENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteEnvironmentResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteEnvironmentResult();
|
||||
explicit DeleteEnvironmentResult(const std::string &payload);
|
||||
~DeleteEnvironmentResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEENVIRONMENTRESULT_H_
|
||||
@@ -37,12 +37,16 @@ namespace AlibabaCloud
|
||||
DeleteGrafanaResourceResult();
|
||||
explicit DeleteGrafanaResourceResult(const std::string &payload);
|
||||
~DeleteGrafanaResourceResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETEGRAFANAWORKSPACEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEGRAFANAWORKSPACEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteGrafanaWorkspaceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteGrafanaWorkspaceRequest();
|
||||
~DeleteGrafanaWorkspaceRequest();
|
||||
std::string getGrafanaWorkspaceId() const;
|
||||
void setGrafanaWorkspaceId(const std::string &grafanaWorkspaceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string grafanaWorkspaceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEGRAFANAWORKSPACEREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* 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_ARMS_MODEL_DELETEGRAFANAWORKSPACERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEGRAFANAWORKSPACERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteGrafanaWorkspaceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteGrafanaWorkspaceResult();
|
||||
explicit DeleteGrafanaWorkspaceResult(const std::string &payload);
|
||||
~DeleteGrafanaWorkspaceResult();
|
||||
std::string getMessage()const;
|
||||
std::string getTraceId()const;
|
||||
bool getData()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string traceId_;
|
||||
bool data_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEGRAFANAWORKSPACERESULT_H_
|
||||
@@ -37,12 +37,16 @@ namespace AlibabaCloud
|
||||
DeleteIntegrationResult();
|
||||
explicit DeleteIntegrationResult(const std::string &payload);
|
||||
~DeleteIntegrationResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,9 +32,12 @@ public:
|
||||
~DeletePrometheusAlertRuleRequest();
|
||||
long getAlertId() const;
|
||||
void setAlertId(long alertId);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
long alertId_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
|
||||
@@ -37,11 +37,15 @@ namespace AlibabaCloud
|
||||
DeletePrometheusAlertRuleResult();
|
||||
explicit DeletePrometheusAlertRuleResult(const std::string &payload);
|
||||
~DeletePrometheusAlertRuleResult();
|
||||
std::string getMessage()const;
|
||||
long getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
long code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,12 +37,16 @@ namespace AlibabaCloud
|
||||
DeletePrometheusGlobalViewResult();
|
||||
explicit DeletePrometheusGlobalViewResult(const std::string &payload);
|
||||
~DeletePrometheusGlobalViewResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +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_ARMS_MODEL_DELETEPROMETHEUSINTEGRATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEPROMETHEUSINTEGRATIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeletePrometheusIntegrationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeletePrometheusIntegrationRequest();
|
||||
~DeletePrometheusIntegrationRequest();
|
||||
long getInstanceId() const;
|
||||
void setInstanceId(long instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getIntegrationType() const;
|
||||
void setIntegrationType(const std::string &integrationType);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
long instanceId_;
|
||||
std::string regionId_;
|
||||
std::string integrationType_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEPROMETHEUSINTEGRATIONREQUEST_H_
|
||||
@@ -0,0 +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_ARMS_MODEL_DELETEPROMETHEUSINTEGRATIONRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEPROMETHEUSINTEGRATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeletePrometheusIntegrationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeletePrometheusIntegrationResult();
|
||||
explicit DeletePrometheusIntegrationResult(const std::string &payload);
|
||||
~DeletePrometheusIntegrationResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEPROMETHEUSINTEGRATIONRESULT_H_
|
||||
@@ -0,0 +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_ARMS_MODEL_DELETEPROMETHEUSMONITORINGREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEPROMETHEUSMONITORINGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeletePrometheusMonitoringRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeletePrometheusMonitoringRequest();
|
||||
~DeletePrometheusMonitoringRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getType() const;
|
||||
void setType(const std::string &type);
|
||||
std::string getMonitoringName() const;
|
||||
void setMonitoringName(const std::string &monitoringName);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string clusterId_;
|
||||
std::string type_;
|
||||
std::string monitoringName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEPROMETHEUSMONITORINGREQUEST_H_
|
||||
@@ -0,0 +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_ARMS_MODEL_DELETEPROMETHEUSMONITORINGRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEPROMETHEUSMONITORINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeletePrometheusMonitoringResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeletePrometheusMonitoringResult();
|
||||
explicit DeletePrometheusMonitoringResult(const std::string &payload);
|
||||
~DeletePrometheusMonitoringResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEPROMETHEUSMONITORINGRESULT_H_
|
||||
@@ -30,14 +30,20 @@ class ALIBABACLOUD_ARMS_EXPORT DeleteRetcodeAppRequest : public RpcServiceReques
|
||||
public:
|
||||
DeleteRetcodeAppRequest();
|
||||
~DeleteRetcodeAppRequest();
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getAppId() const;
|
||||
void setAppId(const std::string &appId);
|
||||
std::string getPid() const;
|
||||
void setPid(const std::string &pid);
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
std::string appId_;
|
||||
std::string pid_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
|
||||
@@ -37,12 +37,18 @@ namespace AlibabaCloud
|
||||
DeleteRetcodeAppResult();
|
||||
explicit DeleteRetcodeAppResult(const std::string &payload);
|
||||
~DeleteRetcodeAppResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
48
arms/include/alibabacloud/arms/model/DeleteRumAppRequest.h
Normal file
48
arms/include/alibabacloud/arms/model/DeleteRumAppRequest.h
Normal file
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETERUMAPPREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETERUMAPPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteRumAppRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteRumAppRequest();
|
||||
~DeleteRumAppRequest();
|
||||
std::string getAppGroup() const;
|
||||
void setAppGroup(const std::string &appGroup);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getAppId() const;
|
||||
void setAppId(const std::string &appId);
|
||||
|
||||
private:
|
||||
std::string appGroup_;
|
||||
std::string regionId_;
|
||||
std::string appId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETERUMAPPREQUEST_H_
|
||||
61
arms/include/alibabacloud/arms/model/DeleteRumAppResult.h
Normal file
61
arms/include/alibabacloud/arms/model/DeleteRumAppResult.h
Normal file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* 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_ARMS_MODEL_DELETERUMAPPRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETERUMAPPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteRumAppResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteRumAppResult();
|
||||
explicit DeleteRumAppResult(const std::string &payload);
|
||||
~DeleteRumAppResult();
|
||||
std::string getMessage()const;
|
||||
std::string getResourceGroupId()const;
|
||||
int getHttpStatusCode()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
std::string getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string resourceGroupId_;
|
||||
int httpStatusCode_;
|
||||
int code_;
|
||||
bool success_;
|
||||
std::string result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETERUMAPPRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETERUMUPLOADFILEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETERUMUPLOADFILEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteRumUploadFileRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteRumUploadFileRequest();
|
||||
~DeleteRumUploadFileRequest();
|
||||
std::string getVersionId() const;
|
||||
void setVersionId(const std::string &versionId);
|
||||
std::string getFileName() const;
|
||||
void setFileName(const std::string &fileName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getPid() const;
|
||||
void setPid(const std::string &pid);
|
||||
std::string getUuid() const;
|
||||
void setUuid(const std::string &uuid);
|
||||
|
||||
private:
|
||||
std::string versionId_;
|
||||
std::string fileName_;
|
||||
std::string regionId_;
|
||||
std::string pid_;
|
||||
std::string uuid_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETERUMUPLOADFILEREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* 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_ARMS_MODEL_DELETERUMUPLOADFILERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETERUMUPLOADFILERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteRumUploadFileResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteRumUploadFileResult();
|
||||
explicit DeleteRumUploadFileResult(const std::string &payload);
|
||||
~DeleteRumUploadFileResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETERUMUPLOADFILERESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETETIMINGSYNTHETICTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETETIMINGSYNTHETICTASKREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteTimingSyntheticTaskRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteTimingSyntheticTaskRequest();
|
||||
~DeleteTimingSyntheticTaskRequest();
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getTaskId() const;
|
||||
void setTaskId(const std::string &taskId);
|
||||
|
||||
private:
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string taskId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETETIMINGSYNTHETICTASKREQUEST_H_
|
||||
@@ -0,0 +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_ARMS_MODEL_DELETETIMINGSYNTHETICTASKRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETETIMINGSYNTHETICTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteTimingSyntheticTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteTimingSyntheticTaskResult();
|
||||
explicit DeleteTimingSyntheticTaskResult(const std::string &payload);
|
||||
~DeleteTimingSyntheticTaskResult();
|
||||
std::string getMessage()const;
|
||||
bool getData()const;
|
||||
long getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool data_;
|
||||
long code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETETIMINGSYNTHETICTASKRESULT_H_
|
||||
@@ -28,8 +28,19 @@ namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteTraceAppRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct DeleteReason {
|
||||
std::string remark;
|
||||
struct ReasonIdsItem {
|
||||
std::string name;
|
||||
int id;
|
||||
};
|
||||
ReasonIdsItem reasonIdsItem;
|
||||
std::vector<ReasonIdsItem> reasonIds;
|
||||
};
|
||||
DeleteTraceAppRequest();
|
||||
~DeleteTraceAppRequest();
|
||||
DeleteReason getDeleteReason() const;
|
||||
void setDeleteReason(const DeleteReason &deleteReason);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getAppId() const;
|
||||
@@ -40,6 +51,7 @@ public:
|
||||
void setType(const std::string &type);
|
||||
|
||||
private:
|
||||
DeleteReason deleteReason_;
|
||||
std::string regionId_;
|
||||
std::string appId_;
|
||||
std::string pid_;
|
||||
|
||||
@@ -37,12 +37,18 @@ namespace AlibabaCloud
|
||||
DeleteTraceAppResult();
|
||||
explicit DeleteTraceAppResult(const std::string &payload);
|
||||
~DeleteTraceAppResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
long getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
long code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_DESCRIBEADDONRELEASEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DESCRIBEADDONRELEASEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ARMS {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ARMS_EXPORT DescribeAddonReleaseRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeAddonReleaseRequest();
|
||||
~DescribeAddonReleaseRequest();
|
||||
std::string getReleaseName() const;
|
||||
void setReleaseName(const std::string &releaseName);
|
||||
std::string getEnvironmentId() const;
|
||||
void setEnvironmentId(const std::string &environmentId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string releaseName_;
|
||||
std::string environmentId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DESCRIBEADDONRELEASEREQUEST_H_
|
||||
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* 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_ARMS_MODEL_DESCRIBEADDONRELEASERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DESCRIBEADDONRELEASERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT DescribeAddonReleaseResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Release
|
||||
{
|
||||
struct ConditionsItem
|
||||
{
|
||||
std::string lastTransitionTime;
|
||||
std::string status;
|
||||
std::string type;
|
||||
std::string message;
|
||||
std::string reason;
|
||||
std::string firstTransitionTime;
|
||||
};
|
||||
std::string status;
|
||||
std::string createTime;
|
||||
long alertRuleCount;
|
||||
std::string addonName;
|
||||
std::string releaseId;
|
||||
std::string releaseName;
|
||||
std::string scene;
|
||||
std::vector<ConditionsItem> conditions;
|
||||
long exporterCount;
|
||||
bool haveConfig;
|
||||
std::string installUserId;
|
||||
std::string environmentId;
|
||||
long dashboardCount;
|
||||
std::string language;
|
||||
std::string version;
|
||||
std::string userID;
|
||||
std::string updateTime;
|
||||
std::string regionId;
|
||||
bool managed;
|
||||
};
|
||||
std::string config;
|
||||
Release release;
|
||||
};
|
||||
|
||||
|
||||
DescribeAddonReleaseResult();
|
||||
explicit DescribeAddonReleaseResult(const std::string &payload);
|
||||
~DescribeAddonReleaseResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
std::string getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
std::string success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DESCRIBEADDONRELEASERESULT_H_
|
||||
@@ -30,20 +30,29 @@ class ALIBABACLOUD_ARMS_EXPORT DescribeContactGroupsRequest : public RpcServiceR
|
||||
public:
|
||||
DescribeContactGroupsRequest();
|
||||
~DescribeContactGroupsRequest();
|
||||
long getSize() const;
|
||||
void setSize(long size);
|
||||
bool getIsDetail() const;
|
||||
void setIsDetail(bool isDetail);
|
||||
long getPage() const;
|
||||
void setPage(long page);
|
||||
std::string getContactGroupName() const;
|
||||
void setContactGroupName(const std::string &contactGroupName);
|
||||
std::string getVerbose() const;
|
||||
void setVerbose(const std::string &verbose);
|
||||
long getSize() const;
|
||||
void setSize(long size);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getGroupIds() const;
|
||||
void setGroupIds(const std::string &groupIds);
|
||||
long getPage() const;
|
||||
void setPage(long page);
|
||||
|
||||
private:
|
||||
long size_;
|
||||
bool isDetail_;
|
||||
long page_;
|
||||
std::string contactGroupName_;
|
||||
std::string verbose_;
|
||||
long size_;
|
||||
std::string regionId_;
|
||||
std::string groupIds_;
|
||||
long page_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ARMS
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user