AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateApplicationResult.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/opensearch/model/IamIdentityCenterOptions.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/opensearch/model/DataSource.h>
13#include <aws/opensearch/model/AppConfig.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace OpenSearchService
29{
30namespace Model
31{
33 {
34 public:
35 AWS_OPENSEARCHSERVICE_API UpdateApplicationResult() = default;
38
39
41
44 inline const Aws::String& GetId() const { return m_id; }
45 template<typename IdT = Aws::String>
46 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
47 template<typename IdT = Aws::String>
48 UpdateApplicationResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 template<typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
58 template<typename NameT = Aws::String>
59 UpdateApplicationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
61
63
64 inline const Aws::String& GetArn() const { return m_arn; }
65 template<typename ArnT = Aws::String>
66 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
67 template<typename ArnT = Aws::String>
68 UpdateApplicationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
70
72
75 inline const Aws::Vector<DataSource>& GetDataSources() const { return m_dataSources; }
76 template<typename DataSourcesT = Aws::Vector<DataSource>>
77 void SetDataSources(DataSourcesT&& value) { m_dataSourcesHasBeenSet = true; m_dataSources = std::forward<DataSourcesT>(value); }
78 template<typename DataSourcesT = Aws::Vector<DataSource>>
79 UpdateApplicationResult& WithDataSources(DataSourcesT&& value) { SetDataSources(std::forward<DataSourcesT>(value)); return *this;}
80 template<typename DataSourcesT = DataSource>
81 UpdateApplicationResult& AddDataSources(DataSourcesT&& value) { m_dataSourcesHasBeenSet = true; m_dataSources.emplace_back(std::forward<DataSourcesT>(value)); return *this; }
83
85
89 inline const IamIdentityCenterOptions& GetIamIdentityCenterOptions() const { return m_iamIdentityCenterOptions; }
90 template<typename IamIdentityCenterOptionsT = IamIdentityCenterOptions>
91 void SetIamIdentityCenterOptions(IamIdentityCenterOptionsT&& value) { m_iamIdentityCenterOptionsHasBeenSet = true; m_iamIdentityCenterOptions = std::forward<IamIdentityCenterOptionsT>(value); }
92 template<typename IamIdentityCenterOptionsT = IamIdentityCenterOptions>
93 UpdateApplicationResult& WithIamIdentityCenterOptions(IamIdentityCenterOptionsT&& value) { SetIamIdentityCenterOptions(std::forward<IamIdentityCenterOptionsT>(value)); return *this;}
95
97
100 inline const Aws::Vector<AppConfig>& GetAppConfigs() const { return m_appConfigs; }
101 template<typename AppConfigsT = Aws::Vector<AppConfig>>
102 void SetAppConfigs(AppConfigsT&& value) { m_appConfigsHasBeenSet = true; m_appConfigs = std::forward<AppConfigsT>(value); }
103 template<typename AppConfigsT = Aws::Vector<AppConfig>>
104 UpdateApplicationResult& WithAppConfigs(AppConfigsT&& value) { SetAppConfigs(std::forward<AppConfigsT>(value)); return *this;}
105 template<typename AppConfigsT = AppConfig>
106 UpdateApplicationResult& AddAppConfigs(AppConfigsT&& value) { m_appConfigsHasBeenSet = true; m_appConfigs.emplace_back(std::forward<AppConfigsT>(value)); return *this; }
108
110
113 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
114 template<typename CreatedAtT = Aws::Utils::DateTime>
115 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
116 template<typename CreatedAtT = Aws::Utils::DateTime>
117 UpdateApplicationResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
119
121
124 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
125 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
126 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
127 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
128 UpdateApplicationResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
130
132
133 inline const Aws::String& GetRequestId() const { return m_requestId; }
134 template<typename RequestIdT = Aws::String>
135 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
136 template<typename RequestIdT = Aws::String>
137 UpdateApplicationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
139 private:
140
141 Aws::String m_id;
142 bool m_idHasBeenSet = false;
143
144 Aws::String m_name;
145 bool m_nameHasBeenSet = false;
146
147 Aws::String m_arn;
148 bool m_arnHasBeenSet = false;
149
150 Aws::Vector<DataSource> m_dataSources;
151 bool m_dataSourcesHasBeenSet = false;
152
153 IamIdentityCenterOptions m_iamIdentityCenterOptions;
154 bool m_iamIdentityCenterOptionsHasBeenSet = false;
155
156 Aws::Vector<AppConfig> m_appConfigs;
157 bool m_appConfigsHasBeenSet = false;
158
159 Aws::Utils::DateTime m_createdAt{};
160 bool m_createdAtHasBeenSet = false;
161
162 Aws::Utils::DateTime m_lastUpdatedAt{};
163 bool m_lastUpdatedAtHasBeenSet = false;
164
165 Aws::String m_requestId;
166 bool m_requestIdHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace OpenSearchService
171} // 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