AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline GetRunRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline GetRunRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline GetRunRequest& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::Vector<RunExport>& GetExport() const{ return m_export; }
62 inline bool ExportHasBeenSet() const { return m_exportHasBeenSet; }
63 inline void SetExport(const Aws::Vector<RunExport>& value) { m_exportHasBeenSet = true; m_export = value; }
64 inline void SetExport(Aws::Vector<RunExport>&& value) { m_exportHasBeenSet = true; m_export = std::move(value); }
65 inline GetRunRequest& WithExport(const Aws::Vector<RunExport>& value) { SetExport(value); return *this;}
66 inline GetRunRequest& WithExport(Aws::Vector<RunExport>&& value) { SetExport(std::move(value)); return *this;}
67 inline GetRunRequest& AddExport(const RunExport& value) { m_exportHasBeenSet = true; m_export.push_back(value); return *this; }
68 inline GetRunRequest& AddExport(RunExport&& value) { m_exportHasBeenSet = true; m_export.push_back(std::move(value)); return *this; }
70 private:
71
72 Aws::String m_id;
73 bool m_idHasBeenSet = false;
74
76 bool m_exportHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Omics
81} // namespace Aws
GetRunRequest & WithId(const char *value)
void SetId(const Aws::String &value)
void SetExport(const Aws::Vector< RunExport > &value)
const Aws::String & GetId() const
GetRunRequest & AddExport(const RunExport &value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< RunExport > & GetExport() const
GetRunRequest & WithExport(const Aws::Vector< RunExport > &value)
GetRunRequest & WithId(Aws::String &&value)
GetRunRequest & WithId(const Aws::String &value)
void SetExport(Aws::Vector< RunExport > &&value)
void SetId(Aws::String &&value)
GetRunRequest & AddExport(RunExport &&value)
AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetId(const char *value)
GetRunRequest & WithExport(Aws::Vector< 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