AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
UpdateApplicationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/opensearch/OpenSearchService_EXPORTS.h>
11#include <aws/opensearch/model/AppConfig.h>
12#include <aws/opensearch/model/DataSource.h>
13#include <aws/opensearch/model/IamIdentityCenterOptions.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace OpenSearchService {
27namespace Model {
29 public:
30 AWS_OPENSEARCHSERVICE_API UpdateApplicationResult() = default;
33
35
38 inline const Aws::String& GetId() const { return m_id; }
39 template <typename IdT = Aws::String>
40 void SetId(IdT&& value) {
41 m_idHasBeenSet = true;
42 m_id = std::forward<IdT>(value);
43 }
44 template <typename IdT = Aws::String>
46 SetId(std::forward<IdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 template <typename NameT = Aws::String>
57 void SetName(NameT&& value) {
58 m_nameHasBeenSet = true;
59 m_name = std::forward<NameT>(value);
60 }
61 template <typename NameT = Aws::String>
63 SetName(std::forward<NameT>(value));
64 return *this;
65 }
67
69
70 inline const Aws::String& GetArn() const { return m_arn; }
71 template <typename ArnT = Aws::String>
72 void SetArn(ArnT&& value) {
73 m_arnHasBeenSet = true;
74 m_arn = std::forward<ArnT>(value);
75 }
76 template <typename ArnT = Aws::String>
78 SetArn(std::forward<ArnT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::Vector<DataSource>& GetDataSources() const { return m_dataSources; }
88 template <typename DataSourcesT = Aws::Vector<DataSource>>
89 void SetDataSources(DataSourcesT&& value) {
90 m_dataSourcesHasBeenSet = true;
91 m_dataSources = std::forward<DataSourcesT>(value);
92 }
93 template <typename DataSourcesT = Aws::Vector<DataSource>>
95 SetDataSources(std::forward<DataSourcesT>(value));
96 return *this;
97 }
98 template <typename DataSourcesT = DataSource>
99 UpdateApplicationResult& AddDataSources(DataSourcesT&& value) {
100 m_dataSourcesHasBeenSet = true;
101 m_dataSources.emplace_back(std::forward<DataSourcesT>(value));
102 return *this;
103 }
105
107
111 inline const IamIdentityCenterOptions& GetIamIdentityCenterOptions() const { return m_iamIdentityCenterOptions; }
112 template <typename IamIdentityCenterOptionsT = IamIdentityCenterOptions>
113 void SetIamIdentityCenterOptions(IamIdentityCenterOptionsT&& value) {
114 m_iamIdentityCenterOptionsHasBeenSet = true;
115 m_iamIdentityCenterOptions = std::forward<IamIdentityCenterOptionsT>(value);
116 }
117 template <typename IamIdentityCenterOptionsT = IamIdentityCenterOptions>
118 UpdateApplicationResult& WithIamIdentityCenterOptions(IamIdentityCenterOptionsT&& value) {
119 SetIamIdentityCenterOptions(std::forward<IamIdentityCenterOptionsT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::Vector<AppConfig>& GetAppConfigs() const { return m_appConfigs; }
129 template <typename AppConfigsT = Aws::Vector<AppConfig>>
130 void SetAppConfigs(AppConfigsT&& value) {
131 m_appConfigsHasBeenSet = true;
132 m_appConfigs = std::forward<AppConfigsT>(value);
133 }
134 template <typename AppConfigsT = Aws::Vector<AppConfig>>
136 SetAppConfigs(std::forward<AppConfigsT>(value));
137 return *this;
138 }
139 template <typename AppConfigsT = AppConfig>
141 m_appConfigsHasBeenSet = true;
142 m_appConfigs.emplace_back(std::forward<AppConfigsT>(value));
143 return *this;
144 }
146
148
151 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
152 template <typename CreatedAtT = Aws::Utils::DateTime>
153 void SetCreatedAt(CreatedAtT&& value) {
154 m_createdAtHasBeenSet = true;
155 m_createdAt = std::forward<CreatedAtT>(value);
156 }
157 template <typename CreatedAtT = Aws::Utils::DateTime>
159 SetCreatedAt(std::forward<CreatedAtT>(value));
160 return *this;
161 }
163
165
168 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
169 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
170 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
171 m_lastUpdatedAtHasBeenSet = true;
172 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
173 }
174 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
176 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
177 return *this;
178 }
180
182
183 inline const Aws::String& GetRequestId() const { return m_requestId; }
184 template <typename RequestIdT = Aws::String>
185 void SetRequestId(RequestIdT&& value) {
186 m_requestIdHasBeenSet = true;
187 m_requestId = std::forward<RequestIdT>(value);
188 }
189 template <typename RequestIdT = Aws::String>
191 SetRequestId(std::forward<RequestIdT>(value));
192 return *this;
193 }
195 private:
196 Aws::String m_id;
197
198 Aws::String m_name;
199
200 Aws::String m_arn;
201
202 Aws::Vector<DataSource> m_dataSources;
203
204 IamIdentityCenterOptions m_iamIdentityCenterOptions;
205
206 Aws::Vector<AppConfig> m_appConfigs;
207
208 Aws::Utils::DateTime m_createdAt{};
209
210 Aws::Utils::DateTime m_lastUpdatedAt{};
211
212 Aws::String m_requestId;
213 bool m_idHasBeenSet = false;
214 bool m_nameHasBeenSet = false;
215 bool m_arnHasBeenSet = false;
216 bool m_dataSourcesHasBeenSet = false;
217 bool m_iamIdentityCenterOptionsHasBeenSet = false;
218 bool m_appConfigsHasBeenSet = false;
219 bool m_createdAtHasBeenSet = false;
220 bool m_lastUpdatedAtHasBeenSet = false;
221 bool m_requestIdHasBeenSet = false;
222};
223
224} // namespace Model
225} // namespace OpenSearchService
226} // namespace Aws
UpdateApplicationResult & AddAppConfigs(AppConfigsT &&value)
UpdateApplicationResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
const IamIdentityCenterOptions & GetIamIdentityCenterOptions() const
UpdateApplicationResult & AddDataSources(DataSourcesT &&value)
UpdateApplicationResult & WithRequestId(RequestIdT &&value)
AWS_OPENSEARCHSERVICE_API UpdateApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateApplicationResult & WithAppConfigs(AppConfigsT &&value)
void SetIamIdentityCenterOptions(IamIdentityCenterOptionsT &&value)
UpdateApplicationResult & WithDataSources(DataSourcesT &&value)
UpdateApplicationResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Vector< DataSource > & GetDataSources() const
AWS_OPENSEARCHSERVICE_API UpdateApplicationResult()=default
AWS_OPENSEARCHSERVICE_API UpdateApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateApplicationResult & WithIamIdentityCenterOptions(IamIdentityCenterOptionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue