> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# gpudb::GetJobRequest

> gpudb::GetJobRequest — Kinetica C++ API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a0ff78cb10848a739067c5dbd0a052e05">GPUdb::getJob</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/get__job_8h_source">gpudb/protocol/get\_job.h</a>></code></p>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Member Functions</h2>
        </td>
      </tr>

      <tr className="memitem:ab96de2d128060a93cd6a838b2ed10e52" id="r_ab96de2d128060a93cd6a838b2ed10e52">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ab96de2d128060a93cd6a838b2ed10e52">GetJobRequest</a> ()</td>
      </tr>

      <tr className="memdesc:ab96de2d128060a93cd6a838b2ed10e52">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1GetJobRequest" title="A set of parameters for GPUdb::getJob.">GetJobRequest</a> object with default parameters. <br /></td>
      </tr>

      <tr className="separator:ab96de2d128060a93cd6a838b2ed10e52">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:ae3d0bcf4f37d5d282c8ff08885af23e3" id="r_ae3d0bcf4f37d5d282c8ff08885af23e3">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ae3d0bcf4f37d5d282c8ff08885af23e3">GetJobRequest</a> (const int64\_t jobId\_, const std::map\< std::string, std::string > \&options\_)</td>
      </tr>

      <tr className="memdesc:ae3d0bcf4f37d5d282c8ff08885af23e3">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1GetJobRequest" title="A set of parameters for GPUdb::getJob.">GetJobRequest</a> object with the specified parameters. <br /></td>
      </tr>

      <tr className="separator:ae3d0bcf4f37d5d282c8ff08885af23e3">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Attributes</h2>
        </td>
      </tr>

      <tr className="memitem:aa78c1b220f566a3cf2ac923fc1106f09" id="r_aa78c1b220f566a3cf2ac923fc1106f09">
        <td className="memItemLeft" align="right" valign="top">int64\_t </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#aa78c1b220f566a3cf2ac923fc1106f09">jobId</a></td>
      </tr>

      <tr className="memdesc:aa78c1b220f566a3cf2ac923fc1106f09">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">A unique identifier for the job whose status and result is to be fetched. <br /></td>
      </tr>

      <tr className="separator:aa78c1b220f566a3cf2ac923fc1106f09">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a1b28a1a09da3eabff03474b9cd90e863" id="r_a1b28a1a09da3eabff03474b9cd90e863">
        <td className="memItemLeft" align="right" valign="top">std::map\< std::string, std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a1b28a1a09da3eabff03474b9cd90e863">options</a></td>
      </tr>

      <tr className="memdesc:a1b28a1a09da3eabff03474b9cd90e863">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Optional parameters. <br /></td>
      </tr>

      <tr className="separator:a1b28a1a09da3eabff03474b9cd90e863">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <h2 className="groupheader">Detailed Description</h2>

    <div className="textblock">
      <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a0ff78cb10848a739067c5dbd0a052e05">GPUdb::getJob</a>. </p>
      <p>Get the status and result of asynchronously running job. See the <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a02ef4c58e395bbf2c83325cf592397af">GPUdb::createJob</a> for starting an asynchronous job. Some fields of the response are filled only after the submitted job has finished execution. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/get__job_8h_source#l00020">20</a> of file <a className="el" href="/content/api/cpp/get__job_8h_source">get\_job.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#ab96de2d128060a93cd6a838b2ed10e52">◆ </a></span>GetJobRequest() <span className="overload">\[1/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::GetJobRequest::GetJobRequest </td>
                  <td>(</td>

                  <td className="paramname">
                    <span className="paramname">
                      <span className="em" />
                    </span>
                  </td>

                  <td>)</td>

                  <td />
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1GetJobRequest" title="A set of parameters for GPUdb::getJob.">GetJobRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/get__job_8h_source#l00025">25</a> of file <a className="el" href="/content/api/cpp/get__job_8h_source">get\_job.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#ae3d0bcf4f37d5d282c8ff08885af23e3">◆ </a></span>GetJobRequest() <span className="overload">\[2/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::GetJobRequest::GetJobRequest </td>
                  <td>(</td>
                  <td className="paramtype">const int64\_t</td>
                  <td className="paramname"><span className="paramname"><span className="em">jobId\_</span></span>, </td>
                </tr>

                <tr>
                  <td className="paramkey" />

                  <td />

                  <td className="paramtype">const std::map\< std::string, std::string > &</td>
                  <td className="paramname"><span className="paramname"><span className="em">options\_</span></span> )</td>
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1GetJobRequest" title="A set of parameters for GPUdb::getJob.">GetJobRequest</a> object with the specified parameters. </p>

        <div className="dl params">
          <div className="dt">Parameters</div>

          <div className="dd">
            <table className="params">
              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">jobId\_</td>
                <td>A unique identifier for the job whose status and result is to be fetched. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">options\_</td>

                <td>
                  Optional parameters.

                  <ul>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6b2cf934b6bb6c44e5528261e911206b">get\_job\_job\_tag</a>: Job tag returned in call to create the job. </li>
                  </ul>

                  The default value is an empty map.
                </td>
              </tr>
            </table>
          </div>
        </div>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/get__job_8h_source#l00044">44</a> of file <a className="el" href="/content/api/cpp/get__job_8h_source">get\_job.h</a>.</p>
      </div>
    </div>

    <h2 className="groupheader">Member Data Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#aa78c1b220f566a3cf2ac923fc1106f09">◆ </a></span>jobId</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">int64\_t gpudb::GetJobRequest::jobId</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>A unique identifier for the job whose status and result is to be fetched. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/get__job_8h_source#l00054">54</a> of file <a className="el" href="/content/api/cpp/get__job_8h_source">get\_job.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a1b28a1a09da3eabff03474b9cd90e863">◆ </a></span>options</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::string> gpudb::GetJobRequest::options</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Optional parameters. </p>

        <ul>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6b2cf934b6bb6c44e5528261e911206b">get\_job\_job\_tag</a>: Job tag returned in call to create the job. </li>
        </ul>

        <p>The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/get__job_8h_source#l00064">64</a> of file <a className="el" href="/content/api/cpp/get__job_8h_source">get\_job.h</a>.</p>
      </div>
    </div>

    <hr />

    The documentation for this struct was generated from the following file:

    <ul>
      <li>gpudb/protocol/<a className="el" href="/content/api/cpp/get__job_8h_source">get\_job.h</a></li>
    </ul>
  </div>
</div>
