AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ReferenceFiles.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 ReferenceFiles() = default;
32 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const FileInformation& GetSource() const { return m_source; }
39 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
40 template <typename SourceT = FileInformation>
41 void SetSource(SourceT&& value) {
42 m_sourceHasBeenSet = true;
43 m_source = std::forward<SourceT>(value);
44 }
45 template <typename SourceT = FileInformation>
46 ReferenceFiles& WithSource(SourceT&& value) {
47 SetSource(std::forward<SourceT>(value));
48 return *this;
49 }
51
53
56 inline const FileInformation& GetIndex() const { return m_index; }
57 inline bool IndexHasBeenSet() const { return m_indexHasBeenSet; }
58 template <typename IndexT = FileInformation>
59 void SetIndex(IndexT&& value) {
60 m_indexHasBeenSet = true;
61 m_index = std::forward<IndexT>(value);
62 }
63 template <typename IndexT = FileInformation>
64 ReferenceFiles& WithIndex(IndexT&& value) {
65 SetIndex(std::forward<IndexT>(value));
66 return *this;
67 }
69 private:
70 FileInformation m_source;
71
72 FileInformation m_index;
73 bool m_sourceHasBeenSet = false;
74 bool m_indexHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Omics
79} // namespace Aws
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
ReferenceFiles & WithSource(SourceT &&value)
const FileInformation & GetSource() const
AWS_OMICS_API ReferenceFiles & operator=(Aws::Utils::Json::JsonView jsonValue)
ReferenceFiles & WithIndex(IndexT &&value)
const FileInformation & GetIndex() const
void SetSource(SourceT &&value)
AWS_OMICS_API ReferenceFiles(Aws::Utils::Json::JsonView jsonValue)
AWS_OMICS_API ReferenceFiles()=default
Aws::Utils::Json::JsonValue JsonValue