AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetRunRequest.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/omics/OmicsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/omics/model/RunExport.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace Omics
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_OMICS_API GetRunRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "GetRun"; }
37
38 AWS_OMICS_API Aws::String SerializePayload() const override;
39
40 AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
47 inline const Aws::String& GetId() const { return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 template<typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
51 template<typename IdT = Aws::String>
52 GetRunRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
54
56
59 inline const Aws::Vector<RunExport>& GetExport() const { return m_export; }
60 inline bool ExportHasBeenSet() const { return m_exportHasBeenSet; }
61 template<typename ExportT = Aws::Vector<RunExport>>
62 void SetExport(ExportT&& value) { m_exportHasBeenSet = true; m_export = std::forward<ExportT>(value); }
63 template<typename ExportT = Aws::Vector<RunExport>>
64 GetRunRequest& WithExport(ExportT&& value) { SetExport(std::forward<ExportT>(value)); return *this;}
65 inline GetRunRequest& AddExport(RunExport value) { m_exportHasBeenSet = true; m_export.push_back(value); return *this; }
67 private:
68
69 Aws::String m_id;
70 bool m_idHasBeenSet = false;
71
73 bool m_exportHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Omics
78} // namespace Aws
GetRunRequest & WithExport(ExportT &&value)
void SetExport(ExportT &&value)
const Aws::String & GetId() const
virtual const char * GetServiceRequestName() const override
const Aws::Vector< RunExport > & GetExport() const
AWS_OMICS_API GetRunRequest()=default
AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetRunRequest & WithId(IdT &&value)
GetRunRequest & AddExport(RunExport value)
AWS_OMICS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector