AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateApplicationResult.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 <aws/opensearch/model/Tag.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 CreateApplicationResult();
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 CreateApplicationResult& WithId(const Aws::String& value) { SetId(value); return *this;}
50 inline CreateApplicationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
51 inline CreateApplicationResult& WithId(const char* value) { SetId(value); return *this;}
53
55
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline void SetName(const Aws::String& value) { m_name = value; }
60 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
61 inline void SetName(const char* value) { m_name.assign(value); }
62 inline CreateApplicationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline CreateApplicationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline CreateApplicationResult& WithName(const char* value) { SetName(value); return *this;}
66
68
69 inline const Aws::String& GetArn() const{ return m_arn; }
70 inline void SetArn(const Aws::String& value) { m_arn = value; }
71 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
72 inline void SetArn(const char* value) { m_arn.assign(value); }
73 inline CreateApplicationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
74 inline CreateApplicationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
75 inline CreateApplicationResult& WithArn(const char* value) { SetArn(value); return *this;}
77
79
82 inline const Aws::Vector<DataSource>& GetDataSources() const{ return m_dataSources; }
83 inline void SetDataSources(const Aws::Vector<DataSource>& value) { m_dataSources = value; }
84 inline void SetDataSources(Aws::Vector<DataSource>&& value) { m_dataSources = std::move(value); }
86 inline CreateApplicationResult& WithDataSources(Aws::Vector<DataSource>&& value) { SetDataSources(std::move(value)); return *this;}
87 inline CreateApplicationResult& AddDataSources(const DataSource& value) { m_dataSources.push_back(value); return *this; }
88 inline CreateApplicationResult& AddDataSources(DataSource&& value) { m_dataSources.push_back(std::move(value)); return *this; }
90
92
95 inline const IamIdentityCenterOptions& GetIamIdentityCenterOptions() const{ return m_iamIdentityCenterOptions; }
96 inline void SetIamIdentityCenterOptions(const IamIdentityCenterOptions& value) { m_iamIdentityCenterOptions = value; }
97 inline void SetIamIdentityCenterOptions(IamIdentityCenterOptions&& value) { m_iamIdentityCenterOptions = std::move(value); }
101
103
107 inline const Aws::Vector<AppConfig>& GetAppConfigs() const{ return m_appConfigs; }
108 inline void SetAppConfigs(const Aws::Vector<AppConfig>& value) { m_appConfigs = value; }
109 inline void SetAppConfigs(Aws::Vector<AppConfig>&& value) { m_appConfigs = std::move(value); }
110 inline CreateApplicationResult& WithAppConfigs(const Aws::Vector<AppConfig>& value) { SetAppConfigs(value); return *this;}
111 inline CreateApplicationResult& WithAppConfigs(Aws::Vector<AppConfig>&& value) { SetAppConfigs(std::move(value)); return *this;}
112 inline CreateApplicationResult& AddAppConfigs(const AppConfig& value) { m_appConfigs.push_back(value); return *this; }
113 inline CreateApplicationResult& AddAppConfigs(AppConfig&& value) { m_appConfigs.push_back(std::move(value)); return *this; }
115
117
118 inline const Aws::Vector<Tag>& GetTagList() const{ return m_tagList; }
119 inline void SetTagList(const Aws::Vector<Tag>& value) { m_tagList = value; }
120 inline void SetTagList(Aws::Vector<Tag>&& value) { m_tagList = std::move(value); }
121 inline CreateApplicationResult& WithTagList(const Aws::Vector<Tag>& value) { SetTagList(value); return *this;}
122 inline CreateApplicationResult& WithTagList(Aws::Vector<Tag>&& value) { SetTagList(std::move(value)); return *this;}
123 inline CreateApplicationResult& AddTagList(const Tag& value) { m_tagList.push_back(value); return *this; }
124 inline CreateApplicationResult& AddTagList(Tag&& value) { m_tagList.push_back(std::move(value)); return *this; }
126
128
131 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
132 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
133 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
134 inline CreateApplicationResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
135 inline CreateApplicationResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
137
139
140 inline const Aws::String& GetRequestId() const{ return m_requestId; }
141 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
142 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
143 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
144 inline CreateApplicationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
145 inline CreateApplicationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
146 inline CreateApplicationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
148 private:
149
150 Aws::String m_id;
151
152 Aws::String m_name;
153
154 Aws::String m_arn;
155
156 Aws::Vector<DataSource> m_dataSources;
157
158 IamIdentityCenterOptions m_iamIdentityCenterOptions;
159
160 Aws::Vector<AppConfig> m_appConfigs;
161
162 Aws::Vector<Tag> m_tagList;
163
164 Aws::Utils::DateTime m_createdAt;
165
166 Aws::String m_requestId;
167 };
168
169} // namespace Model
170} // namespace OpenSearchService
171} // namespace Aws
CreateApplicationResult & WithTagList(Aws::Vector< Tag > &&value)
void SetAppConfigs(const Aws::Vector< AppConfig > &value)
CreateApplicationResult & WithTagList(const Aws::Vector< Tag > &value)
CreateApplicationResult & WithRequestId(Aws::String &&value)
CreateApplicationResult & WithArn(Aws::String &&value)
CreateApplicationResult & AddAppConfigs(const AppConfig &value)
AWS_OPENSEARCHSERVICE_API CreateApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApplicationResult & WithId(const Aws::String &value)
CreateApplicationResult & WithId(const char *value)
CreateApplicationResult & WithAppConfigs(Aws::Vector< AppConfig > &&value)
CreateApplicationResult & WithRequestId(const Aws::String &value)
void SetIamIdentityCenterOptions(IamIdentityCenterOptions &&value)
CreateApplicationResult & WithRequestId(const char *value)
CreateApplicationResult & WithDataSources(Aws::Vector< DataSource > &&value)
CreateApplicationResult & WithName(const char *value)
CreateApplicationResult & AddDataSources(DataSource &&value)
CreateApplicationResult & WithIamIdentityCenterOptions(IamIdentityCenterOptions &&value)
void SetDataSources(const Aws::Vector< DataSource > &value)
CreateApplicationResult & WithArn(const char *value)
AWS_OPENSEARCHSERVICE_API CreateApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApplicationResult & AddTagList(const Tag &value)
CreateApplicationResult & WithName(Aws::String &&value)
CreateApplicationResult & WithIamIdentityCenterOptions(const IamIdentityCenterOptions &value)
CreateApplicationResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetIamIdentityCenterOptions(const IamIdentityCenterOptions &value)
CreateApplicationResult & WithId(Aws::String &&value)
CreateApplicationResult & WithName(const Aws::String &value)
CreateApplicationResult & WithAppConfigs(const Aws::Vector< AppConfig > &value)
CreateApplicationResult & WithCreatedAt(const Aws::Utils::DateTime &value)
CreateApplicationResult & WithDataSources(const Aws::Vector< DataSource > &value)
CreateApplicationResult & WithArn(const Aws::String &value)
CreateApplicationResult & AddDataSources(const DataSource &value)
const IamIdentityCenterOptions & GetIamIdentityCenterOptions() const
CreateApplicationResult & AddAppConfigs(AppConfig &&value)
const Aws::Vector< DataSource > & GetDataSources() 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