AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetReadSetRequest.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/omics/model/ReadSetFile.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Omics
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_OMICS_API GetReadSetRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetReadSet"; }
36
37 AWS_OMICS_API Aws::String SerializePayload() const override;
38
39 AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 GetReadSetRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetSequenceStoreId() const { return m_sequenceStoreId; }
59 inline bool SequenceStoreIdHasBeenSet() const { return m_sequenceStoreIdHasBeenSet; }
60 template<typename SequenceStoreIdT = Aws::String>
61 void SetSequenceStoreId(SequenceStoreIdT&& value) { m_sequenceStoreIdHasBeenSet = true; m_sequenceStoreId = std::forward<SequenceStoreIdT>(value); }
62 template<typename SequenceStoreIdT = Aws::String>
63 GetReadSetRequest& WithSequenceStoreId(SequenceStoreIdT&& value) { SetSequenceStoreId(std::forward<SequenceStoreIdT>(value)); return *this;}
65
67
70 inline ReadSetFile GetFile() const { return m_file; }
71 inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
72 inline void SetFile(ReadSetFile value) { m_fileHasBeenSet = true; m_file = value; }
73 inline GetReadSetRequest& WithFile(ReadSetFile value) { SetFile(value); return *this;}
75
77
80 inline int GetPartNumber() const { return m_partNumber; }
81 inline bool PartNumberHasBeenSet() const { return m_partNumberHasBeenSet; }
82 inline void SetPartNumber(int value) { m_partNumberHasBeenSet = true; m_partNumber = value; }
83 inline GetReadSetRequest& WithPartNumber(int value) { SetPartNumber(value); return *this;}
85 private:
86
87 Aws::String m_id;
88 bool m_idHasBeenSet = false;
89
90 Aws::String m_sequenceStoreId;
91 bool m_sequenceStoreIdHasBeenSet = false;
92
94 bool m_fileHasBeenSet = false;
95
96 int m_partNumber{0};
97 bool m_partNumberHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Omics
102} // 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