# media-cloud-sync/1.2.6/includes/sdk/s3/Aws/ResultInterface.php

Media Cloud Sync, version 1.2.6. 52 lines.

- Page: https://pluginprobe.com/plugins/media-cloud-sync/1.2.6/code/includes/sdk/s3/Aws/ResultInterface.php
- Raw: https://pluginprobe.com/plugins/media-cloud-sync/1.2.6/raw/includes/sdk/s3/Aws/ResultInterface.php
- Modified: 2024-10-27T10:40:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/media-cloud-sync/1.2.6/code/includes/sdk/s3/Aws/ResultInterface.php#L10-L20`.

```php
<?php

namespace Dudlewebs\WPMCS\s3\Aws;

/**
 * Represents an AWS result object that is returned from executing an operation.
 */
interface ResultInterface extends \ArrayAccess, \IteratorAggregate, \Countable
{
    /**
     * Provides debug information about the result object
     *
     * @return string
     */
    public function __toString();
    /**
     * Convert the result to an array.
     *
     * @return array
     */
    public function toArray();
    /**
     * Check if the model contains a key by name
     *
     * @param string $name Name of the key to retrieve
     *
     * @return bool
     */
    public function hasKey($name);
    /**
     * Get a specific key value from the result model.
     *
     * @param string $key Key to retrieve.
     *
     * @return mixed|null Value of the key or NULL if not found.
     */
    public function get($key);
    /**
     * Returns the result of executing a JMESPath expression on the contents
     * of the Result model.
     *
     *     $result = $client->execute($command);
     *     $jpResult = $result->search('foo.*.bar[?baz > `10`]');
     *
     * @param string $expression JMESPath expression to execute
     *
     * @return mixed Returns the result of the JMESPath expression.
     * @link http://jmespath.readthedocs.org/en/latest/ JMESPath documentation
     */
    public function search($expression);
}

```
