7#include <aws/apiportal/APIPortal_EXPORTS.h>
8#include <aws/apiportal/model/Authorization.h>
9#include <aws/apiportal/model/EndpointConfigurationResponse.h>
10#include <aws/apiportal/model/PortalContent.h>
11#include <aws/apiportal/model/PortalStatusException.h>
12#include <aws/apiportal/model/PublishStatus.h>
13#include <aws/core/http/HttpResponse.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
22template <
typename RESULT_TYPE>
23class AmazonWebServiceResult;
43 template <
typename PortalIdT = Aws::String>
45 m_portalIdHasBeenSet =
true;
46 m_portalId = std::forward<PortalIdT>(value);
48 template <
typename PortalIdT = Aws::String>
60 template <
typename PortalArnT = Aws::String>
62 m_portalArnHasBeenSet =
true;
63 m_portalArn = std::forward<PortalArnT>(value);
65 template <
typename PortalArnT = Aws::String>
77 template <
typename Endpo
intConfigurationT = Endpo
intConfigurationResponse>
79 m_endpointConfigurationHasBeenSet =
true;
80 m_endpointConfiguration = std::forward<EndpointConfigurationT>(value);
82 template <
typename Endpo
intConfigurationT = Endpo
intConfigurationResponse>
95 template <
typename AuthorizationT = Authorization>
97 m_authorizationHasBeenSet =
true;
98 m_authorization = std::forward<AuthorizationT>(value);
100 template <
typename AuthorizationT = Authorization>
112 template <
typename PortalContentT = PortalContent>
114 m_portalContentHasBeenSet =
true;
115 m_portalContent = std::forward<PortalContentT>(value);
117 template <
typename PortalContentT = PortalContent>
129 template <
typename IncludedProductArnsT = Aws::Vector<Aws::String>>
131 m_includedProductArnsHasBeenSet =
true;
132 m_includedProductArns = std::forward<IncludedProductArnsT>(value);
134 template <
typename IncludedProductArnsT = Aws::Vector<Aws::String>>
139 template <
typename IncludedProductArnsT = Aws::String>
141 m_includedProductArnsHasBeenSet =
true;
142 m_includedProductArns.emplace_back(std::forward<IncludedProductArnsT>(value));
154 m_publishStatusHasBeenSet =
true;
155 m_publishStatus = value;
166 template <
typename StatusExceptionT = PortalStatusException>
168 m_statusExceptionHasBeenSet =
true;
169 m_statusException = std::forward<StatusExceptionT>(value);
171 template <
typename StatusExceptionT = PortalStatusException>
183 template <
typename UpdatedAtT = Aws::Utils::DateTime>
185 m_updatedAtHasBeenSet =
true;
186 m_updatedAt = std::forward<UpdatedAtT>(value);
188 template <
typename UpdatedAtT = Aws::Utils::DateTime>
200 template <
typename PublishedAtT = Aws::Utils::DateTime>
202 m_publishedAtHasBeenSet =
true;
203 m_publishedAt = std::forward<PublishedAtT>(value);
205 template <
typename PublishedAtT = Aws::Utils::DateTime>
217 template <
typename PublishDescriptionT = Aws::String>
219 m_publishDescriptionHasBeenSet =
true;
220 m_publishDescription = std::forward<PublishDescriptionT>(value);
222 template <
typename PublishDescriptionT = Aws::String>
235 template <
typename RumAppMonitorNameT = Aws::String>
237 m_rumAppMonitorNameHasBeenSet =
true;
238 m_rumAppMonitorName = std::forward<RumAppMonitorNameT>(value);
240 template <
typename RumAppMonitorNameT = Aws::String>
250 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
252 m_tagsHasBeenSet =
true;
253 m_tags = std::forward<TagsT>(value);
255 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
257 SetTags(std::forward<TagsT>(value));
260 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
262 m_tagsHasBeenSet =
true;
263 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
271 template <
typename RequestIdT = Aws::String>
273 m_requestIdHasBeenSet =
true;
274 m_requestId = std::forward<RequestIdT>(value);
276 template <
typename RequestIdT = Aws::String>
299 PortalStatusException m_statusException;
313 bool m_portalIdHasBeenSet =
false;
314 bool m_portalArnHasBeenSet =
false;
315 bool m_endpointConfigurationHasBeenSet =
false;
316 bool m_authorizationHasBeenSet =
false;
317 bool m_portalContentHasBeenSet =
false;
318 bool m_includedProductArnsHasBeenSet =
false;
319 bool m_publishStatusHasBeenSet =
false;
320 bool m_statusExceptionHasBeenSet =
false;
321 bool m_updatedAtHasBeenSet =
false;
322 bool m_publishedAtHasBeenSet =
false;
323 bool m_publishDescriptionHasBeenSet =
false;
324 bool m_rumAppMonitorNameHasBeenSet =
false;
325 bool m_tagsHasBeenSet =
false;
326 bool m_requestIdHasBeenSet =
false;
CreatePortalResult & WithStatusException(StatusExceptionT &&value)
const Aws::String & GetRequestId() const
CreatePortalResult & WithEndpointConfiguration(EndpointConfigurationT &&value)
void SetPortalId(PortalIdT &&value)
const Aws::Vector< Aws::String > & GetIncludedProductArns() const
void SetEndpointConfiguration(EndpointConfigurationT &&value)
CreatePortalResult & AddIncludedProductArns(IncludedProductArnsT &&value)
const EndpointConfigurationResponse & GetEndpointConfiguration() const
CreatePortalResult & WithRumAppMonitorName(RumAppMonitorNameT &&value)
const Aws::Utils::DateTime & GetPublishedAt() const
CreatePortalResult & WithPublishedAt(PublishedAtT &&value)
AWS_APIPORTAL_API CreatePortalResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPortalArn(PortalArnT &&value)
AWS_APIPORTAL_API CreatePortalResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const PortalStatusException & GetStatusException() const
const Authorization & GetAuthorization() const
void SetUpdatedAt(UpdatedAtT &&value)
CreatePortalResult & WithTags(TagsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetPortalArn() const
void SetIncludedProductArns(IncludedProductArnsT &&value)
CreatePortalResult & WithPortalContent(PortalContentT &&value)
void SetPublishDescription(PublishDescriptionT &&value)
void SetPortalContent(PortalContentT &&value)
const Aws::String & GetPortalId() const
CreatePortalResult & WithPublishStatus(PublishStatus value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreatePortalResult & WithAuthorization(AuthorizationT &&value)
AWS_APIPORTAL_API CreatePortalResult()=default
void SetRequestId(RequestIdT &&value)
CreatePortalResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreatePortalResult & WithPublishDescription(PublishDescriptionT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetAuthorization(AuthorizationT &&value)
void SetRumAppMonitorName(RumAppMonitorNameT &&value)
void SetStatusException(StatusExceptionT &&value)
PublishStatus GetPublishStatus() const
CreatePortalResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetPublishDescription() const
void SetPublishedAt(PublishedAtT &&value)
void SetTags(TagsT &&value)
CreatePortalResult & WithIncludedProductArns(IncludedProductArnsT &&value)
CreatePortalResult & WithPortalId(PortalIdT &&value)
const Aws::String & GetRumAppMonitorName() const
CreatePortalResult & WithPortalArn(PortalArnT &&value)
void SetPublishStatus(PublishStatus value)
const PortalContent & GetPortalContent() const
CreatePortalResult & WithRequestId(RequestIdT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue