AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateAnnotationStoreResult.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/StoreFormat.h>
11#include <aws/omics/model/StoreOptions.h>
12#include <aws/omics/model/StoreStatus.h>
13#include <aws/core/utils/DateTime.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 CreateAnnotationStoreResult() = 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 CreateAnnotationStoreResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
50
52
56 inline const ReferenceItem& GetReference() const { return m_reference; }
57 template<typename ReferenceT = ReferenceItem>
58 void SetReference(ReferenceT&& value) { m_referenceHasBeenSet = true; m_reference = std::forward<ReferenceT>(value); }
59 template<typename ReferenceT = ReferenceItem>
60 CreateAnnotationStoreResult& WithReference(ReferenceT&& value) { SetReference(std::forward<ReferenceT>(value)); return *this;}
62
64
67 inline StoreFormat GetStoreFormat() const { return m_storeFormat; }
68 inline void SetStoreFormat(StoreFormat value) { m_storeFormatHasBeenSet = true; m_storeFormat = value; }
71
73
76 inline const StoreOptions& GetStoreOptions() const { return m_storeOptions; }
77 template<typename StoreOptionsT = StoreOptions>
78 void SetStoreOptions(StoreOptionsT&& value) { m_storeOptionsHasBeenSet = true; m_storeOptions = std::forward<StoreOptionsT>(value); }
79 template<typename StoreOptionsT = StoreOptions>
80 CreateAnnotationStoreResult& WithStoreOptions(StoreOptionsT&& value) { SetStoreOptions(std::forward<StoreOptionsT>(value)); return *this;}
82
84
87 inline StoreStatus GetStatus() const { return m_status; }
88 inline void SetStatus(StoreStatus value) { m_statusHasBeenSet = true; m_status = value; }
89 inline CreateAnnotationStoreResult& WithStatus(StoreStatus value) { SetStatus(value); return *this;}
91
93
96 inline const Aws::String& GetName() const { return m_name; }
97 template<typename NameT = Aws::String>
98 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
99 template<typename NameT = Aws::String>
100 CreateAnnotationStoreResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
102
104
108 inline const Aws::String& GetVersionName() const { return m_versionName; }
109 template<typename VersionNameT = Aws::String>
110 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet = true; m_versionName = std::forward<VersionNameT>(value); }
111 template<typename VersionNameT = Aws::String>
112 CreateAnnotationStoreResult& WithVersionName(VersionNameT&& value) { SetVersionName(std::forward<VersionNameT>(value)); return *this;}
114
116
119 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
120 template<typename CreationTimeT = Aws::Utils::DateTime>
121 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
122 template<typename CreationTimeT = Aws::Utils::DateTime>
123 CreateAnnotationStoreResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
125
127
128 inline const Aws::String& GetRequestId() const { return m_requestId; }
129 template<typename RequestIdT = Aws::String>
130 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
131 template<typename RequestIdT = Aws::String>
132 CreateAnnotationStoreResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
134 private:
135
136 Aws::String m_id;
137 bool m_idHasBeenSet = false;
138
139 ReferenceItem m_reference;
140 bool m_referenceHasBeenSet = false;
141
142 StoreFormat m_storeFormat{StoreFormat::NOT_SET};
143 bool m_storeFormatHasBeenSet = false;
144
145 StoreOptions m_storeOptions;
146 bool m_storeOptionsHasBeenSet = false;
147
149 bool m_statusHasBeenSet = false;
150
151 Aws::String m_name;
152 bool m_nameHasBeenSet = false;
153
154 Aws::String m_versionName;
155 bool m_versionNameHasBeenSet = false;
156
157 Aws::Utils::DateTime m_creationTime{};
158 bool m_creationTimeHasBeenSet = false;
159
160 Aws::String m_requestId;
161 bool m_requestIdHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace Omics
166} // namespace Aws
CreateAnnotationStoreResult & WithName(NameT &&value)
CreateAnnotationStoreResult & WithStatus(StoreStatus value)
CreateAnnotationStoreResult & WithStoreFormat(StoreFormat value)
CreateAnnotationStoreResult & WithStoreOptions(StoreOptionsT &&value)
AWS_OMICS_API CreateAnnotationStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAnnotationStoreResult & WithVersionName(VersionNameT &&value)
AWS_OMICS_API CreateAnnotationStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OMICS_API CreateAnnotationStoreResult()=default
CreateAnnotationStoreResult & WithId(IdT &&value)
CreateAnnotationStoreResult & WithReference(ReferenceT &&value)
CreateAnnotationStoreResult & WithRequestId(RequestIdT &&value)
CreateAnnotationStoreResult & WithCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue