AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportReferenceSourceItem.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/omics/model/ReferenceImportJobItemStatus.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Omics
24{
25namespace Model
26{
27
34 {
35 public:
39 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetSourceFile() const{ return m_sourceFile; }
47 inline bool SourceFileHasBeenSet() const { return m_sourceFileHasBeenSet; }
48 inline void SetSourceFile(const Aws::String& value) { m_sourceFileHasBeenSet = true; m_sourceFile = value; }
49 inline void SetSourceFile(Aws::String&& value) { m_sourceFileHasBeenSet = true; m_sourceFile = std::move(value); }
50 inline void SetSourceFile(const char* value) { m_sourceFileHasBeenSet = true; m_sourceFile.assign(value); }
51 inline ImportReferenceSourceItem& WithSourceFile(const Aws::String& value) { SetSourceFile(value); return *this;}
52 inline ImportReferenceSourceItem& WithSourceFile(Aws::String&& value) { SetSourceFile(std::move(value)); return *this;}
53 inline ImportReferenceSourceItem& WithSourceFile(const char* value) { SetSourceFile(value); return *this;}
55
57
60 inline const ReferenceImportJobItemStatus& GetStatus() const{ return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 inline void SetStatus(const ReferenceImportJobItemStatus& value) { m_statusHasBeenSet = true; m_status = value; }
63 inline void SetStatus(ReferenceImportJobItemStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
64 inline ImportReferenceSourceItem& WithStatus(const ReferenceImportJobItemStatus& value) { SetStatus(value); return *this;}
65 inline ImportReferenceSourceItem& WithStatus(ReferenceImportJobItemStatus&& value) { SetStatus(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
73 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
74 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
75 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
76 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
77 inline ImportReferenceSourceItem& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
78 inline ImportReferenceSourceItem& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
79 inline ImportReferenceSourceItem& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
81
83
86 inline const Aws::String& GetName() const{ return m_name; }
87 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
88 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
89 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
90 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
91 inline ImportReferenceSourceItem& WithName(const Aws::String& value) { SetName(value); return *this;}
92 inline ImportReferenceSourceItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
93 inline ImportReferenceSourceItem& WithName(const char* value) { SetName(value); return *this;}
95
97
100 inline const Aws::String& GetDescription() const{ return m_description; }
101 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
102 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
103 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
104 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
105 inline ImportReferenceSourceItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
106 inline ImportReferenceSourceItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
107 inline ImportReferenceSourceItem& WithDescription(const char* value) { SetDescription(value); return *this;}
109
111
114 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
115 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
116 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
117 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
119 inline ImportReferenceSourceItem& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
120 inline ImportReferenceSourceItem& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
121 inline ImportReferenceSourceItem& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
122 inline ImportReferenceSourceItem& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
123 inline ImportReferenceSourceItem& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
124 inline ImportReferenceSourceItem& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
125 inline ImportReferenceSourceItem& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
126 inline ImportReferenceSourceItem& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
128
130
133 inline const Aws::String& GetReferenceId() const{ return m_referenceId; }
134 inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
135 inline void SetReferenceId(const Aws::String& value) { m_referenceIdHasBeenSet = true; m_referenceId = value; }
136 inline void SetReferenceId(Aws::String&& value) { m_referenceIdHasBeenSet = true; m_referenceId = std::move(value); }
137 inline void SetReferenceId(const char* value) { m_referenceIdHasBeenSet = true; m_referenceId.assign(value); }
138 inline ImportReferenceSourceItem& WithReferenceId(const Aws::String& value) { SetReferenceId(value); return *this;}
139 inline ImportReferenceSourceItem& WithReferenceId(Aws::String&& value) { SetReferenceId(std::move(value)); return *this;}
140 inline ImportReferenceSourceItem& WithReferenceId(const char* value) { SetReferenceId(value); return *this;}
142 private:
143
144 Aws::String m_sourceFile;
145 bool m_sourceFileHasBeenSet = false;
146
148 bool m_statusHasBeenSet = false;
149
150 Aws::String m_statusMessage;
151 bool m_statusMessageHasBeenSet = false;
152
153 Aws::String m_name;
154 bool m_nameHasBeenSet = false;
155
156 Aws::String m_description;
157 bool m_descriptionHasBeenSet = false;
158
160 bool m_tagsHasBeenSet = false;
161
162 Aws::String m_referenceId;
163 bool m_referenceIdHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace Omics
168} // namespace Aws
ImportReferenceSourceItem & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
ImportReferenceSourceItem & WithName(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
ImportReferenceSourceItem & AddTags(const char *key, Aws::String &&value)
AWS_OMICS_API ImportReferenceSourceItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportReferenceSourceItem & WithDescription(const Aws::String &value)
ImportReferenceSourceItem & WithStatusMessage(const char *value)
ImportReferenceSourceItem & AddTags(const Aws::String &key, Aws::String &&value)
ImportReferenceSourceItem & WithSourceFile(const Aws::String &value)
ImportReferenceSourceItem & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ImportReferenceSourceItem & WithReferenceId(Aws::String &&value)
ImportReferenceSourceItem & AddTags(Aws::String &&key, const char *value)
ImportReferenceSourceItem & WithReferenceId(const char *value)
ImportReferenceSourceItem & WithDescription(Aws::String &&value)
void SetStatus(const ReferenceImportJobItemStatus &value)
ImportReferenceSourceItem & WithDescription(const char *value)
const ReferenceImportJobItemStatus & GetStatus() const
AWS_OMICS_API ImportReferenceSourceItem(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(ReferenceImportJobItemStatus &&value)
ImportReferenceSourceItem & WithName(const Aws::String &value)
ImportReferenceSourceItem & WithStatusMessage(Aws::String &&value)
ImportReferenceSourceItem & AddTags(const char *key, const char *value)
ImportReferenceSourceItem & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ImportReferenceSourceItem & WithReferenceId(const Aws::String &value)
ImportReferenceSourceItem & WithName(Aws::String &&value)
ImportReferenceSourceItem & WithSourceFile(const char *value)
ImportReferenceSourceItem & AddTags(Aws::String &&key, const Aws::String &value)
ImportReferenceSourceItem & WithSourceFile(Aws::String &&value)
ImportReferenceSourceItem & WithStatus(const ReferenceImportJobItemStatus &value)
ImportReferenceSourceItem & AddTags(const Aws::String &key, const Aws::String &value)
ImportReferenceSourceItem & WithStatus(ReferenceImportJobItemStatus &&value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
ImportReferenceSourceItem & WithStatusMessage(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue