AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetSequenceStoreId(const Aws::String& value) { m_sequenceStoreIdHasBeenSet = true; m_sequenceStoreId = value; }
44 inline void SetSequenceStoreId(Aws::String&& value) { m_sequenceStoreIdHasBeenSet = true; m_sequenceStoreId = std::move(value); }
45 inline void SetSequenceStoreId(const char* value) { m_sequenceStoreIdHasBeenSet = true; m_sequenceStoreId.assign(value); }
48 inline CompleteMultipartReadSetUploadRequest& WithSequenceStoreId(const char* value) { SetSequenceStoreId(value); return *this;}
50
52
55 inline const Aws::String& GetUploadId() const{ return m_uploadId; }
56 inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; }
57 inline void SetUploadId(const Aws::String& value) { m_uploadIdHasBeenSet = true; m_uploadId = value; }
58 inline void SetUploadId(Aws::String&& value) { m_uploadIdHasBeenSet = true; m_uploadId = std::move(value); }
59 inline void SetUploadId(const char* value) { m_uploadIdHasBeenSet = true; m_uploadId.assign(value); }
60 inline CompleteMultipartReadSetUploadRequest& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;}
61 inline CompleteMultipartReadSetUploadRequest& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;}
62 inline CompleteMultipartReadSetUploadRequest& WithUploadId(const char* value) { SetUploadId(value); return *this;}
64
66
69 inline const Aws::Vector<CompleteReadSetUploadPartListItem>& GetParts() const{ return m_parts; }
70 inline bool PartsHasBeenSet() const { return m_partsHasBeenSet; }
71 inline void SetParts(const Aws::Vector<CompleteReadSetUploadPartListItem>& value) { m_partsHasBeenSet = true; m_parts = value; }
72 inline void SetParts(Aws::Vector<CompleteReadSetUploadPartListItem>&& value) { m_partsHasBeenSet = true; m_parts = std::move(value); }
75 inline CompleteMultipartReadSetUploadRequest& AddParts(const CompleteReadSetUploadPartListItem& value) { m_partsHasBeenSet = true; m_parts.push_back(value); return *this; }
76 inline CompleteMultipartReadSetUploadRequest& AddParts(CompleteReadSetUploadPartListItem&& value) { m_partsHasBeenSet = true; m_parts.push_back(std::move(value)); return *this; }
78 private:
79
80 Aws::String m_sequenceStoreId;
81 bool m_sequenceStoreIdHasBeenSet = false;
82
83 Aws::String m_uploadId;
84 bool m_uploadIdHasBeenSet = false;
85
87 bool m_partsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Omics
92} // namespace Aws
AWS_OMICS_API Aws::String SerializePayload() const override
CompleteMultipartReadSetUploadRequest & WithUploadId(const Aws::String &value)
CompleteMultipartReadSetUploadRequest & WithParts(Aws::Vector< CompleteReadSetUploadPartListItem > &&value)
CompleteMultipartReadSetUploadRequest & WithSequenceStoreId(const Aws::String &value)
void SetParts(Aws::Vector< CompleteReadSetUploadPartListItem > &&value)
CompleteMultipartReadSetUploadRequest & AddParts(const CompleteReadSetUploadPartListItem &value)
void SetParts(const Aws::Vector< CompleteReadSetUploadPartListItem > &value)
CompleteMultipartReadSetUploadRequest & WithSequenceStoreId(const char *value)
CompleteMultipartReadSetUploadRequest & WithSequenceStoreId(Aws::String &&value)
CompleteMultipartReadSetUploadRequest & AddParts(CompleteReadSetUploadPartListItem &&value)
CompleteMultipartReadSetUploadRequest & WithUploadId(const char *value)
CompleteMultipartReadSetUploadRequest & WithUploadId(Aws::String &&value)
CompleteMultipartReadSetUploadRequest & WithParts(const Aws::Vector< CompleteReadSetUploadPartListItem > &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