AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = 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 CreateApplicationResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetName() const { return m_name; }
57 template<typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
59 template<typename NameT = Aws::String>
60 CreateApplicationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
62
64
65 inline const Aws::String& GetArn() const { return m_arn; }
66 template<typename ArnT = Aws::String>
67 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
68 template<typename ArnT = Aws::String>
69 CreateApplicationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
71
73
76 inline const Aws::Vector<DataSource>& GetDataSources() const { return m_dataSources; }
77 template<typename DataSourcesT = Aws::Vector<DataSource>>
78 void SetDataSources(DataSourcesT&& value) { m_dataSourcesHasBeenSet = true; m_dataSources = std::forward<DataSourcesT>(value); }
79 template<typename DataSourcesT = Aws::Vector<DataSource>>
80 CreateApplicationResult& WithDataSources(DataSourcesT&& value) { SetDataSources(std::forward<DataSourcesT>(value)); return *this;}
81 template<typename DataSourcesT = DataSource>
82 CreateApplicationResult& AddDataSources(DataSourcesT&& value) { m_dataSourcesHasBeenSet = true; m_dataSources.emplace_back(std::forward<DataSourcesT>(value)); return *this; }
84
86
90 inline const IamIdentityCenterOptions& GetIamIdentityCenterOptions() const { return m_iamIdentityCenterOptions; }
91 template<typename IamIdentityCenterOptionsT = IamIdentityCenterOptions>
92 void SetIamIdentityCenterOptions(IamIdentityCenterOptionsT&& value) { m_iamIdentityCenterOptionsHasBeenSet = true; m_iamIdentityCenterOptions = std::forward<IamIdentityCenterOptionsT>(value); }
93 template<typename IamIdentityCenterOptionsT = IamIdentityCenterOptions>
94 CreateApplicationResult& WithIamIdentityCenterOptions(IamIdentityCenterOptionsT&& value) { SetIamIdentityCenterOptions(std::forward<IamIdentityCenterOptionsT>(value)); return *this;}
96
98
102 inline const Aws::Vector<AppConfig>& GetAppConfigs() const { return m_appConfigs; }
103 template<typename AppConfigsT = Aws::Vector<AppConfig>>
104 void SetAppConfigs(AppConfigsT&& value) { m_appConfigsHasBeenSet = true; m_appConfigs = std::forward<AppConfigsT>(value); }
105 template<typename AppConfigsT = Aws::Vector<AppConfig>>
106 CreateApplicationResult& WithAppConfigs(AppConfigsT&& value) { SetAppConfigs(std::forward<AppConfigsT>(value)); return *this;}
107 template<typename AppConfigsT = AppConfig>
108 CreateApplicationResult& AddAppConfigs(AppConfigsT&& value) { m_appConfigsHasBeenSet = true; m_appConfigs.emplace_back(std::forward<AppConfigsT>(value)); return *this; }
110
112
113 inline const Aws::Vector<Tag>& GetTagList() const { return m_tagList; }
114 template<typename TagListT = Aws::Vector<Tag>>
115 void SetTagList(TagListT&& value) { m_tagListHasBeenSet = true; m_tagList = std::forward<TagListT>(value); }
116 template<typename TagListT = Aws::Vector<Tag>>
117 CreateApplicationResult& WithTagList(TagListT&& value) { SetTagList(std::forward<TagListT>(value)); return *this;}
118 template<typename TagListT = Tag>
119 CreateApplicationResult& AddTagList(TagListT&& value) { m_tagListHasBeenSet = true; m_tagList.emplace_back(std::forward<TagListT>(value)); return *this; }
121
123
126 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
127 template<typename CreatedAtT = Aws::Utils::DateTime>
128 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
129 template<typename CreatedAtT = Aws::Utils::DateTime>
130 CreateApplicationResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
132
134
135 inline const Aws::String& GetRequestId() const { return m_requestId; }
136 template<typename RequestIdT = Aws::String>
137 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
138 template<typename RequestIdT = Aws::String>
139 CreateApplicationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
141 private:
142
143 Aws::String m_id;
144 bool m_idHasBeenSet = false;
145
146 Aws::String m_name;
147 bool m_nameHasBeenSet = false;
148
149 Aws::String m_arn;
150 bool m_arnHasBeenSet = false;
151
152 Aws::Vector<DataSource> m_dataSources;
153 bool m_dataSourcesHasBeenSet = false;
154
155 IamIdentityCenterOptions m_iamIdentityCenterOptions;
156 bool m_iamIdentityCenterOptionsHasBeenSet = false;
157
158 Aws::Vector<AppConfig> m_appConfigs;
159 bool m_appConfigsHasBeenSet = false;
160
161 Aws::Vector<Tag> m_tagList;
162 bool m_tagListHasBeenSet = false;
163
164 Aws::Utils::DateTime m_createdAt{};
165 bool m_createdAtHasBeenSet = false;
166
167 Aws::String m_requestId;
168 bool m_requestIdHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace OpenSearchService
173} // namespace Aws
CreateApplicationResult & WithRequestId(RequestIdT &&value)
CreateApplicationResult & WithAppConfigs(AppConfigsT &&value)
AWS_OPENSEARCHSERVICE_API CreateApplicationResult()=default
AWS_OPENSEARCHSERVICE_API CreateApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApplicationResult & WithIamIdentityCenterOptions(IamIdentityCenterOptionsT &&value)
CreateApplicationResult & WithDataSources(DataSourcesT &&value)
AWS_OPENSEARCHSERVICE_API CreateApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApplicationResult & WithTagList(TagListT &&value)
CreateApplicationResult & AddDataSources(DataSourcesT &&value)
CreateApplicationResult & AddAppConfigs(AppConfigsT &&value)
CreateApplicationResult & AddTagList(TagListT &&value)
CreateApplicationResult & WithCreatedAt(CreatedAtT &&value)
const IamIdentityCenterOptions & GetIamIdentityCenterOptions() const
void SetIamIdentityCenterOptions(IamIdentityCenterOptionsT &&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