AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
UpdateVariantStoreResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/omics/Omics_EXPORTS.h>
10#include <aws/omics/model/ReferenceItem.h>
11#include <aws/omics/model/StoreStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Omics {
25namespace Model {
27 public:
28 AWS_OMICS_API UpdateVariantStoreResult() = default;
31
33
36 inline const Aws::String& GetId() const { return m_id; }
37 template <typename IdT = Aws::String>
38 void SetId(IdT&& value) {
39 m_idHasBeenSet = true;
40 m_id = std::forward<IdT>(value);
41 }
42 template <typename IdT = Aws::String>
44 SetId(std::forward<IdT>(value));
45 return *this;
46 }
48
50
53 inline const ReferenceItem& GetReference() const { return m_reference; }
54 template <typename ReferenceT = ReferenceItem>
55 void SetReference(ReferenceT&& value) {
56 m_referenceHasBeenSet = true;
57 m_reference = std::forward<ReferenceT>(value);
58 }
59 template <typename ReferenceT = ReferenceItem>
61 SetReference(std::forward<ReferenceT>(value));
62 return *this;
63 }
65
67
70 inline StoreStatus GetStatus() const { return m_status; }
71 inline void SetStatus(StoreStatus value) {
72 m_statusHasBeenSet = true;
73 m_status = value;
74 }
76 SetStatus(value);
77 return *this;
78 }
80
82
85 inline const Aws::String& GetName() const { return m_name; }
86 template <typename NameT = Aws::String>
87 void SetName(NameT&& value) {
88 m_nameHasBeenSet = true;
89 m_name = std::forward<NameT>(value);
90 }
91 template <typename NameT = Aws::String>
93 SetName(std::forward<NameT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetDescription() const { return m_description; }
103 template <typename DescriptionT = Aws::String>
104 void SetDescription(DescriptionT&& value) {
105 m_descriptionHasBeenSet = true;
106 m_description = std::forward<DescriptionT>(value);
107 }
108 template <typename DescriptionT = Aws::String>
110 SetDescription(std::forward<DescriptionT>(value));
111 return *this;
112 }
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) {
122 m_creationTimeHasBeenSet = true;
123 m_creationTime = std::forward<CreationTimeT>(value);
124 }
125 template <typename CreationTimeT = Aws::Utils::DateTime>
127 SetCreationTime(std::forward<CreationTimeT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
137 template <typename UpdateTimeT = Aws::Utils::DateTime>
138 void SetUpdateTime(UpdateTimeT&& value) {
139 m_updateTimeHasBeenSet = true;
140 m_updateTime = std::forward<UpdateTimeT>(value);
141 }
142 template <typename UpdateTimeT = Aws::Utils::DateTime>
144 SetUpdateTime(std::forward<UpdateTimeT>(value));
145 return *this;
146 }
148
150
151 inline const Aws::String& GetRequestId() const { return m_requestId; }
152 template <typename RequestIdT = Aws::String>
153 void SetRequestId(RequestIdT&& value) {
154 m_requestIdHasBeenSet = true;
155 m_requestId = std::forward<RequestIdT>(value);
156 }
157 template <typename RequestIdT = Aws::String>
159 SetRequestId(std::forward<RequestIdT>(value));
160 return *this;
161 }
163 private:
164 Aws::String m_id;
165
166 ReferenceItem m_reference;
167
169
170 Aws::String m_name;
171
172 Aws::String m_description;
173
174 Aws::Utils::DateTime m_creationTime{};
175
176 Aws::Utils::DateTime m_updateTime{};
177
178 Aws::String m_requestId;
179 bool m_idHasBeenSet = false;
180 bool m_referenceHasBeenSet = false;
181 bool m_statusHasBeenSet = false;
182 bool m_nameHasBeenSet = false;
183 bool m_descriptionHasBeenSet = false;
184 bool m_creationTimeHasBeenSet = false;
185 bool m_updateTimeHasBeenSet = false;
186 bool m_requestIdHasBeenSet = false;
187};
188
189} // namespace Model
190} // namespace Omics
191} // namespace Aws
UpdateVariantStoreResult & WithReference(ReferenceT &&value)
UpdateVariantStoreResult & WithId(IdT &&value)
UpdateVariantStoreResult & WithStatus(StoreStatus value)
UpdateVariantStoreResult & WithName(NameT &&value)
UpdateVariantStoreResult & WithUpdateTime(UpdateTimeT &&value)
AWS_OMICS_API UpdateVariantStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateVariantStoreResult & WithCreationTime(CreationTimeT &&value)
AWS_OMICS_API UpdateVariantStoreResult()=default
const Aws::Utils::DateTime & GetCreationTime() const
AWS_OMICS_API UpdateVariantStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetUpdateTime() const
UpdateVariantStoreResult & WithDescription(DescriptionT &&value)
UpdateVariantStoreResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue