AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
SequenceInformation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/omics/Omics_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Omics {
20namespace Model {
21
28 public:
29 AWS_OMICS_API SequenceInformation() = default;
32 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline long long GetTotalReadCount() const { return m_totalReadCount; }
39 inline bool TotalReadCountHasBeenSet() const { return m_totalReadCountHasBeenSet; }
40 inline void SetTotalReadCount(long long value) {
41 m_totalReadCountHasBeenSet = true;
42 m_totalReadCount = value;
43 }
44 inline SequenceInformation& WithTotalReadCount(long long value) {
45 SetTotalReadCount(value);
46 return *this;
47 }
49
51
54 inline long long GetTotalBaseCount() const { return m_totalBaseCount; }
55 inline bool TotalBaseCountHasBeenSet() const { return m_totalBaseCountHasBeenSet; }
56 inline void SetTotalBaseCount(long long value) {
57 m_totalBaseCountHasBeenSet = true;
58 m_totalBaseCount = value;
59 }
60 inline SequenceInformation& WithTotalBaseCount(long long value) {
61 SetTotalBaseCount(value);
62 return *this;
63 }
65
67
70 inline const Aws::String& GetGeneratedFrom() const { return m_generatedFrom; }
71 inline bool GeneratedFromHasBeenSet() const { return m_generatedFromHasBeenSet; }
72 template <typename GeneratedFromT = Aws::String>
73 void SetGeneratedFrom(GeneratedFromT&& value) {
74 m_generatedFromHasBeenSet = true;
75 m_generatedFrom = std::forward<GeneratedFromT>(value);
76 }
77 template <typename GeneratedFromT = Aws::String>
78 SequenceInformation& WithGeneratedFrom(GeneratedFromT&& value) {
79 SetGeneratedFrom(std::forward<GeneratedFromT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetAlignment() const { return m_alignment; }
89 inline bool AlignmentHasBeenSet() const { return m_alignmentHasBeenSet; }
90 template <typename AlignmentT = Aws::String>
91 void SetAlignment(AlignmentT&& value) {
92 m_alignmentHasBeenSet = true;
93 m_alignment = std::forward<AlignmentT>(value);
94 }
95 template <typename AlignmentT = Aws::String>
96 SequenceInformation& WithAlignment(AlignmentT&& value) {
97 SetAlignment(std::forward<AlignmentT>(value));
98 return *this;
99 }
101 private:
102 long long m_totalReadCount{0};
103
104 long long m_totalBaseCount{0};
105
106 Aws::String m_generatedFrom;
107
108 Aws::String m_alignment;
109 bool m_totalReadCountHasBeenSet = false;
110 bool m_totalBaseCountHasBeenSet = false;
111 bool m_generatedFromHasBeenSet = false;
112 bool m_alignmentHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace Omics
117} // namespace Aws
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGeneratedFrom(GeneratedFromT &&value)
SequenceInformation & WithAlignment(AlignmentT &&value)
AWS_OMICS_API SequenceInformation()=default
SequenceInformation & WithTotalReadCount(long long value)
SequenceInformation & WithTotalBaseCount(long long value)
AWS_OMICS_API SequenceInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAlignment() const
SequenceInformation & WithGeneratedFrom(GeneratedFromT &&value)
AWS_OMICS_API SequenceInformation(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetGeneratedFrom() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue