AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateAnnotationStoreVersionResult.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/VersionOptions.h>
10#include <aws/omics/model/VersionStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Omics
27{
28namespace Model
29{
31 {
32 public:
33 AWS_OMICS_API CreateAnnotationStoreVersionResult() = default;
36
37
39
42 inline const Aws::String& GetId() const { return m_id; }
43 template<typename IdT = Aws::String>
44 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
45 template<typename IdT = Aws::String>
46 CreateAnnotationStoreVersionResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
48
50
54 inline const Aws::String& GetVersionName() const { return m_versionName; }
55 template<typename VersionNameT = Aws::String>
56 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet = true; m_versionName = std::forward<VersionNameT>(value); }
57 template<typename VersionNameT = Aws::String>
58 CreateAnnotationStoreVersionResult& WithVersionName(VersionNameT&& value) { SetVersionName(std::forward<VersionNameT>(value)); return *this;}
60
62
66 inline const Aws::String& GetStoreId() const { return m_storeId; }
67 template<typename StoreIdT = Aws::String>
68 void SetStoreId(StoreIdT&& value) { m_storeIdHasBeenSet = true; m_storeId = std::forward<StoreIdT>(value); }
69 template<typename StoreIdT = Aws::String>
70 CreateAnnotationStoreVersionResult& WithStoreId(StoreIdT&& value) { SetStoreId(std::forward<StoreIdT>(value)); return *this;}
72
74
77 inline const VersionOptions& GetVersionOptions() const { return m_versionOptions; }
78 template<typename VersionOptionsT = VersionOptions>
79 void SetVersionOptions(VersionOptionsT&& value) { m_versionOptionsHasBeenSet = true; m_versionOptions = std::forward<VersionOptionsT>(value); }
80 template<typename VersionOptionsT = VersionOptions>
81 CreateAnnotationStoreVersionResult& WithVersionOptions(VersionOptionsT&& value) { SetVersionOptions(std::forward<VersionOptionsT>(value)); return *this;}
83
85
89 inline const Aws::String& GetName() const { return m_name; }
90 template<typename NameT = Aws::String>
91 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
92 template<typename NameT = Aws::String>
93 CreateAnnotationStoreVersionResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
95
97
100 inline VersionStatus GetStatus() const { return m_status; }
101 inline void SetStatus(VersionStatus value) { m_statusHasBeenSet = true; m_status = value; }
104
106
109 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
110 template<typename CreationTimeT = Aws::Utils::DateTime>
111 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
112 template<typename CreationTimeT = Aws::Utils::DateTime>
113 CreateAnnotationStoreVersionResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
115
117
118 inline const Aws::String& GetRequestId() const { return m_requestId; }
119 template<typename RequestIdT = Aws::String>
120 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
121 template<typename RequestIdT = Aws::String>
122 CreateAnnotationStoreVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
124 private:
125
126 Aws::String m_id;
127 bool m_idHasBeenSet = false;
128
129 Aws::String m_versionName;
130 bool m_versionNameHasBeenSet = false;
131
132 Aws::String m_storeId;
133 bool m_storeIdHasBeenSet = false;
134
135 VersionOptions m_versionOptions;
136 bool m_versionOptionsHasBeenSet = false;
137
138 Aws::String m_name;
139 bool m_nameHasBeenSet = false;
140
142 bool m_statusHasBeenSet = false;
143
144 Aws::Utils::DateTime m_creationTime{};
145 bool m_creationTimeHasBeenSet = false;
146
147 Aws::String m_requestId;
148 bool m_requestIdHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace Omics
153} // namespace Aws
AWS_OMICS_API CreateAnnotationStoreVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAnnotationStoreVersionResult & WithRequestId(RequestIdT &&value)
CreateAnnotationStoreVersionResult & WithName(NameT &&value)
AWS_OMICS_API CreateAnnotationStoreVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAnnotationStoreVersionResult & WithStoreId(StoreIdT &&value)
CreateAnnotationStoreVersionResult & WithVersionName(VersionNameT &&value)
CreateAnnotationStoreVersionResult & WithId(IdT &&value)
CreateAnnotationStoreVersionResult & WithCreationTime(CreationTimeT &&value)
CreateAnnotationStoreVersionResult & WithVersionOptions(VersionOptionsT &&value)
CreateAnnotationStoreVersionResult & WithStatus(VersionStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue