AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetMetadataGenerationRunResult.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/MetadataGenerationRunStatus.h>
11#include <aws/datazone/model/MetadataGenerationRunTarget.h>
12#include <aws/datazone/model/MetadataGenerationRunType.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DataZone
28{
29namespace Model
30{
32 {
33 public:
34 AWS_DATAZONE_API GetMetadataGenerationRunResult() = default;
37
38
40
43 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
44 template<typename CreatedAtT = Aws::Utils::DateTime>
45 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
46 template<typename CreatedAtT = Aws::Utils::DateTime>
47 GetMetadataGenerationRunResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
49
51
54 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
55 template<typename CreatedByT = Aws::String>
56 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
57 template<typename CreatedByT = Aws::String>
58 GetMetadataGenerationRunResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
60
62
66 inline const Aws::String& GetDomainId() const { return m_domainId; }
67 template<typename DomainIdT = Aws::String>
68 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
69 template<typename DomainIdT = Aws::String>
70 GetMetadataGenerationRunResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
72
74
77 inline const Aws::String& GetId() const { return m_id; }
78 template<typename IdT = Aws::String>
79 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
80 template<typename IdT = Aws::String>
81 GetMetadataGenerationRunResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
83
85
89 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
90 template<typename OwningProjectIdT = Aws::String>
91 void SetOwningProjectId(OwningProjectIdT&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::forward<OwningProjectIdT>(value); }
92 template<typename OwningProjectIdT = Aws::String>
93 GetMetadataGenerationRunResult& WithOwningProjectId(OwningProjectIdT&& value) { SetOwningProjectId(std::forward<OwningProjectIdT>(value)); return *this;}
95
97
100 inline MetadataGenerationRunStatus GetStatus() const { return m_status; }
101 inline void SetStatus(MetadataGenerationRunStatus value) { m_statusHasBeenSet = true; m_status = value; }
104
106
109 inline const MetadataGenerationRunTarget& GetTarget() const { return m_target; }
110 template<typename TargetT = MetadataGenerationRunTarget>
111 void SetTarget(TargetT&& value) { m_targetHasBeenSet = true; m_target = std::forward<TargetT>(value); }
112 template<typename TargetT = MetadataGenerationRunTarget>
113 GetMetadataGenerationRunResult& WithTarget(TargetT&& value) { SetTarget(std::forward<TargetT>(value)); return *this;}
115
117
120 inline MetadataGenerationRunType GetType() const { return m_type; }
121 inline void SetType(MetadataGenerationRunType value) { m_typeHasBeenSet = true; m_type = value; }
124
126
127 inline const Aws::String& GetRequestId() const { return m_requestId; }
128 template<typename RequestIdT = Aws::String>
129 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
130 template<typename RequestIdT = Aws::String>
131 GetMetadataGenerationRunResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
133 private:
134
135 Aws::Utils::DateTime m_createdAt{};
136 bool m_createdAtHasBeenSet = false;
137
138 Aws::String m_createdBy;
139 bool m_createdByHasBeenSet = false;
140
141 Aws::String m_domainId;
142 bool m_domainIdHasBeenSet = false;
143
144 Aws::String m_id;
145 bool m_idHasBeenSet = false;
146
147 Aws::String m_owningProjectId;
148 bool m_owningProjectIdHasBeenSet = false;
149
151 bool m_statusHasBeenSet = false;
152
153 MetadataGenerationRunTarget m_target;
154 bool m_targetHasBeenSet = false;
155
157 bool m_typeHasBeenSet = false;
158
159 Aws::String m_requestId;
160 bool m_requestIdHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace DataZone
165} // namespace Aws
GetMetadataGenerationRunResult & WithType(MetadataGenerationRunType value)
GetMetadataGenerationRunResult & WithStatus(MetadataGenerationRunStatus value)
GetMetadataGenerationRunResult & WithOwningProjectId(OwningProjectIdT &&value)
GetMetadataGenerationRunResult & WithRequestId(RequestIdT &&value)
GetMetadataGenerationRunResult & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API GetMetadataGenerationRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API GetMetadataGenerationRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API GetMetadataGenerationRunResult()=default
GetMetadataGenerationRunResult & WithTarget(TargetT &&value)
GetMetadataGenerationRunResult & WithCreatedAt(CreatedAtT &&value)
GetMetadataGenerationRunResult & WithCreatedBy(CreatedByT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue