AWS SDK for C++

AWS SDK for C++ Version 1.11.741

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