AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::String& GetId() const{ return m_id; }
46 inline void SetId(const Aws::String& value) { m_id = value; }
47 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
48 inline void SetId(const char* value) { m_id.assign(value); }
49 inline GetApplicationResult& WithId(const Aws::String& value) { SetId(value); return *this;}
50 inline GetApplicationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
51 inline GetApplicationResult& WithId(const char* value) { SetId(value); return *this;}
53
55
56 inline const Aws::String& GetArn() const{ return m_arn; }
57 inline void SetArn(const Aws::String& value) { m_arn = value; }
58 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
59 inline void SetArn(const char* value) { m_arn.assign(value); }
60 inline GetApplicationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
61 inline GetApplicationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
62 inline GetApplicationResult& WithArn(const char* value) { SetArn(value); return *this;}
64
66
69 inline const Aws::String& GetName() const{ return m_name; }
70 inline void SetName(const Aws::String& value) { m_name = value; }
71 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
72 inline void SetName(const char* value) { m_name.assign(value); }
73 inline GetApplicationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
74 inline GetApplicationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 inline GetApplicationResult& WithName(const char* value) { SetName(value); return *this;}
77
79
82 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
83 inline void SetEndpoint(const Aws::String& value) { m_endpoint = value; }
84 inline void SetEndpoint(Aws::String&& value) { m_endpoint = std::move(value); }
85 inline void SetEndpoint(const char* value) { m_endpoint.assign(value); }
86 inline GetApplicationResult& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
87 inline GetApplicationResult& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
88 inline GetApplicationResult& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
90
92
97 inline const ApplicationStatus& GetStatus() const{ return m_status; }
98 inline void SetStatus(const ApplicationStatus& value) { m_status = value; }
99 inline void SetStatus(ApplicationStatus&& value) { m_status = std::move(value); }
100 inline GetApplicationResult& WithStatus(const ApplicationStatus& value) { SetStatus(value); return *this;}
101 inline GetApplicationResult& WithStatus(ApplicationStatus&& value) { SetStatus(std::move(value)); return *this;}
103
105
108 inline const IamIdentityCenterOptions& GetIamIdentityCenterOptions() const{ return m_iamIdentityCenterOptions; }
109 inline void SetIamIdentityCenterOptions(const IamIdentityCenterOptions& value) { m_iamIdentityCenterOptions = value; }
110 inline void SetIamIdentityCenterOptions(IamIdentityCenterOptions&& value) { m_iamIdentityCenterOptions = std::move(value); }
114
116
119 inline const Aws::Vector<DataSource>& GetDataSources() const{ return m_dataSources; }
120 inline void SetDataSources(const Aws::Vector<DataSource>& value) { m_dataSources = value; }
121 inline void SetDataSources(Aws::Vector<DataSource>&& value) { m_dataSources = std::move(value); }
122 inline GetApplicationResult& WithDataSources(const Aws::Vector<DataSource>& value) { SetDataSources(value); return *this;}
123 inline GetApplicationResult& WithDataSources(Aws::Vector<DataSource>&& value) { SetDataSources(std::move(value)); return *this;}
124 inline GetApplicationResult& AddDataSources(const DataSource& value) { m_dataSources.push_back(value); return *this; }
125 inline GetApplicationResult& AddDataSources(DataSource&& value) { m_dataSources.push_back(std::move(value)); return *this; }
127
129
132 inline const Aws::Vector<AppConfig>& GetAppConfigs() const{ return m_appConfigs; }
133 inline void SetAppConfigs(const Aws::Vector<AppConfig>& value) { m_appConfigs = value; }
134 inline void SetAppConfigs(Aws::Vector<AppConfig>&& value) { m_appConfigs = std::move(value); }
135 inline GetApplicationResult& WithAppConfigs(const Aws::Vector<AppConfig>& value) { SetAppConfigs(value); return *this;}
136 inline GetApplicationResult& WithAppConfigs(Aws::Vector<AppConfig>&& value) { SetAppConfigs(std::move(value)); return *this;}
137 inline GetApplicationResult& AddAppConfigs(const AppConfig& value) { m_appConfigs.push_back(value); return *this; }
138 inline GetApplicationResult& AddAppConfigs(AppConfig&& value) { m_appConfigs.push_back(std::move(value)); return *this; }
140
142
145 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
146 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
147 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
148 inline GetApplicationResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
149 inline GetApplicationResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
151
153
156 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
157 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
158 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
160 inline GetApplicationResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
162
164
165 inline const Aws::String& GetRequestId() const{ return m_requestId; }
166 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
167 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
168 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
169 inline GetApplicationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
170 inline GetApplicationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
171 inline GetApplicationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
173 private:
174
175 Aws::String m_id;
176
177 Aws::String m_arn;
178
179 Aws::String m_name;
180
181 Aws::String m_endpoint;
182
183 ApplicationStatus m_status;
184
185 IamIdentityCenterOptions m_iamIdentityCenterOptions;
186
187 Aws::Vector<DataSource> m_dataSources;
188
189 Aws::Vector<AppConfig> m_appConfigs;
190
191 Aws::Utils::DateTime m_createdAt;
192
193 Aws::Utils::DateTime m_lastUpdatedAt;
194
195 Aws::String m_requestId;
196 };
197
198} // namespace Model
199} // namespace OpenSearchService
200} // namespace Aws
GetApplicationResult & WithRequestId(Aws::String &&value)
GetApplicationResult & WithName(const Aws::String &value)
const IamIdentityCenterOptions & GetIamIdentityCenterOptions() const
AWS_OPENSEARCHSERVICE_API GetApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
GetApplicationResult & WithName(const char *value)
void SetIamIdentityCenterOptions(const IamIdentityCenterOptions &value)
GetApplicationResult & AddDataSources(DataSource &&value)
const Aws::Vector< DataSource > & GetDataSources() const
GetApplicationResult & WithStatus(ApplicationStatus &&value)
GetApplicationResult & WithArn(const char *value)
GetApplicationResult & AddAppConfigs(AppConfig &&value)
GetApplicationResult & AddDataSources(const DataSource &value)
GetApplicationResult & WithAppConfigs(const Aws::Vector< AppConfig > &value)
GetApplicationResult & WithName(Aws::String &&value)
GetApplicationResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetDataSources(const Aws::Vector< DataSource > &value)
GetApplicationResult & WithEndpoint(const Aws::String &value)
GetApplicationResult & WithArn(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
AWS_OPENSEARCHSERVICE_API GetApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApplicationResult & WithStatus(const ApplicationStatus &value)
GetApplicationResult & WithIamIdentityCenterOptions(IamIdentityCenterOptions &&value)
GetApplicationResult & WithIamIdentityCenterOptions(const IamIdentityCenterOptions &value)
GetApplicationResult & WithId(const Aws::String &value)
GetApplicationResult & WithId(const char *value)
GetApplicationResult & AddAppConfigs(const AppConfig &value)
void SetIamIdentityCenterOptions(IamIdentityCenterOptions &&value)
GetApplicationResult & WithEndpoint(const char *value)
GetApplicationResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetApplicationResult & WithDataSources(Aws::Vector< DataSource > &&value)
GetApplicationResult & WithDataSources(const Aws::Vector< DataSource > &value)
GetApplicationResult & WithAppConfigs(Aws::Vector< AppConfig > &&value)
GetApplicationResult & WithArn(Aws::String &&value)
GetApplicationResult & WithId(Aws::String &&value)
GetApplicationResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetDataSources(Aws::Vector< DataSource > &&value)
GetApplicationResult & WithRequestId(const char *value)
const Aws::Vector< AppConfig > & GetAppConfigs() const
GetApplicationResult & WithRequestId(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetAppConfigs(const Aws::Vector< AppConfig > &value)
void SetAppConfigs(Aws::Vector< AppConfig > &&value)
GetApplicationResult & WithEndpoint(Aws::String &&value)
GetApplicationResult & WithLastUpdatedAt(Aws::Utils::DateTime &&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