AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateAnnotationStoreVersionResult.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/VersionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Omics
26{
27namespace Model
28{
30 {
31 public:
32 AWS_OMICS_API UpdateAnnotationStoreVersionResult() = default;
35
36
38
41 inline const Aws::String& GetStoreId() const { return m_storeId; }
42 template<typename StoreIdT = Aws::String>
43 void SetStoreId(StoreIdT&& value) { m_storeIdHasBeenSet = true; m_storeId = std::forward<StoreIdT>(value); }
44 template<typename StoreIdT = Aws::String>
45 UpdateAnnotationStoreVersionResult& WithStoreId(StoreIdT&& value) { SetStoreId(std::forward<StoreIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetId() const { return m_id; }
53 template<typename IdT = Aws::String>
54 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
55 template<typename IdT = Aws::String>
56 UpdateAnnotationStoreVersionResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
58
60
63 inline VersionStatus GetStatus() const { return m_status; }
64 inline void SetStatus(VersionStatus value) { m_statusHasBeenSet = true; m_status = value; }
67
69
72 inline const Aws::String& GetName() const { return m_name; }
73 template<typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
75 template<typename NameT = Aws::String>
76 UpdateAnnotationStoreVersionResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
78
80
83 inline const Aws::String& GetVersionName() const { return m_versionName; }
84 template<typename VersionNameT = Aws::String>
85 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet = true; m_versionName = std::forward<VersionNameT>(value); }
86 template<typename VersionNameT = Aws::String>
87 UpdateAnnotationStoreVersionResult& WithVersionName(VersionNameT&& value) { SetVersionName(std::forward<VersionNameT>(value)); return *this;}
89
91
94 inline const Aws::String& GetDescription() const { return m_description; }
95 template<typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
97 template<typename DescriptionT = Aws::String>
98 UpdateAnnotationStoreVersionResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
106 template<typename CreationTimeT = Aws::Utils::DateTime>
107 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
108 template<typename CreationTimeT = Aws::Utils::DateTime>
109 UpdateAnnotationStoreVersionResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
117 template<typename UpdateTimeT = Aws::Utils::DateTime>
118 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
119 template<typename UpdateTimeT = Aws::Utils::DateTime>
120 UpdateAnnotationStoreVersionResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
122
124
125 inline const Aws::String& GetRequestId() const { return m_requestId; }
126 template<typename RequestIdT = Aws::String>
127 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
128 template<typename RequestIdT = Aws::String>
129 UpdateAnnotationStoreVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
131 private:
132
133 Aws::String m_storeId;
134 bool m_storeIdHasBeenSet = false;
135
136 Aws::String m_id;
137 bool m_idHasBeenSet = false;
138
140 bool m_statusHasBeenSet = false;
141
142 Aws::String m_name;
143 bool m_nameHasBeenSet = false;
144
145 Aws::String m_versionName;
146 bool m_versionNameHasBeenSet = false;
147
148 Aws::String m_description;
149 bool m_descriptionHasBeenSet = false;
150
151 Aws::Utils::DateTime m_creationTime{};
152 bool m_creationTimeHasBeenSet = false;
153
154 Aws::Utils::DateTime m_updateTime{};
155 bool m_updateTimeHasBeenSet = false;
156
157 Aws::String m_requestId;
158 bool m_requestIdHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace Omics
163} // namespace Aws
UpdateAnnotationStoreVersionResult & WithUpdateTime(UpdateTimeT &&value)
UpdateAnnotationStoreVersionResult & WithId(IdT &&value)
UpdateAnnotationStoreVersionResult & WithVersionName(VersionNameT &&value)
UpdateAnnotationStoreVersionResult & WithDescription(DescriptionT &&value)
AWS_OMICS_API UpdateAnnotationStoreVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAnnotationStoreVersionResult & WithName(NameT &&value)
UpdateAnnotationStoreVersionResult & WithCreationTime(CreationTimeT &&value)
UpdateAnnotationStoreVersionResult & WithStoreId(StoreIdT &&value)
UpdateAnnotationStoreVersionResult & WithRequestId(RequestIdT &&value)
UpdateAnnotationStoreVersionResult & WithStatus(VersionStatus value)
AWS_OMICS_API UpdateAnnotationStoreVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue