AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
GetReadSetRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/omics/OmicsRequest.h>
9#include <aws/omics/Omics_EXPORTS.h>
10#include <aws/omics/model/ReadSetFile.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace Omics {
19namespace Model {
20
24 public:
25 AWS_OMICS_API GetReadSetRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetReadSet"; }
32
33 AWS_OMICS_API Aws::String SerializePayload() const override;
34
35 AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
49 GetReadSetRequest& WithId(IdT&& value) {
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetSequenceStoreId() const { return m_sequenceStoreId; }
60 inline bool SequenceStoreIdHasBeenSet() const { return m_sequenceStoreIdHasBeenSet; }
61 template <typename SequenceStoreIdT = Aws::String>
62 void SetSequenceStoreId(SequenceStoreIdT&& value) {
63 m_sequenceStoreIdHasBeenSet = true;
64 m_sequenceStoreId = std::forward<SequenceStoreIdT>(value);
65 }
66 template <typename SequenceStoreIdT = Aws::String>
67 GetReadSetRequest& WithSequenceStoreId(SequenceStoreIdT&& value) {
68 SetSequenceStoreId(std::forward<SequenceStoreIdT>(value));
69 return *this;
70 }
72
74
77 inline ReadSetFile GetFile() const { return m_file; }
78 inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
79 inline void SetFile(ReadSetFile value) {
80 m_fileHasBeenSet = true;
81 m_file = value;
82 }
84 SetFile(value);
85 return *this;
86 }
88
90
93 inline int GetPartNumber() const { return m_partNumber; }
94 inline bool PartNumberHasBeenSet() const { return m_partNumberHasBeenSet; }
95 inline void SetPartNumber(int value) {
96 m_partNumberHasBeenSet = true;
97 m_partNumber = value;
98 }
99 inline GetReadSetRequest& WithPartNumber(int value) {
100 SetPartNumber(value);
101 return *this;
102 }
104 private:
105 Aws::String m_id;
106
107 Aws::String m_sequenceStoreId;
108
110
111 int m_partNumber{0};
112 bool m_idHasBeenSet = false;
113 bool m_sequenceStoreIdHasBeenSet = false;
114 bool m_fileHasBeenSet = false;
115 bool m_partNumberHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace Omics
120} // namespace Aws
AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetReadSetRequest & WithFile(ReadSetFile value)
GetReadSetRequest & WithSequenceStoreId(SequenceStoreIdT &&value)
const Aws::String & GetId() const
virtual const char * GetServiceRequestName() const override
AWS_OMICS_API GetReadSetRequest()=default
GetReadSetRequest & WithId(IdT &&value)
const Aws::String & GetSequenceStoreId() const
void SetSequenceStoreId(SequenceStoreIdT &&value)
GetReadSetRequest & WithPartNumber(int value)
AWS_OMICS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String