AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateAnnotationStoreResult.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/ReferenceItem.h>
10#include <aws/omics/model/StoreStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/omics/model/StoreOptions.h>
13#include <aws/omics/model/StoreFormat.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Omics
29{
30namespace Model
31{
33 {
34 public:
35 AWS_OMICS_API UpdateAnnotationStoreResult() = default;
38
39
41
44 inline const Aws::String& GetId() const { return m_id; }
45 template<typename IdT = Aws::String>
46 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
47 template<typename IdT = Aws::String>
48 UpdateAnnotationStoreResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
50
52
55 inline const ReferenceItem& GetReference() const { return m_reference; }
56 template<typename ReferenceT = ReferenceItem>
57 void SetReference(ReferenceT&& value) { m_referenceHasBeenSet = true; m_reference = std::forward<ReferenceT>(value); }
58 template<typename ReferenceT = ReferenceItem>
59 UpdateAnnotationStoreResult& WithReference(ReferenceT&& value) { SetReference(std::forward<ReferenceT>(value)); return *this;}
61
63
66 inline StoreStatus GetStatus() const { return m_status; }
67 inline void SetStatus(StoreStatus value) { m_statusHasBeenSet = true; m_status = value; }
68 inline UpdateAnnotationStoreResult& WithStatus(StoreStatus value) { SetStatus(value); return *this;}
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 template<typename NameT = Aws::String>
77 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
78 template<typename NameT = Aws::String>
79 UpdateAnnotationStoreResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
81
83
86 inline const Aws::String& GetDescription() const { return m_description; }
87 template<typename DescriptionT = Aws::String>
88 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
89 template<typename DescriptionT = Aws::String>
90 UpdateAnnotationStoreResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
98 template<typename CreationTimeT = Aws::Utils::DateTime>
99 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
100 template<typename CreationTimeT = Aws::Utils::DateTime>
101 UpdateAnnotationStoreResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
109 template<typename UpdateTimeT = Aws::Utils::DateTime>
110 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
111 template<typename UpdateTimeT = Aws::Utils::DateTime>
112 UpdateAnnotationStoreResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
114
116
119 inline const StoreOptions& GetStoreOptions() const { return m_storeOptions; }
120 template<typename StoreOptionsT = StoreOptions>
121 void SetStoreOptions(StoreOptionsT&& value) { m_storeOptionsHasBeenSet = true; m_storeOptions = std::forward<StoreOptionsT>(value); }
122 template<typename StoreOptionsT = StoreOptions>
123 UpdateAnnotationStoreResult& WithStoreOptions(StoreOptionsT&& value) { SetStoreOptions(std::forward<StoreOptionsT>(value)); return *this;}
125
127
130 inline StoreFormat GetStoreFormat() const { return m_storeFormat; }
131 inline void SetStoreFormat(StoreFormat value) { m_storeFormatHasBeenSet = true; m_storeFormat = value; }
134
136
137 inline const Aws::String& GetRequestId() const { return m_requestId; }
138 template<typename RequestIdT = Aws::String>
139 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
140 template<typename RequestIdT = Aws::String>
141 UpdateAnnotationStoreResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
143 private:
144
145 Aws::String m_id;
146 bool m_idHasBeenSet = false;
147
148 ReferenceItem m_reference;
149 bool m_referenceHasBeenSet = false;
150
152 bool m_statusHasBeenSet = false;
153
154 Aws::String m_name;
155 bool m_nameHasBeenSet = false;
156
157 Aws::String m_description;
158 bool m_descriptionHasBeenSet = false;
159
160 Aws::Utils::DateTime m_creationTime{};
161 bool m_creationTimeHasBeenSet = false;
162
163 Aws::Utils::DateTime m_updateTime{};
164 bool m_updateTimeHasBeenSet = false;
165
166 StoreOptions m_storeOptions;
167 bool m_storeOptionsHasBeenSet = false;
168
169 StoreFormat m_storeFormat{StoreFormat::NOT_SET};
170 bool m_storeFormatHasBeenSet = false;
171
172 Aws::String m_requestId;
173 bool m_requestIdHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace Omics
178} // namespace Aws
UpdateAnnotationStoreResult & WithReference(ReferenceT &&value)
AWS_OMICS_API UpdateAnnotationStoreResult()=default
AWS_OMICS_API UpdateAnnotationStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAnnotationStoreResult & WithId(IdT &&value)
UpdateAnnotationStoreResult & WithCreationTime(CreationTimeT &&value)
UpdateAnnotationStoreResult & WithStoreFormat(StoreFormat value)
UpdateAnnotationStoreResult & WithStoreOptions(StoreOptionsT &&value)
UpdateAnnotationStoreResult & WithUpdateTime(UpdateTimeT &&value)
UpdateAnnotationStoreResult & WithName(NameT &&value)
UpdateAnnotationStoreResult & WithRequestId(RequestIdT &&value)
AWS_OMICS_API UpdateAnnotationStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAnnotationStoreResult & WithStatus(StoreStatus value)
UpdateAnnotationStoreResult & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue