AWS SDK for C++

AWS SDK for C++ Version 1.11.820

Loading...
Searching...
No Matches
UpdateDependencyResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
11#include <aws/resiliencehubv2/model/DependencyCriticality.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 resiliencehubv2 {
25namespace Model {
27 public:
28 AWS_RESILIENCEHUBV2_API UpdateDependencyResult() = default;
31
33
36 inline const Aws::String& GetDependencyId() const { return m_dependencyId; }
37 template <typename DependencyIdT = Aws::String>
38 void SetDependencyId(DependencyIdT&& value) {
39 m_dependencyIdHasBeenSet = true;
40 m_dependencyId = std::forward<DependencyIdT>(value);
41 }
42 template <typename DependencyIdT = Aws::String>
43 UpdateDependencyResult& WithDependencyId(DependencyIdT&& value) {
44 SetDependencyId(std::forward<DependencyIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDependencyName() const { return m_dependencyName; }
54 template <typename DependencyNameT = Aws::String>
55 void SetDependencyName(DependencyNameT&& value) {
56 m_dependencyNameHasBeenSet = true;
57 m_dependencyName = std::forward<DependencyNameT>(value);
58 }
59 template <typename DependencyNameT = Aws::String>
60 UpdateDependencyResult& WithDependencyName(DependencyNameT&& value) {
61 SetDependencyName(std::forward<DependencyNameT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetLocation() const { return m_location; }
71 template <typename LocationT = Aws::String>
72 void SetLocation(LocationT&& value) {
73 m_locationHasBeenSet = true;
74 m_location = std::forward<LocationT>(value);
75 }
76 template <typename LocationT = Aws::String>
78 SetLocation(std::forward<LocationT>(value));
79 return *this;
80 }
82
84
87 inline DependencyCriticality GetCriticality() const { return m_criticality; }
89 m_criticalityHasBeenSet = true;
90 m_criticality = value;
91 }
93 SetCriticality(value);
94 return *this;
95 }
97
99
102 inline const Aws::String& GetComment() const { return m_comment; }
103 template <typename CommentT = Aws::String>
104 void SetComment(CommentT&& value) {
105 m_commentHasBeenSet = true;
106 m_comment = std::forward<CommentT>(value);
107 }
108 template <typename CommentT = Aws::String>
110 SetComment(std::forward<CommentT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::String& GetProvider() const { return m_provider; }
120 template <typename ProviderT = Aws::String>
121 void SetProvider(ProviderT&& value) {
122 m_providerHasBeenSet = true;
123 m_provider = std::forward<ProviderT>(value);
124 }
125 template <typename ProviderT = Aws::String>
127 SetProvider(std::forward<ProviderT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
137 template <typename UpdatedAtT = Aws::Utils::DateTime>
138 void SetUpdatedAt(UpdatedAtT&& value) {
139 m_updatedAtHasBeenSet = true;
140 m_updatedAt = std::forward<UpdatedAtT>(value);
141 }
142 template <typename UpdatedAtT = Aws::Utils::DateTime>
144 SetUpdatedAt(std::forward<UpdatedAtT>(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 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
164
165 private:
166 Aws::String m_dependencyId;
167
168 Aws::String m_dependencyName;
169
170 Aws::String m_location;
171
173
174 Aws::String m_comment;
175
176 Aws::String m_provider;
177
178 Aws::Utils::DateTime m_updatedAt{};
179
180 Aws::String m_requestId;
181 Aws::Http::HttpResponseCode m_HttpResponseCode;
182 bool m_dependencyIdHasBeenSet = false;
183 bool m_dependencyNameHasBeenSet = false;
184 bool m_locationHasBeenSet = false;
185 bool m_criticalityHasBeenSet = false;
186 bool m_commentHasBeenSet = false;
187 bool m_providerHasBeenSet = false;
188 bool m_updatedAtHasBeenSet = false;
189 bool m_requestIdHasBeenSet = false;
190};
191
192} // namespace Model
193} // namespace resiliencehubv2
194} // namespace Aws
UpdateDependencyResult & WithComment(CommentT &&value)
AWS_RESILIENCEHUBV2_API UpdateDependencyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDependencyResult & WithRequestId(RequestIdT &&value)
AWS_RESILIENCEHUBV2_API UpdateDependencyResult()=default
UpdateDependencyResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_RESILIENCEHUBV2_API UpdateDependencyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDependencyResult & WithDependencyName(DependencyNameT &&value)
UpdateDependencyResult & WithDependencyId(DependencyIdT &&value)
UpdateDependencyResult & WithLocation(LocationT &&value)
UpdateDependencyResult & WithProvider(ProviderT &&value)
UpdateDependencyResult & WithCriticality(DependencyCriticality value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue