AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetReferenceRequest.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/ReferenceFile.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 GetReferenceRequest() = 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 "GetReference"; }
36
37 AWS_OMICS_API Aws::String SerializePayload() const override;
38
39 AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
42
43
45
48 inline const Aws::String& GetId() const { return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 GetReferenceRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetReferenceStoreId() const { return m_referenceStoreId; }
61 inline bool ReferenceStoreIdHasBeenSet() const { return m_referenceStoreIdHasBeenSet; }
62 template<typename ReferenceStoreIdT = Aws::String>
63 void SetReferenceStoreId(ReferenceStoreIdT&& value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId = std::forward<ReferenceStoreIdT>(value); }
64 template<typename ReferenceStoreIdT = Aws::String>
65 GetReferenceRequest& WithReferenceStoreId(ReferenceStoreIdT&& value) { SetReferenceStoreId(std::forward<ReferenceStoreIdT>(value)); return *this;}
67
69
72 inline const Aws::String& GetRange() const { return m_range; }
73 inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; }
74 template<typename RangeT = Aws::String>
75 void SetRange(RangeT&& value) { m_rangeHasBeenSet = true; m_range = std::forward<RangeT>(value); }
76 template<typename RangeT = Aws::String>
77 GetReferenceRequest& WithRange(RangeT&& value) { SetRange(std::forward<RangeT>(value)); return *this;}
79
81
84 inline int GetPartNumber() const { return m_partNumber; }
85 inline bool PartNumberHasBeenSet() const { return m_partNumberHasBeenSet; }
86 inline void SetPartNumber(int value) { m_partNumberHasBeenSet = true; m_partNumber = value; }
87 inline GetReferenceRequest& WithPartNumber(int value) { SetPartNumber(value); return *this;}
89
91
94 inline ReferenceFile GetFile() const { return m_file; }
95 inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
96 inline void SetFile(ReferenceFile value) { m_fileHasBeenSet = true; m_file = value; }
97 inline GetReferenceRequest& WithFile(ReferenceFile value) { SetFile(value); return *this;}
99 private:
100
101 Aws::String m_id;
102 bool m_idHasBeenSet = false;
103
104 Aws::String m_referenceStoreId;
105 bool m_referenceStoreIdHasBeenSet = false;
106
107 Aws::String m_range;
108 bool m_rangeHasBeenSet = false;
109
110 int m_partNumber{0};
111 bool m_partNumberHasBeenSet = false;
112
114 bool m_fileHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace Omics
119} // namespace Aws
AWS_OMICS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_OMICS_API GetReferenceRequest()=default
AWS_OMICS_API Aws::String SerializePayload() const override
void SetReferenceStoreId(ReferenceStoreIdT &&value)
const Aws::String & GetReferenceStoreId() const
GetReferenceRequest & WithFile(ReferenceFile value)
AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetReferenceRequest & WithReferenceStoreId(ReferenceStoreIdT &&value)
GetReferenceRequest & WithId(IdT &&value)
GetReferenceRequest & WithPartNumber(int value)
GetReferenceRequest & WithRange(RangeT &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String