AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ReadSetFiles.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/omics/model/FileInformation.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 ReadSetFiles() = default;
30 AWS_OMICS_API ReadSetFiles(Aws::Utils::Json::JsonView jsonValue);
32 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const FileInformation& GetSource1() const { return m_source1; }
39 inline bool Source1HasBeenSet() const { return m_source1HasBeenSet; }
40 template <typename Source1T = FileInformation>
41 void SetSource1(Source1T&& value) {
42 m_source1HasBeenSet = true;
43 m_source1 = std::forward<Source1T>(value);
44 }
45 template <typename Source1T = FileInformation>
46 ReadSetFiles& WithSource1(Source1T&& value) {
47 SetSource1(std::forward<Source1T>(value));
48 return *this;
49 }
51
53
56 inline const FileInformation& GetSource2() const { return m_source2; }
57 inline bool Source2HasBeenSet() const { return m_source2HasBeenSet; }
58 template <typename Source2T = FileInformation>
59 void SetSource2(Source2T&& value) {
60 m_source2HasBeenSet = true;
61 m_source2 = std::forward<Source2T>(value);
62 }
63 template <typename Source2T = FileInformation>
64 ReadSetFiles& WithSource2(Source2T&& value) {
65 SetSource2(std::forward<Source2T>(value));
66 return *this;
67 }
69
71
74 inline const FileInformation& GetIndex() const { return m_index; }
75 inline bool IndexHasBeenSet() const { return m_indexHasBeenSet; }
76 template <typename IndexT = FileInformation>
77 void SetIndex(IndexT&& value) {
78 m_indexHasBeenSet = true;
79 m_index = std::forward<IndexT>(value);
80 }
81 template <typename IndexT = FileInformation>
82 ReadSetFiles& WithIndex(IndexT&& value) {
83 SetIndex(std::forward<IndexT>(value));
84 return *this;
85 }
87 private:
88 FileInformation m_source1;
89
90 FileInformation m_source2;
91
92 FileInformation m_index;
93 bool m_source1HasBeenSet = false;
94 bool m_source2HasBeenSet = false;
95 bool m_indexHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Omics
100} // namespace Aws
ReadSetFiles & WithSource1(Source1T &&value)
ReadSetFiles & WithIndex(IndexT &&value)
AWS_OMICS_API ReadSetFiles(Aws::Utils::Json::JsonView jsonValue)
const FileInformation & GetSource1() const
AWS_OMICS_API ReadSetFiles & operator=(Aws::Utils::Json::JsonView jsonValue)
const FileInformation & GetIndex() const
void SetSource2(Source2T &&value)
AWS_OMICS_API ReadSetFiles()=default
void SetSource1(Source1T &&value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
const FileInformation & GetSource2() const
void SetIndex(IndexT &&value)
ReadSetFiles & WithSource2(Source2T &&value)
Aws::Utils::Json::JsonValue JsonValue