/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace Omics { namespace Model { /** */ class GetRunRequest : public OmicsRequest { public: AWS_OMICS_API GetRunRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetRun"; } AWS_OMICS_API Aws::String SerializePayload() const override; AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The run's ID.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The run's ID.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The run's ID.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The run's ID.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The run's ID.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The run's ID.

*/ inline GetRunRequest& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The run's ID.

*/ inline GetRunRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The run's ID.

*/ inline GetRunRequest& WithId(const char* value) { SetId(value); return *this;} /** *

The run's export format.

*/ inline const Aws::Vector& GetExport() const{ return m_export; } /** *

The run's export format.

*/ inline bool ExportHasBeenSet() const { return m_exportHasBeenSet; } /** *

The run's export format.

*/ inline void SetExport(const Aws::Vector& value) { m_exportHasBeenSet = true; m_export = value; } /** *

The run's export format.

*/ inline void SetExport(Aws::Vector&& value) { m_exportHasBeenSet = true; m_export = std::move(value); } /** *

The run's export format.

*/ inline GetRunRequest& WithExport(const Aws::Vector& value) { SetExport(value); return *this;} /** *

The run's export format.

*/ inline GetRunRequest& WithExport(Aws::Vector&& value) { SetExport(std::move(value)); return *this;} /** *

The run's export format.

*/ inline GetRunRequest& AddExport(const RunExport& value) { m_exportHasBeenSet = true; m_export.push_back(value); return *this; } /** *

The run's export format.

*/ inline GetRunRequest& AddExport(RunExport&& value) { m_exportHasBeenSet = true; m_export.push_back(std::move(value)); return *this; } private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::Vector m_export; bool m_exportHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws