AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetApplicationResult.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/model/ApplicationStatus.h>
10#include <aws/opensearch/model/IamIdentityCenterOptions.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/opensearch/model/DataSource.h>
14#include <aws/opensearch/model/AppConfig.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace OpenSearchService
30{
31namespace Model
32{
34 {
35 public:
36 AWS_OPENSEARCHSERVICE_API GetApplicationResult() = default;
39
40
42
45 inline const Aws::String& GetId() const { return m_id; }
46 template<typename IdT = Aws::String>
47 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
48 template<typename IdT = Aws::String>
49 GetApplicationResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
51
53
54 inline const Aws::String& GetArn() const { return m_arn; }
55 template<typename ArnT = Aws::String>
56 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
57 template<typename ArnT = Aws::String>
58 GetApplicationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
60
62
65 inline const Aws::String& GetName() const { return m_name; }
66 template<typename NameT = Aws::String>
67 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
68 template<typename NameT = Aws::String>
69 GetApplicationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
71
73
76 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
77 template<typename EndpointT = Aws::String>
78 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
79 template<typename EndpointT = Aws::String>
80 GetApplicationResult& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
82
84
89 inline ApplicationStatus GetStatus() const { return m_status; }
90 inline void SetStatus(ApplicationStatus value) { m_statusHasBeenSet = true; m_status = value; }
91 inline GetApplicationResult& WithStatus(ApplicationStatus value) { SetStatus(value); return *this;}
93
95
99 inline const IamIdentityCenterOptions& GetIamIdentityCenterOptions() const { return m_iamIdentityCenterOptions; }
100 template<typename IamIdentityCenterOptionsT = IamIdentityCenterOptions>
101 void SetIamIdentityCenterOptions(IamIdentityCenterOptionsT&& value) { m_iamIdentityCenterOptionsHasBeenSet = true; m_iamIdentityCenterOptions = std::forward<IamIdentityCenterOptionsT>(value); }
102 template<typename IamIdentityCenterOptionsT = IamIdentityCenterOptions>
103 GetApplicationResult& WithIamIdentityCenterOptions(IamIdentityCenterOptionsT&& value) { SetIamIdentityCenterOptions(std::forward<IamIdentityCenterOptionsT>(value)); return *this;}
105
107
110 inline const Aws::Vector<DataSource>& GetDataSources() const { return m_dataSources; }
111 template<typename DataSourcesT = Aws::Vector<DataSource>>
112 void SetDataSources(DataSourcesT&& value) { m_dataSourcesHasBeenSet = true; m_dataSources = std::forward<DataSourcesT>(value); }
113 template<typename DataSourcesT = Aws::Vector<DataSource>>
114 GetApplicationResult& WithDataSources(DataSourcesT&& value) { SetDataSources(std::forward<DataSourcesT>(value)); return *this;}
115 template<typename DataSourcesT = DataSource>
116 GetApplicationResult& AddDataSources(DataSourcesT&& value) { m_dataSourcesHasBeenSet = true; m_dataSources.emplace_back(std::forward<DataSourcesT>(value)); return *this; }
118
120
123 inline const Aws::Vector<AppConfig>& GetAppConfigs() const { return m_appConfigs; }
124 template<typename AppConfigsT = Aws::Vector<AppConfig>>
125 void SetAppConfigs(AppConfigsT&& value) { m_appConfigsHasBeenSet = true; m_appConfigs = std::forward<AppConfigsT>(value); }
126 template<typename AppConfigsT = Aws::Vector<AppConfig>>
127 GetApplicationResult& WithAppConfigs(AppConfigsT&& value) { SetAppConfigs(std::forward<AppConfigsT>(value)); return *this;}
128 template<typename AppConfigsT = AppConfig>
129 GetApplicationResult& AddAppConfigs(AppConfigsT&& value) { m_appConfigsHasBeenSet = true; m_appConfigs.emplace_back(std::forward<AppConfigsT>(value)); return *this; }
131
133
136 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
137 template<typename CreatedAtT = Aws::Utils::DateTime>
138 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
139 template<typename CreatedAtT = Aws::Utils::DateTime>
140 GetApplicationResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
142
144
147 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
148 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
149 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
150 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
151 GetApplicationResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
153
155
156 inline const Aws::String& GetRequestId() const { return m_requestId; }
157 template<typename RequestIdT = Aws::String>
158 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
159 template<typename RequestIdT = Aws::String>
160 GetApplicationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
162 private:
163
164 Aws::String m_id;
165 bool m_idHasBeenSet = false;
166
167 Aws::String m_arn;
168 bool m_arnHasBeenSet = false;
169
170 Aws::String m_name;
171 bool m_nameHasBeenSet = false;
172
173 Aws::String m_endpoint;
174 bool m_endpointHasBeenSet = false;
175
177 bool m_statusHasBeenSet = false;
178
179 IamIdentityCenterOptions m_iamIdentityCenterOptions;
180 bool m_iamIdentityCenterOptionsHasBeenSet = false;
181
182 Aws::Vector<DataSource> m_dataSources;
183 bool m_dataSourcesHasBeenSet = false;
184
185 Aws::Vector<AppConfig> m_appConfigs;
186 bool m_appConfigsHasBeenSet = false;
187
188 Aws::Utils::DateTime m_createdAt{};
189 bool m_createdAtHasBeenSet = false;
190
191 Aws::Utils::DateTime m_lastUpdatedAt{};
192 bool m_lastUpdatedAtHasBeenSet = false;
193
194 Aws::String m_requestId;
195 bool m_requestIdHasBeenSet = false;
196 };
197
198} // namespace Model
199} // namespace OpenSearchService
200} // namespace Aws
GetApplicationResult & WithCreatedAt(CreatedAtT &&value)
const IamIdentityCenterOptions & GetIamIdentityCenterOptions() const
GetApplicationResult & WithDataSources(DataSourcesT &&value)
AWS_OPENSEARCHSERVICE_API GetApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApplicationResult & WithEndpoint(EndpointT &&value)
GetApplicationResult & AddDataSources(DataSourcesT &&value)
GetApplicationResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< DataSource > & GetDataSources() const
GetApplicationResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
void SetIamIdentityCenterOptions(IamIdentityCenterOptionsT &&value)
AWS_OPENSEARCHSERVICE_API GetApplicationResult()=default
GetApplicationResult & WithAppConfigs(AppConfigsT &&value)
GetApplicationResult & WithStatus(ApplicationStatus value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
AWS_OPENSEARCHSERVICE_API GetApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApplicationResult & WithIamIdentityCenterOptions(IamIdentityCenterOptionsT &&value)
GetApplicationResult & AddAppConfigs(AppConfigsT &&value)
const Aws::Vector< AppConfig > & GetAppConfigs() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue