AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38
39
41
44 inline const Aws::String& GetId() const{ return m_id; }
45 inline void SetId(const Aws::String& value) { m_id = value; }
46 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
47 inline void SetId(const char* value) { m_id.assign(value); }
48 inline UpdateApplicationResult& WithId(const Aws::String& value) { SetId(value); return *this;}
49 inline UpdateApplicationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
50 inline UpdateApplicationResult& WithId(const char* value) { SetId(value); return *this;}
52
54
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline void SetName(const Aws::String& value) { m_name = value; }
59 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
60 inline void SetName(const char* value) { m_name.assign(value); }
61 inline UpdateApplicationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline UpdateApplicationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline UpdateApplicationResult& WithName(const char* value) { SetName(value); return *this;}
65
67
68 inline const Aws::String& GetArn() const{ return m_arn; }
69 inline void SetArn(const Aws::String& value) { m_arn = value; }
70 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
71 inline void SetArn(const char* value) { m_arn.assign(value); }
72 inline UpdateApplicationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
73 inline UpdateApplicationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
74 inline UpdateApplicationResult& WithArn(const char* value) { SetArn(value); return *this;}
76
78
81 inline const Aws::Vector<DataSource>& GetDataSources() const{ return m_dataSources; }
82 inline void SetDataSources(const Aws::Vector<DataSource>& value) { m_dataSources = value; }
83 inline void SetDataSources(Aws::Vector<DataSource>&& value) { m_dataSources = std::move(value); }
85 inline UpdateApplicationResult& WithDataSources(Aws::Vector<DataSource>&& value) { SetDataSources(std::move(value)); return *this;}
86 inline UpdateApplicationResult& AddDataSources(const DataSource& value) { m_dataSources.push_back(value); return *this; }
87 inline UpdateApplicationResult& AddDataSources(DataSource&& value) { m_dataSources.push_back(std::move(value)); return *this; }
89
91
94 inline const IamIdentityCenterOptions& GetIamIdentityCenterOptions() const{ return m_iamIdentityCenterOptions; }
95 inline void SetIamIdentityCenterOptions(const IamIdentityCenterOptions& value) { m_iamIdentityCenterOptions = value; }
96 inline void SetIamIdentityCenterOptions(IamIdentityCenterOptions&& value) { m_iamIdentityCenterOptions = std::move(value); }
100
102
105 inline const Aws::Vector<AppConfig>& GetAppConfigs() const{ return m_appConfigs; }
106 inline void SetAppConfigs(const Aws::Vector<AppConfig>& value) { m_appConfigs = value; }
107 inline void SetAppConfigs(Aws::Vector<AppConfig>&& value) { m_appConfigs = std::move(value); }
108 inline UpdateApplicationResult& WithAppConfigs(const Aws::Vector<AppConfig>& value) { SetAppConfigs(value); return *this;}
109 inline UpdateApplicationResult& WithAppConfigs(Aws::Vector<AppConfig>&& value) { SetAppConfigs(std::move(value)); return *this;}
110 inline UpdateApplicationResult& AddAppConfigs(const AppConfig& value) { m_appConfigs.push_back(value); return *this; }
111 inline UpdateApplicationResult& AddAppConfigs(AppConfig&& value) { m_appConfigs.push_back(std::move(value)); return *this; }
113
115
118 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
119 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
120 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
121 inline UpdateApplicationResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
122 inline UpdateApplicationResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
124
126
129 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
130 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
131 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
133 inline UpdateApplicationResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
135
137
138 inline const Aws::String& GetRequestId() const{ return m_requestId; }
139 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
140 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
141 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
142 inline UpdateApplicationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
143 inline UpdateApplicationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
144 inline UpdateApplicationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
146 private:
147
148 Aws::String m_id;
149
150 Aws::String m_name;
151
152 Aws::String m_arn;
153
154 Aws::Vector<DataSource> m_dataSources;
155
156 IamIdentityCenterOptions m_iamIdentityCenterOptions;
157
158 Aws::Vector<AppConfig> m_appConfigs;
159
160 Aws::Utils::DateTime m_createdAt;
161
162 Aws::Utils::DateTime m_lastUpdatedAt;
163
164 Aws::String m_requestId;
165 };
166
167} // namespace Model
168} // namespace OpenSearchService
169} // namespace Aws
UpdateApplicationResult & WithName(const char *value)
UpdateApplicationResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
UpdateApplicationResult & WithRequestId(Aws::String &&value)
UpdateApplicationResult & WithIamIdentityCenterOptions(IamIdentityCenterOptions &&value)
void SetAppConfigs(const Aws::Vector< AppConfig > &value)
UpdateApplicationResult & AddAppConfigs(AppConfig &&value)
UpdateApplicationResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
UpdateApplicationResult & WithCreatedAt(Aws::Utils::DateTime &&value)
UpdateApplicationResult & WithIamIdentityCenterOptions(const IamIdentityCenterOptions &value)
UpdateApplicationResult & WithRequestId(const char *value)
const IamIdentityCenterOptions & GetIamIdentityCenterOptions() const
UpdateApplicationResult & WithDataSources(const Aws::Vector< DataSource > &value)
UpdateApplicationResult & WithRequestId(const Aws::String &value)
UpdateApplicationResult & WithArn(Aws::String &&value)
UpdateApplicationResult & WithCreatedAt(const Aws::Utils::DateTime &value)
UpdateApplicationResult & WithAppConfigs(const Aws::Vector< AppConfig > &value)
AWS_OPENSEARCHSERVICE_API UpdateApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateApplicationResult & WithDataSources(Aws::Vector< DataSource > &&value)
UpdateApplicationResult & AddAppConfigs(const AppConfig &value)
UpdateApplicationResult & WithName(const Aws::String &value)
UpdateApplicationResult & WithId(const char *value)
UpdateApplicationResult & WithAppConfigs(Aws::Vector< AppConfig > &&value)
UpdateApplicationResult & WithName(Aws::String &&value)
UpdateApplicationResult & WithArn(const char *value)
UpdateApplicationResult & AddDataSources(const DataSource &value)
UpdateApplicationResult & WithId(Aws::String &&value)
UpdateApplicationResult & WithId(const Aws::String &value)
void SetIamIdentityCenterOptions(IamIdentityCenterOptions &&value)
UpdateApplicationResult & WithArn(const Aws::String &value)
const Aws::Vector< DataSource > & GetDataSources() const
void SetIamIdentityCenterOptions(const IamIdentityCenterOptions &value)
AWS_OPENSEARCHSERVICE_API UpdateApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDataSources(const Aws::Vector< DataSource > &value)
UpdateApplicationResult & AddDataSources(DataSource &&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