AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateVariantStoreResult.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 <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 UpdateVariantStoreResult() = 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 UpdateVariantStoreResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
48
50
53 inline const ReferenceItem& GetReference() const { return m_reference; }
54 template<typename ReferenceT = ReferenceItem>
55 void SetReference(ReferenceT&& value) { m_referenceHasBeenSet = true; m_reference = std::forward<ReferenceT>(value); }
56 template<typename ReferenceT = ReferenceItem>
57 UpdateVariantStoreResult& WithReference(ReferenceT&& value) { SetReference(std::forward<ReferenceT>(value)); return *this;}
59
61
64 inline StoreStatus GetStatus() const { return m_status; }
65 inline void SetStatus(StoreStatus value) { m_statusHasBeenSet = true; m_status = value; }
66 inline UpdateVariantStoreResult& WithStatus(StoreStatus value) { SetStatus(value); return *this;}
68
70
73 inline const Aws::String& GetName() const { return m_name; }
74 template<typename NameT = Aws::String>
75 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
76 template<typename NameT = Aws::String>
77 UpdateVariantStoreResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
79
81
84 inline const Aws::String& GetDescription() const { return m_description; }
85 template<typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
87 template<typename DescriptionT = Aws::String>
88 UpdateVariantStoreResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
96 template<typename CreationTimeT = Aws::Utils::DateTime>
97 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
98 template<typename CreationTimeT = Aws::Utils::DateTime>
99 UpdateVariantStoreResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
107 template<typename UpdateTimeT = Aws::Utils::DateTime>
108 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
109 template<typename UpdateTimeT = Aws::Utils::DateTime>
110 UpdateVariantStoreResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
112
114
115 inline const Aws::String& GetRequestId() const { return m_requestId; }
116 template<typename RequestIdT = Aws::String>
117 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
118 template<typename RequestIdT = Aws::String>
119 UpdateVariantStoreResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
121 private:
122
123 Aws::String m_id;
124 bool m_idHasBeenSet = false;
125
126 ReferenceItem m_reference;
127 bool m_referenceHasBeenSet = false;
128
130 bool m_statusHasBeenSet = false;
131
132 Aws::String m_name;
133 bool m_nameHasBeenSet = false;
134
135 Aws::String m_description;
136 bool m_descriptionHasBeenSet = false;
137
138 Aws::Utils::DateTime m_creationTime{};
139 bool m_creationTimeHasBeenSet = false;
140
141 Aws::Utils::DateTime m_updateTime{};
142 bool m_updateTimeHasBeenSet = false;
143
144 Aws::String m_requestId;
145 bool m_requestIdHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace Omics
150} // 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