AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline GetReferenceRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline GetReferenceRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline GetReferenceRequest& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const Aws::String& GetReferenceStoreId() const{ return m_referenceStoreId; }
63 inline bool ReferenceStoreIdHasBeenSet() const { return m_referenceStoreIdHasBeenSet; }
64 inline void SetReferenceStoreId(const Aws::String& value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId = value; }
65 inline void SetReferenceStoreId(Aws::String&& value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId = std::move(value); }
66 inline void SetReferenceStoreId(const char* value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId.assign(value); }
67 inline GetReferenceRequest& WithReferenceStoreId(const Aws::String& value) { SetReferenceStoreId(value); return *this;}
68 inline GetReferenceRequest& WithReferenceStoreId(Aws::String&& value) { SetReferenceStoreId(std::move(value)); return *this;}
69 inline GetReferenceRequest& WithReferenceStoreId(const char* value) { SetReferenceStoreId(value); return *this;}
71
73
76 inline const Aws::String& GetRange() const{ return m_range; }
77 inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; }
78 inline void SetRange(const Aws::String& value) { m_rangeHasBeenSet = true; m_range = value; }
79 inline void SetRange(Aws::String&& value) { m_rangeHasBeenSet = true; m_range = std::move(value); }
80 inline void SetRange(const char* value) { m_rangeHasBeenSet = true; m_range.assign(value); }
81 inline GetReferenceRequest& WithRange(const Aws::String& value) { SetRange(value); return *this;}
82 inline GetReferenceRequest& WithRange(Aws::String&& value) { SetRange(std::move(value)); return *this;}
83 inline GetReferenceRequest& WithRange(const char* value) { SetRange(value); return *this;}
85
87
90 inline int GetPartNumber() const{ return m_partNumber; }
91 inline bool PartNumberHasBeenSet() const { return m_partNumberHasBeenSet; }
92 inline void SetPartNumber(int value) { m_partNumberHasBeenSet = true; m_partNumber = value; }
93 inline GetReferenceRequest& WithPartNumber(int value) { SetPartNumber(value); return *this;}
95
97
100 inline const ReferenceFile& GetFile() const{ return m_file; }
101 inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
102 inline void SetFile(const ReferenceFile& value) { m_fileHasBeenSet = true; m_file = value; }
103 inline void SetFile(ReferenceFile&& value) { m_fileHasBeenSet = true; m_file = std::move(value); }
104 inline GetReferenceRequest& WithFile(const ReferenceFile& value) { SetFile(value); return *this;}
105 inline GetReferenceRequest& WithFile(ReferenceFile&& value) { SetFile(std::move(value)); return *this;}
107 private:
108
109 Aws::String m_id;
110 bool m_idHasBeenSet = false;
111
112 Aws::String m_referenceStoreId;
113 bool m_referenceStoreIdHasBeenSet = false;
114
115 Aws::String m_range;
116 bool m_rangeHasBeenSet = false;
117
118 int m_partNumber;
119 bool m_partNumberHasBeenSet = false;
120
121 ReferenceFile m_file;
122 bool m_fileHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace Omics
127} // namespace Aws
GetReferenceRequest & WithReferenceStoreId(Aws::String &&value)
const ReferenceFile & GetFile() const
AWS_OMICS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetId(const Aws::String &value)
void SetFile(const ReferenceFile &value)
GetReferenceRequest & WithRange(Aws::String &&value)
GetReferenceRequest & WithRange(const char *value)
AWS_OMICS_API Aws::String SerializePayload() const override
void SetReferenceStoreId(const Aws::String &value)
GetReferenceRequest & WithFile(const ReferenceFile &value)
GetReferenceRequest & WithReferenceStoreId(const char *value)
void SetRange(const Aws::String &value)
const Aws::String & GetReferenceStoreId() const
GetReferenceRequest & WithId(const char *value)
GetReferenceRequest & WithId(const Aws::String &value)
GetReferenceRequest & WithId(Aws::String &&value)
GetReferenceRequest & WithRange(const Aws::String &value)
GetReferenceRequest & WithFile(ReferenceFile &&value)
GetReferenceRequest & WithReferenceStoreId(const Aws::String &value)
AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetReferenceStoreId(Aws::String &&value)
GetReferenceRequest & WithPartNumber(int 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