AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CompleteMultipartReadSetUploadRequest.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/CompleteReadSetUploadPartListItem.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Omics
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_OMICS_API CompleteMultipartReadSetUploadRequest() = 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 "CompleteMultipartReadSetUpload"; }
33
34 AWS_OMICS_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetSequenceStoreId() const { return m_sequenceStoreId; }
42 inline bool SequenceStoreIdHasBeenSet() const { return m_sequenceStoreIdHasBeenSet; }
43 template<typename SequenceStoreIdT = Aws::String>
44 void SetSequenceStoreId(SequenceStoreIdT&& value) { m_sequenceStoreIdHasBeenSet = true; m_sequenceStoreId = std::forward<SequenceStoreIdT>(value); }
45 template<typename SequenceStoreIdT = Aws::String>
46 CompleteMultipartReadSetUploadRequest& WithSequenceStoreId(SequenceStoreIdT&& value) { SetSequenceStoreId(std::forward<SequenceStoreIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetUploadId() const { return m_uploadId; }
54 inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; }
55 template<typename UploadIdT = Aws::String>
56 void SetUploadId(UploadIdT&& value) { m_uploadIdHasBeenSet = true; m_uploadId = std::forward<UploadIdT>(value); }
57 template<typename UploadIdT = Aws::String>
58 CompleteMultipartReadSetUploadRequest& WithUploadId(UploadIdT&& value) { SetUploadId(std::forward<UploadIdT>(value)); return *this;}
60
62
65 inline const Aws::Vector<CompleteReadSetUploadPartListItem>& GetParts() const { return m_parts; }
66 inline bool PartsHasBeenSet() const { return m_partsHasBeenSet; }
67 template<typename PartsT = Aws::Vector<CompleteReadSetUploadPartListItem>>
68 void SetParts(PartsT&& value) { m_partsHasBeenSet = true; m_parts = std::forward<PartsT>(value); }
69 template<typename PartsT = Aws::Vector<CompleteReadSetUploadPartListItem>>
70 CompleteMultipartReadSetUploadRequest& WithParts(PartsT&& value) { SetParts(std::forward<PartsT>(value)); return *this;}
71 template<typename PartsT = CompleteReadSetUploadPartListItem>
72 CompleteMultipartReadSetUploadRequest& AddParts(PartsT&& value) { m_partsHasBeenSet = true; m_parts.emplace_back(std::forward<PartsT>(value)); return *this; }
74 private:
75
76 Aws::String m_sequenceStoreId;
77 bool m_sequenceStoreIdHasBeenSet = false;
78
79 Aws::String m_uploadId;
80 bool m_uploadIdHasBeenSet = false;
81
83 bool m_partsHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Omics
88} // namespace Aws
CompleteMultipartReadSetUploadRequest & AddParts(PartsT &&value)
AWS_OMICS_API Aws::String SerializePayload() const override
CompleteMultipartReadSetUploadRequest & WithParts(PartsT &&value)
CompleteMultipartReadSetUploadRequest & WithUploadId(UploadIdT &&value)
CompleteMultipartReadSetUploadRequest & WithSequenceStoreId(SequenceStoreIdT &&value)
const Aws::Vector< CompleteReadSetUploadPartListItem > & GetParts() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector