7#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
8#include <aws/cloudwatchomni/model/DomainStatus.h>
9#include <aws/cloudwatchomni/model/IdentityProvider.h>
10#include <aws/cloudwatchomni/model/IdentityProviderConfiguration.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/crt/cbor/Cbor.h>
24namespace CloudWatchOmni {
34 AWS_CLOUDWATCHOMNI_API
Domain() =
default;
35 AWS_CLOUDWATCHOMNI_API
Domain(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
36 AWS_CLOUDWATCHOMNI_API
Domain&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
37 AWS_CLOUDWATCHOMNI_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 template <
typename DomainIdT = Aws::String>
47 m_domainIdHasBeenSet =
true;
48 m_domainId = std::forward<DomainIdT>(value);
50 template <
typename DomainIdT = Aws::String>
63 template <
typename DomainArnT = Aws::String>
65 m_domainArnHasBeenSet =
true;
66 m_domainArn = std::forward<DomainArnT>(value);
68 template <
typename DomainArnT = Aws::String>
81 template <
typename NameT = Aws::String>
83 m_nameHasBeenSet =
true;
84 m_name = std::forward<NameT>(value);
86 template <
typename NameT = Aws::String>
88 SetName(std::forward<NameT>(value));
99 template <
typename IdentityProv
idersT = Aws::Vector<IdentityProv
ider>>
101 m_identityProvidersHasBeenSet =
true;
102 m_identityProviders = std::forward<IdentityProvidersT>(value);
104 template <
typename IdentityProv
idersT = Aws::Vector<IdentityProv
ider>>
110 m_identityProvidersHasBeenSet =
true;
111 m_identityProviders.push_back(value);
122 template <
typename IdentityProv
iderConfigurationT = IdentityProv
iderConfiguration>
124 m_identityProviderConfigurationHasBeenSet =
true;
125 m_identityProviderConfiguration = std::forward<IdentityProviderConfigurationT>(value);
127 template <
typename IdentityProv
iderConfigurationT = IdentityProv
iderConfiguration>
140 template <
typename DomainEndpo
intUrlT = Aws::String>
142 m_domainEndpointUrlHasBeenSet =
true;
143 m_domainEndpointUrl = std::forward<DomainEndpointUrlT>(value);
145 template <
typename DomainEndpo
intUrlT = Aws::String>
158 template <
typename CustomEndpo
intUrlsT = Aws::Vector<Aws::String>>
160 m_customEndpointUrlsHasBeenSet =
true;
161 m_customEndpointUrls = std::forward<CustomEndpointUrlsT>(value);
163 template <
typename CustomEndpo
intUrlsT = Aws::Vector<Aws::String>>
168 template <
typename CustomEndpo
intUrlsT = Aws::String>
170 m_customEndpointUrlsHasBeenSet =
true;
171 m_customEndpointUrls.emplace_back(std::forward<CustomEndpointUrlsT>(value));
182 template <
typename IdentityCenterApplicationArnT = Aws::String>
184 m_identityCenterApplicationArnHasBeenSet =
true;
185 m_identityCenterApplicationArn = std::forward<IdentityCenterApplicationArnT>(value);
187 template <
typename IdentityCenterApplicationArnT = Aws::String>
200 template <
typename RegionT = Aws::String>
202 m_regionHasBeenSet =
true;
203 m_region = std::forward<RegionT>(value);
205 template <
typename RegionT = Aws::String>
218 template <
typename CreatedAtT = Aws::Utils::DateTime>
220 m_createdAtHasBeenSet =
true;
221 m_createdAt = std::forward<CreatedAtT>(value);
223 template <
typename CreatedAtT = Aws::Utils::DateTime>
236 template <
typename UpdatedAtT = Aws::Utils::DateTime>
238 m_updatedAtHasBeenSet =
true;
239 m_updatedAt = std::forward<UpdatedAtT>(value);
241 template <
typename UpdatedAtT = Aws::Utils::DateTime>
255 m_statusHasBeenSet =
true;
287 bool m_domainIdHasBeenSet =
false;
288 bool m_domainArnHasBeenSet =
false;
289 bool m_nameHasBeenSet =
false;
290 bool m_identityProvidersHasBeenSet =
false;
291 bool m_identityProviderConfigurationHasBeenSet =
false;
292 bool m_domainEndpointUrlHasBeenSet =
false;
293 bool m_customEndpointUrlsHasBeenSet =
false;
294 bool m_identityCenterApplicationArnHasBeenSet =
false;
295 bool m_regionHasBeenSet =
false;
296 bool m_createdAtHasBeenSet =
false;
297 bool m_updatedAtHasBeenSet =
false;
298 bool m_statusHasBeenSet =
false;
Domain & WithRegion(RegionT &&value)
void SetIdentityProviderConfiguration(IdentityProviderConfigurationT &&value)
AWS_CLOUDWATCHOMNI_API Domain(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetDomainEndpointUrl(DomainEndpointUrlT &&value)
DomainStatus GetStatus() const
const Aws::String & GetName() const
Domain & WithName(NameT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
Domain & AddCustomEndpointUrls(CustomEndpointUrlsT &&value)
void SetCustomEndpointUrls(CustomEndpointUrlsT &&value)
Domain & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
Domain & WithStatus(DomainStatus value)
bool DomainEndpointUrlHasBeenSet() const
Domain & AddIdentityProviders(IdentityProvider value)
bool IdentityProviderConfigurationHasBeenSet() const
void SetDomainArn(DomainArnT &&value)
void SetIdentityCenterApplicationArn(IdentityCenterApplicationArnT &&value)
bool StatusHasBeenSet() const
Domain & WithDomainArn(DomainArnT &&value)
void SetName(NameT &&value)
const Aws::Vector< IdentityProvider > & GetIdentityProviders() const
const Aws::Vector< Aws::String > & GetCustomEndpointUrls() const
bool NameHasBeenSet() const
AWS_CLOUDWATCHOMNI_API Domain & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
Domain & WithIdentityProviderConfiguration(IdentityProviderConfigurationT &&value)
bool CustomEndpointUrlsHasBeenSet() const
void SetRegion(RegionT &&value)
Domain & WithIdentityProviders(IdentityProvidersT &&value)
bool UpdatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
bool CreatedAtHasBeenSet() const
Domain & WithCustomEndpointUrls(CustomEndpointUrlsT &&value)
AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool DomainIdHasBeenSet() const
bool RegionHasBeenSet() const
const IdentityProviderConfiguration & GetIdentityProviderConfiguration() const
AWS_CLOUDWATCHOMNI_API Domain()=default
Domain & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetRegion() const
bool DomainArnHasBeenSet() const
void SetIdentityProviders(IdentityProvidersT &&value)
const Aws::String & GetDomainId() const
bool IdentityProvidersHasBeenSet() const
void SetStatus(DomainStatus value)
void SetDomainId(DomainIdT &&value)
Domain & WithDomainId(DomainIdT &&value)
const Aws::String & GetDomainArn() const
Domain & WithDomainEndpointUrl(DomainEndpointUrlT &&value)
Domain & WithIdentityCenterApplicationArn(IdentityCenterApplicationArnT &&value)
const Aws::String & GetIdentityCenterApplicationArn() const
bool IdentityCenterApplicationArnHasBeenSet() const
const Aws::String & GetDomainEndpointUrl() const
void SetCreatedAt(CreatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector