OosApiResolver.php 29.4 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078
<?php

namespace AlibabaCloud\Oos\V20190601;

use AlibabaCloud\Client\Resolver\ApiResolver;

/**
 * @method CancelExecution cancelExecution(array $options = [])
 * @method CreateParameter createParameter(array $options = [])
 * @method CreatePatchBaseline createPatchBaseline(array $options = [])
 * @method CreateSecretParameter createSecretParameter(array $options = [])
 * @method CreateStateConfiguration createStateConfiguration(array $options = [])
 * @method CreateTemplate createTemplate(array $options = [])
 * @method DeleteExecutions deleteExecutions(array $options = [])
 * @method DeleteParameter deleteParameter(array $options = [])
 * @method DeletePatchBaseline deletePatchBaseline(array $options = [])
 * @method DeleteSecretParameter deleteSecretParameter(array $options = [])
 * @method DeleteStateConfigurations deleteStateConfigurations(array $options = [])
 * @method DeleteTemplate deleteTemplate(array $options = [])
 * @method DeleteTemplates deleteTemplates(array $options = [])
 * @method DescribeRegions describeRegions(array $options = [])
 * @method GenerateExecutionPolicy generateExecutionPolicy(array $options = [])
 * @method GetExecutionTemplate getExecutionTemplate(array $options = [])
 * @method GetInventorySchema getInventorySchema(array $options = [])
 * @method GetParameter getParameter(array $options = [])
 * @method GetParameters getParameters(array $options = [])
 * @method GetParametersByPath getParametersByPath(array $options = [])
 * @method GetPatchBaseline getPatchBaseline(array $options = [])
 * @method GetSecretParameter getSecretParameter(array $options = [])
 * @method GetSecretParameters getSecretParameters(array $options = [])
 * @method GetSecretParametersByPath getSecretParametersByPath(array $options = [])
 * @method GetServiceSettings getServiceSettings(array $options = [])
 * @method GetTemplate getTemplate(array $options = [])
 * @method ListActions listActions(array $options = [])
 * @method ListExecutionLogs listExecutionLogs(array $options = [])
 * @method ListExecutionRiskyTasks listExecutionRiskyTasks(array $options = [])
 * @method ListExecutions listExecutions(array $options = [])
 * @method ListInstancePatches listInstancePatches(array $options = [])
 * @method ListInstancePatchStates listInstancePatchStates(array $options = [])
 * @method ListInstanceStateReports listInstanceStateReports(array $options = [])
 * @method ListInventoryEntries listInventoryEntries(array $options = [])
 * @method ListParameters listParameters(array $options = [])
 * @method ListParameterVersions listParameterVersions(array $options = [])
 * @method ListPatchBaselines listPatchBaselines(array $options = [])
 * @method ListResourceExecutionStatus listResourceExecutionStatus(array $options = [])
 * @method ListSecretParameters listSecretParameters(array $options = [])
 * @method ListSecretParameterVersions listSecretParameterVersions(array $options = [])
 * @method ListStateConfigurations listStateConfigurations(array $options = [])
 * @method ListTagKeys listTagKeys(array $options = [])
 * @method ListTagResources listTagResources(array $options = [])
 * @method ListTagValues listTagValues(array $options = [])
 * @method ListTaskExecutions listTaskExecutions(array $options = [])
 * @method ListTemplates listTemplates(array $options = [])
 * @method ListTemplateVersions listTemplateVersions(array $options = [])
 * @method NotifyExecution notifyExecution(array $options = [])
 * @method RegisterDefaultPatchBaseline registerDefaultPatchBaseline(array $options = [])
 * @method SearchInventory searchInventory(array $options = [])
 * @method SetServiceSettings setServiceSettings(array $options = [])
 * @method StartExecution startExecution(array $options = [])
 * @method TagResources tagResources(array $options = [])
 * @method TriggerExecution triggerExecution(array $options = [])
 * @method UntagResources untagResources(array $options = [])
 * @method UpdateExecution updateExecution(array $options = [])
 * @method UpdateInstanceInformation updateInstanceInformation(array $options = [])
 * @method UpdateParameter updateParameter(array $options = [])
 * @method UpdatePatchBaseline updatePatchBaseline(array $options = [])
 * @method UpdateSecretParameter updateSecretParameter(array $options = [])
 * @method UpdateStateConfiguration updateStateConfiguration(array $options = [])
 * @method UpdateTemplate updateTemplate(array $options = [])
 * @method ValidateTemplateContent validateTemplateContent(array $options = [])
 */
class OosApiResolver extends ApiResolver
{
}

class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
{
    /** @var string */
    public $product = 'oos';

    /** @var string */
    public $version = '2019-06-01';

    /** @var string */
    public $method = 'POST';
}

/**
 * @method string getExecutionId()
 * @method $this withExecutionId($value)
 */
class CancelExecution extends Rpc
{
}

/**
 * @method string getClientToken()
 * @method $this withClientToken($value)
 * @method string getDescription()
 * @method $this withDescription($value)
 * @method string getType()
 * @method $this withType($value)
 * @method string getConstraints()
 * @method $this withConstraints($value)
 * @method string getTags()
 * @method $this withTags($value)
 * @method string getName()
 * @method $this withName($value)
 * @method string getValue()
 * @method $this withValue($value)
 */
class CreateParameter extends Rpc
{
}

/**
 * @method string getClientToken()
 * @method $this withClientToken($value)
 * @method string getApprovalRules()
 * @method $this withApprovalRules($value)
 * @method string getDescription()
 * @method $this withDescription($value)
 * @method string getOperationSystem()
 * @method $this withOperationSystem($value)
 * @method string getName()
 * @method $this withName($value)
 */
class CreatePatchBaseline extends Rpc
{
}

/**
 * @method string getClientToken()
 * @method $this withClientToken($value)
 * @method string getDescription()
 * @method $this withDescription($value)
 * @method string getType()
 * @method $this withType($value)
 * @method string getConstraints()
 * @method $this withConstraints($value)
 * @method string getValue()
 * @method $this withValue($value)
 * @method string getKeyId()
 * @method $this withKeyId($value)
 * @method string getTags()
 * @method $this withTags($value)
 * @method string getName()
 * @method $this withName($value)
 */
class CreateSecretParameter extends Rpc
{
}

/**
 * @method string getScheduleType()
 * @method $this withScheduleType($value)
 * @method string getClientToken()
 * @method $this withClientToken($value)
 * @method string getDescription()
 * @method $this withDescription($value)
 * @method string getTargets()
 * @method $this withTargets($value)
 * @method string getTemplateVersion()
 * @method $this withTemplateVersion($value)
 * @method string getScheduleExpression()
 * @method $this withScheduleExpression($value)
 * @method string getTemplateName()
 * @method $this withTemplateName($value)
 * @method string getConfigureMode()
 * @method $this withConfigureMode($value)
 * @method string getTags()
 * @method $this withTags($value)
 * @method string getParameters()
 * @method $this withParameters($value)
 */
class CreateStateConfiguration extends Rpc
{
}

/**
 * @method string getContent()
 * @method $this withContent($value)
 * @method string getTags()
 * @method $this withTags($value)
 * @method string getTemplateName()
 * @method $this withTemplateName($value)
 * @method string getVersionName()
 * @method $this withVersionName($value)
 */
class CreateTemplate extends Rpc
{
}

/**
 * @method string getExecutionIds()
 * @method $this withExecutionIds($value)
 */
class DeleteExecutions extends Rpc
{
}

/**
 * @method string getName()
 * @method $this withName($value)
 */
class DeleteParameter extends Rpc
{
}

/**
 * @method string getName()
 * @method $this withName($value)
 */
class DeletePatchBaseline extends Rpc
{
}

/**
 * @method string getName()
 * @method $this withName($value)
 */
class DeleteSecretParameter extends Rpc
{
}

/**
 * @method string getStateConfigurationIds()
 * @method $this withStateConfigurationIds($value)
 * @method string getClientToken()
 * @method $this withClientToken($value)
 */
class DeleteStateConfigurations extends Rpc
{
}

/**
 * @method string getAutoDeleteExecutions()
 * @method $this withAutoDeleteExecutions($value)
 * @method string getTemplateName()
 * @method $this withTemplateName($value)
 */
class DeleteTemplate extends Rpc
{
}

/**
 * @method string getTemplateNames()
 * @method $this withTemplateNames($value)
 * @method string getAutoDeleteExecutions()
 * @method $this withAutoDeleteExecutions($value)
 */
class DeleteTemplates extends Rpc
{
}

/**
 * @method string getAcceptLanguage()
 * @method $this withAcceptLanguage($value)
 */
class DescribeRegions extends Rpc
{
}

/**
 * @method string getTemplateVersion()
 * @method $this withTemplateVersion($value)
 * @method string getTemplateName()
 * @method $this withTemplateName($value)
 */
class GenerateExecutionPolicy extends Rpc
{
}

/**
 * @method string getExecutionId()
 * @method $this withExecutionId($value)
 */
class GetExecutionTemplate extends Rpc
{
}

/**
 * @method string getAggregator()
 * @method $this withAggregator($value)
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 * @method string getTypeName()
 * @method $this withTypeName($value)
 */
class GetInventorySchema extends Rpc
{
}

/**
 * @method string getParameterVersion()
 * @method $this withParameterVersion($value)
 * @method string getName()
 * @method $this withName($value)
 */
class GetParameter extends Rpc
{
}

/**
 * @method string getNames()
 * @method $this withNames($value)
 */
class GetParameters extends Rpc
{
}

/**
 * @method string getRecursive()
 * @method $this withRecursive($value)
 * @method string getPath()
 * @method $this withPath($value)
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 */
class GetParametersByPath extends Rpc
{
}

/**
 * @method string getName()
 * @method $this withName($value)
 */
class GetPatchBaseline extends Rpc
{
}

/**
 * @method string getWithDecryption()
 * @method $this withWithDecryption($value)
 * @method string getParameterVersion()
 * @method $this withParameterVersion($value)
 * @method string getName()
 * @method $this withName($value)
 */
class GetSecretParameter extends Rpc
{
}

/**
 * @method string getWithDecryption()
 * @method $this withWithDecryption($value)
 * @method string getNames()
 * @method $this withNames($value)
 */
class GetSecretParameters extends Rpc
{
}

/**
 * @method string getWithDecryption()
 * @method $this withWithDecryption($value)
 * @method string getRecursive()
 * @method $this withRecursive($value)
 * @method string getPath()
 * @method $this withPath($value)
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 */
class GetSecretParametersByPath extends Rpc
{
}

class GetServiceSettings extends Rpc
{
}

/**
 * @method string getTemplateVersion()
 * @method $this withTemplateVersion($value)
 * @method string getTemplateName()
 * @method $this withTemplateName($value)
 */
class GetTemplate extends Rpc
{
}

/**
 * @method string getOOSActionName()
 * @method $this withOOSActionName($value)
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 */
class ListActions extends Rpc
{
}

/**
 * @method string getExecutionId()
 * @method $this withExecutionId($value)
 * @method string getLogType()
 * @method $this withLogType($value)
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 * @method string getTaskExecutionId()
 * @method $this withTaskExecutionId($value)
 */
class ListExecutionLogs extends Rpc
{
}

/**
 * @method string getTemplateName()
 * @method $this withTemplateName($value)
 */
class ListExecutionRiskyTasks extends Rpc
{
}

/**
 * @method string getExecutedBy()
 * @method $this withExecutedBy($value)
 * @method string getIncludeChildExecution()
 * @method $this withIncludeChildExecution($value)
 * @method string getMode()
 * @method $this withMode($value)
 * @method string getExecutionId()
 * @method $this withExecutionId($value)
 * @method string getRamRole()
 * @method $this withRamRole($value)
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getTemplateName()
 * @method $this withTemplateName($value)
 * @method string getEndDateBefore()
 * @method $this withEndDateBefore($value)
 * @method string getSortOrder()
 * @method $this withSortOrder($value)
 * @method string getResourceId()
 * @method $this withResourceId($value)
 * @method string getStartDateAfter()
 * @method $this withStartDateAfter($value)
 * @method string getStartDateBefore()
 * @method $this withStartDateBefore($value)
 * @method string getTags()
 * @method $this withTags($value)
 * @method string getParentExecutionId()
 * @method $this withParentExecutionId($value)
 * @method string getEndDateAfter()
 * @method $this withEndDateAfter($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 * @method string getSortField()
 * @method $this withSortField($value)
 * @method string getCategory()
 * @method $this withCategory($value)
 * @method string getResourceTemplateName()
 * @method $this withResourceTemplateName($value)
 * @method string getStatus()
 * @method $this withStatus($value)
 */
class ListExecutions extends Rpc
{
}

/**
 * @method string getInstanceId()
 * @method $this withInstanceId($value)
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 */
class ListInstancePatches extends Rpc
{
}

/**
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getInstanceIds()
 * @method $this withInstanceIds($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 */
class ListInstancePatchStates extends Rpc
{
}

/**
 * @method string getInstanceId()
 * @method $this withInstanceId($value)
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 * @method string getStateConfigurationId()
 * @method $this withStateConfigurationId($value)
 */
class ListInstanceStateReports extends Rpc
{
}

/**
 * @method array getFilter()
 * @method string getInstanceId()
 * @method $this withInstanceId($value)
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 * @method string getTypeName()
 * @method $this withTypeName($value)
 */
class ListInventoryEntries extends Rpc
{

    /**
     * @param array $filter
     *
     * @return $this
     */
	public function withFilter(array $filter)
	{
	    $this->data['Filter'] = $filter;
		foreach ($filter as $depth1 => $depth1Value) {
			if(isset($depth1Value['Name'])){
				$this->options['query']['Filter.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
			}
			foreach ($depth1Value['Value'] as $i => $iValue) {
				$this->options['query']['Filter.' . ($depth1 + 1) . '.Value.' . ($i + 1)] = $iValue;
			}
			if(isset($depth1Value['Operator'])){
				$this->options['query']['Filter.' . ($depth1 + 1) . '.Operator'] = $depth1Value['Operator'];
			}
		}

		return $this;
    }
}

/**
 * @method string getType()
 * @method $this withType($value)
 * @method string getRecursive()
 * @method $this withRecursive($value)
 * @method string getPath()
 * @method $this withPath($value)
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getSortOrder()
 * @method $this withSortOrder($value)
 * @method string getTags()
 * @method $this withTags($value)
 * @method string getName()
 * @method $this withName($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 * @method string getSortField()
 * @method $this withSortField($value)
 */
class ListParameters extends Rpc
{
}

/**
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getName()
 * @method $this withName($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 * @method string getShareType()
 * @method $this withShareType($value)
 */
class ListParameterVersions extends Rpc
{
}

/**
 * @method string getOperationSystem()
 * @method $this withOperationSystem($value)
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getName()
 * @method $this withName($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 * @method string getShareType()
 * @method $this withShareType($value)
 */
class ListPatchBaselines extends Rpc
{
}

/**
 * @method string getExecutionId()
 * @method $this withExecutionId($value)
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 */
class ListResourceExecutionStatus extends Rpc
{
}

/**
 * @method string getRecursive()
 * @method $this withRecursive($value)
 * @method string getTags()
 * @method $this withTags($value)
 * @method string getPath()
 * @method $this withPath($value)
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getName()
 * @method $this withName($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 * @method string getSortOrder()
 * @method $this withSortOrder($value)
 * @method string getSortField()
 * @method $this withSortField($value)
 */
class ListSecretParameters extends Rpc
{
}

/**
 * @method string getWithDecryption()
 * @method $this withWithDecryption($value)
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getName()
 * @method $this withName($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 * @method string getShareType()
 * @method $this withShareType($value)
 */
class ListSecretParameterVersions extends Rpc
{
}

/**
 * @method string getStateConfigurationIds()
 * @method $this withStateConfigurationIds($value)
 * @method string getTags()
 * @method $this withTags($value)
 * @method string getTemplateVersion()
 * @method $this withTemplateVersion($value)
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 * @method string getTemplateName()
 * @method $this withTemplateName($value)
 */
class ListStateConfigurations extends Rpc
{
}

/**
 * @method string getResourceType()
 * @method $this withResourceType($value)
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 */
class ListTagKeys extends Rpc
{
}

/**
 * @method string getResourceType()
 * @method $this withResourceType($value)
 * @method string getTags()
 * @method $this withTags($value)
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getResourceIds()
 * @method $this withResourceIds($value)
 */
class ListTagResources extends Rpc
{
}

/**
 * @method string getResourceType()
 * @method $this withResourceType($value)
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 * @method string getKey()
 * @method $this withKey($value)
 */
class ListTagValues extends Rpc
{
}

/**
 * @method string getTaskName()
 * @method $this withTaskName($value)
 * @method string getIncludeChildTaskExecution()
 * @method $this withIncludeChildTaskExecution($value)
 * @method string getExecutionId()
 * @method $this withExecutionId($value)
 * @method string getParentTaskExecutionId()
 * @method $this withParentTaskExecutionId($value)
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getEndDateBefore()
 * @method $this withEndDateBefore($value)
 * @method string getSortOrder()
 * @method $this withSortOrder($value)
 * @method string getStartDateAfter()
 * @method $this withStartDateAfter($value)
 * @method string getStartDateBefore()
 * @method $this withStartDateBefore($value)
 * @method string getEndDateAfter()
 * @method $this withEndDateAfter($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 * @method string getTaskExecutionId()
 * @method $this withTaskExecutionId($value)
 * @method string getSortField()
 * @method $this withSortField($value)
 * @method string getTaskAction()
 * @method $this withTaskAction($value)
 * @method string getStatus()
 * @method $this withStatus($value)
 */
class ListTaskExecutions extends Rpc
{
}

/**
 * @method string getCreatedDateBefore()
 * @method $this withCreatedDateBefore($value)
 * @method string getCreatedBy()
 * @method $this withCreatedBy($value)
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getTemplateType()
 * @method $this withTemplateType($value)
 * @method string getTemplateName()
 * @method $this withTemplateName($value)
 * @method string getSortOrder()
 * @method $this withSortOrder($value)
 * @method string getShareType()
 * @method $this withShareType($value)
 * @method string getHasTrigger()
 * @method $this withHasTrigger($value)
 * @method string getCreatedDateAfter()
 * @method $this withCreatedDateAfter($value)
 * @method string getTags()
 * @method $this withTags($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 * @method string getTemplateFormat()
 * @method $this withTemplateFormat($value)
 * @method string getSortField()
 * @method $this withSortField($value)
 * @method string getCategory()
 * @method $this withCategory($value)
 */
class ListTemplates extends Rpc
{
}

/**
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 * @method string getTemplateName()
 * @method $this withTemplateName($value)
 * @method string getShareType()
 * @method $this withShareType($value)
 */
class ListTemplateVersions extends Rpc
{
}

/**
 * @method string getTaskName()
 * @method $this withTaskName($value)
 * @method string getExecutionId()
 * @method $this withExecutionId($value)
 * @method string getNotifyType()
 * @method $this withNotifyType($value)
 * @method string getExecutionStatus()
 * @method $this withExecutionStatus($value)
 * @method string getNotifyNote()
 * @method $this withNotifyNote($value)
 * @method string getLoopItem()
 * @method $this withLoopItem($value)
 * @method string getTaskExecutionIds()
 * @method $this withTaskExecutionIds($value)
 * @method string getTaskExecutionId()
 * @method $this withTaskExecutionId($value)
 * @method string getParameters()
 * @method $this withParameters($value)
 */
class NotifyExecution extends Rpc
{
}

/**
 * @method string getName()
 * @method $this withName($value)
 */
class RegisterDefaultPatchBaseline extends Rpc
{
}

/**
 * @method array getAggregator()
 * @method array getFilter()
 * @method string getNextToken()
 * @method $this withNextToken($value)
 * @method string getMaxResults()
 * @method $this withMaxResults($value)
 */
class SearchInventory extends Rpc
{

    /**
     * @param array $aggregator
     *
     * @return $this
     */
	public function withAggregator(array $aggregator)
	{
	    $this->data['Aggregator'] = $aggregator;
		foreach ($aggregator as $i => $iValue) {
			$this->options['query']['Aggregator.' . ($i + 1)] = $iValue;
		}

		return $this;
    }

    /**
     * @param array $filter
     *
     * @return $this
     */
	public function withFilter(array $filter)
	{
	    $this->data['Filter'] = $filter;
		foreach ($filter as $depth1 => $depth1Value) {
			if(isset($depth1Value['Name'])){
				$this->options['query']['Filter.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
			}
			foreach ($depth1Value['Value'] as $i => $iValue) {
				$this->options['query']['Filter.' . ($depth1 + 1) . '.Value.' . ($i + 1)] = $iValue;
			}
			if(isset($depth1Value['Operator'])){
				$this->options['query']['Filter.' . ($depth1 + 1) . '.Operator'] = $depth1Value['Operator'];
			}
		}

		return $this;
    }
}

/**
 * @method string getDeliverySlsEnabled()
 * @method $this withDeliverySlsEnabled($value)
 * @method string getDeliveryOssKeyPrefix()
 * @method $this withDeliveryOssKeyPrefix($value)
 * @method string getDeliveryOssEnabled()
 * @method $this withDeliveryOssEnabled($value)
 * @method string getDeliverySlsProjectName()
 * @method $this withDeliverySlsProjectName($value)
 * @method string getDeliveryOssBucketName()
 * @method $this withDeliveryOssBucketName($value)
 */
class SetServiceSettings extends Rpc
{
}

/**
 * @method string getClientToken()
 * @method $this withClientToken($value)
 * @method string getDescription()
 * @method $this withDescription($value)
 * @method string getMode()
 * @method $this withMode($value)
 * @method string getTemplateVersion()
 * @method $this withTemplateVersion($value)
 * @method string getTemplateName()
 * @method $this withTemplateName($value)
 * @method string getLoopMode()
 * @method $this withLoopMode($value)
 * @method string getSafetyCheck()
 * @method $this withSafetyCheck($value)
 * @method string getTags()
 * @method $this withTags($value)
 * @method string getTemplateContent()
 * @method $this withTemplateContent($value)
 * @method string getParentExecutionId()
 * @method $this withParentExecutionId($value)
 * @method string getParameters()
 * @method $this withParameters($value)
 */
class StartExecution extends Rpc
{
}

/**
 * @method string getResourceType()
 * @method $this withResourceType($value)
 * @method string getTags()
 * @method $this withTags($value)
 * @method string getResourceIds()
 * @method $this withResourceIds($value)
 */
class TagResources extends Rpc
{
}

/**
 * @method string getClientToken()
 * @method $this withClientToken($value)
 * @method string getType()
 * @method $this withType($value)
 * @method string getContent()
 * @method $this withContent($value)
 * @method string getExecutionId()
 * @method $this withExecutionId($value)
 */
class TriggerExecution extends Rpc
{
}

/**
 * @method string getAll()
 * @method $this withAll($value)
 * @method string getResourceType()
 * @method $this withResourceType($value)
 * @method string getTagKeys()
 * @method $this withTagKeys($value)
 * @method string getResourceIds()
 * @method $this withResourceIds($value)
 */
class UntagResources extends Rpc
{
}

/**
 * @method string getClientToken()
 * @method $this withClientToken($value)
 * @method string getExecutionId()
 * @method $this withExecutionId($value)
 * @method string getParameters()
 * @method $this withParameters($value)
 */
class UpdateExecution extends Rpc
{
}

/**
 * @method string getAgentVersion()
 * @method $this withAgentVersion($value)
 * @method string getIpAddress()
 * @method $this withIpAddress($value)
 * @method string getComputerName()
 * @method $this withComputerName($value)
 * @method string getPlatformName()
 * @method $this withPlatformName($value)
 * @method string getInstanceId()
 * @method $this withInstanceId($value)
 * @method string getAgentName()
 * @method $this withAgentName($value)
 * @method string getPlatformType()
 * @method $this withPlatformType($value)
 * @method string getPlatformVersion()
 * @method $this withPlatformVersion($value)
 */
class UpdateInstanceInformation extends Rpc
{
}

/**
 * @method string getDescription()
 * @method $this withDescription($value)
 * @method string getTags()
 * @method $this withTags($value)
 * @method string getName()
 * @method $this withName($value)
 * @method string getValue()
 * @method $this withValue($value)
 */
class UpdateParameter extends Rpc
{
}

/**
 * @method string getClientToken()
 * @method $this withClientToken($value)
 * @method string getApprovalRules()
 * @method $this withApprovalRules($value)
 * @method string getDescription()
 * @method $this withDescription($value)
 * @method string getName()
 * @method $this withName($value)
 */
class UpdatePatchBaseline extends Rpc
{
}

/**
 * @method string getDescription()
 * @method $this withDescription($value)
 * @method string getTags()
 * @method $this withTags($value)
 * @method string getName()
 * @method $this withName($value)
 * @method string getValue()
 * @method $this withValue($value)
 */
class UpdateSecretParameter extends Rpc
{
}

/**
 * @method string getScheduleType()
 * @method $this withScheduleType($value)
 * @method string getClientToken()
 * @method $this withClientToken($value)
 * @method string getDescription()
 * @method $this withDescription($value)
 * @method string getTargets()
 * @method $this withTargets($value)
 * @method string getScheduleExpression()
 * @method $this withScheduleExpression($value)
 * @method string getConfigureMode()
 * @method $this withConfigureMode($value)
 * @method string getTags()
 * @method $this withTags($value)
 * @method string getParameters()
 * @method $this withParameters($value)
 * @method string getStateConfigurationId()
 * @method $this withStateConfigurationId($value)
 */
class UpdateStateConfiguration extends Rpc
{
}

/**
 * @method string getContent()
 * @method $this withContent($value)
 * @method string getTags()
 * @method $this withTags($value)
 * @method string getTemplateName()
 * @method $this withTemplateName($value)
 * @method string getVersionName()
 * @method $this withVersionName($value)
 */
class UpdateTemplate extends Rpc
{
}

/**
 * @method string getContent()
 * @method $this withContent($value)
 */
class ValidateTemplateContent extends Rpc
{
}