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 {
36 AWS_CLOUDWATCHOMNI_API
OrganizationDomain(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
38 AWS_CLOUDWATCHOMNI_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
46 template <
typename DomainIdT = Aws::String>
48 m_domainIdHasBeenSet =
true;
49 m_domainId = std::forward<DomainIdT>(value);
51 template <
typename DomainIdT = Aws::String>
64 template <
typename DomainArnT = Aws::String>
66 m_domainArnHasBeenSet =
true;
67 m_domainArn = std::forward<DomainArnT>(value);
69 template <
typename DomainArnT = Aws::String>
82 template <
typename NameT = Aws::String>
84 m_nameHasBeenSet =
true;
85 m_name = std::forward<NameT>(value);
87 template <
typename NameT = Aws::String>
89 SetName(std::forward<NameT>(value));
100 template <
typename DomainEndpo
intUrlT = Aws::String>
102 m_domainEndpointUrlHasBeenSet =
true;
103 m_domainEndpointUrl = std::forward<DomainEndpointUrlT>(value);
105 template <
typename DomainEndpo
intUrlT = Aws::String>
118 template <
typename CustomEndpo
intUrlsT = Aws::Vector<Aws::String>>
120 m_customEndpointUrlsHasBeenSet =
true;
121 m_customEndpointUrls = std::forward<CustomEndpointUrlsT>(value);
123 template <
typename CustomEndpo
intUrlsT = Aws::Vector<Aws::String>>
128 template <
typename CustomEndpo
intUrlsT = Aws::String>
130 m_customEndpointUrlsHasBeenSet =
true;
131 m_customEndpointUrls.emplace_back(std::forward<CustomEndpointUrlsT>(value));
142 template <
typename OrganizationIdT = Aws::String>
144 m_organizationIdHasBeenSet =
true;
145 m_organizationId = std::forward<OrganizationIdT>(value);
147 template <
typename OrganizationIdT = Aws::String>
160 template <
typename OwnerAccountIdT = Aws::String>
162 m_ownerAccountIdHasBeenSet =
true;
163 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
165 template <
typename OwnerAccountIdT = Aws::String>
178 template <
typename IdentityProv
idersT = Aws::Vector<IdentityProv
ider>>
180 m_identityProvidersHasBeenSet =
true;
181 m_identityProviders = std::forward<IdentityProvidersT>(value);
183 template <
typename IdentityProv
idersT = Aws::Vector<IdentityProv
ider>>
189 m_identityProvidersHasBeenSet =
true;
190 m_identityProviders.push_back(value);
201 template <
typename IdentityProv
iderConfigurationT = IdentityProv
iderConfiguration>
203 m_identityProviderConfigurationHasBeenSet =
true;
204 m_identityProviderConfiguration = std::forward<IdentityProviderConfigurationT>(value);
206 template <
typename IdentityProv
iderConfigurationT = IdentityProv
iderConfiguration>
219 template <
typename IdentityCenterApplicationArnT = Aws::String>
221 m_identityCenterApplicationArnHasBeenSet =
true;
222 m_identityCenterApplicationArn = std::forward<IdentityCenterApplicationArnT>(value);
224 template <
typename IdentityCenterApplicationArnT = Aws::String>
237 template <
typename RegionT = Aws::String>
239 m_regionHasBeenSet =
true;
240 m_region = std::forward<RegionT>(value);
242 template <
typename RegionT = Aws::String>
256 m_statusHasBeenSet =
true;
272 template <
typename DomainAccessRoleArnT = Aws::String>
274 m_domainAccessRoleArnHasBeenSet =
true;
275 m_domainAccessRoleArn = std::forward<DomainAccessRoleArnT>(value);
277 template <
typename DomainAccessRoleArnT = Aws::String>
290 template <
typename CreatedAtT = Aws::Utils::DateTime>
292 m_createdAtHasBeenSet =
true;
293 m_createdAt = std::forward<CreatedAtT>(value);
295 template <
typename CreatedAtT = Aws::Utils::DateTime>
308 template <
typename UpdatedAtT = Aws::Utils::DateTime>
310 m_updatedAtHasBeenSet =
true;
311 m_updatedAt = std::forward<UpdatedAtT>(value);
313 template <
typename UpdatedAtT = Aws::Utils::DateTime>
349 bool m_domainIdHasBeenSet =
false;
350 bool m_domainArnHasBeenSet =
false;
351 bool m_nameHasBeenSet =
false;
352 bool m_domainEndpointUrlHasBeenSet =
false;
353 bool m_customEndpointUrlsHasBeenSet =
false;
354 bool m_organizationIdHasBeenSet =
false;
355 bool m_ownerAccountIdHasBeenSet =
false;
356 bool m_identityProvidersHasBeenSet =
false;
357 bool m_identityProviderConfigurationHasBeenSet =
false;
358 bool m_identityCenterApplicationArnHasBeenSet =
false;
359 bool m_regionHasBeenSet =
false;
360 bool m_statusHasBeenSet =
false;
361 bool m_domainAccessRoleArnHasBeenSet =
false;
362 bool m_createdAtHasBeenSet =
false;
363 bool m_updatedAtHasBeenSet =
false;
AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const IdentityProviderConfiguration & GetIdentityProviderConfiguration() const
bool DomainAccessRoleArnHasBeenSet() const
bool CreatedAtHasBeenSet() const
const Aws::String & GetOwnerAccountId() const
bool IdentityCenterApplicationArnHasBeenSet() const
OrganizationDomain & AddCustomEndpointUrls(CustomEndpointUrlsT &&value)
OrganizationDomain & WithRegion(RegionT &&value)
const Aws::String & GetRegion() const
void SetName(NameT &&value)
AWS_CLOUDWATCHOMNI_API OrganizationDomain(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool DomainIdHasBeenSet() const
bool NameHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
OrganizationDomain & WithDomainId(DomainIdT &&value)
OrganizationDomain & WithStatus(DomainStatus value)
const Aws::String & GetDomainAccessRoleArn() const
bool StatusHasBeenSet() const
OrganizationDomain & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Vector< IdentityProvider > & GetIdentityProviders() const
const Aws::String & GetDomainEndpointUrl() const
void SetIdentityProviderConfiguration(IdentityProviderConfigurationT &&value)
void SetIdentityProviders(IdentityProvidersT &&value)
bool CustomEndpointUrlsHasBeenSet() const
void SetRegion(RegionT &&value)
OrganizationDomain & AddIdentityProviders(IdentityProvider value)
const Aws::String & GetIdentityCenterApplicationArn() const
AWS_CLOUDWATCHOMNI_API OrganizationDomain()=default
OrganizationDomain & WithOrganizationId(OrganizationIdT &&value)
OrganizationDomain & WithIdentityProviders(IdentityProvidersT &&value)
const Aws::Vector< Aws::String > & GetCustomEndpointUrls() const
const Aws::Utils::DateTime & GetCreatedAt() const
OrganizationDomain & WithDomainAccessRoleArn(DomainAccessRoleArnT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetDomainAccessRoleArn(DomainAccessRoleArnT &&value)
bool IdentityProviderConfigurationHasBeenSet() const
OrganizationDomain & WithCreatedAt(CreatedAtT &&value)
bool IdentityProvidersHasBeenSet() const
DomainStatus GetStatus() const
const Aws::String & GetDomainArn() const
bool OwnerAccountIdHasBeenSet() const
void SetCustomEndpointUrls(CustomEndpointUrlsT &&value)
void SetOwnerAccountId(OwnerAccountIdT &&value)
OrganizationDomain & WithDomainArn(DomainArnT &&value)
void SetDomainId(DomainIdT &&value)
bool RegionHasBeenSet() const
OrganizationDomain & WithDomainEndpointUrl(DomainEndpointUrlT &&value)
const Aws::String & GetDomainId() const
const Aws::String & GetName() const
OrganizationDomain & WithOwnerAccountId(OwnerAccountIdT &&value)
void SetIdentityCenterApplicationArn(IdentityCenterApplicationArnT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetOrganizationId() const
void SetStatus(DomainStatus value)
bool UpdatedAtHasBeenSet() const
AWS_CLOUDWATCHOMNI_API OrganizationDomain & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetDomainEndpointUrl(DomainEndpointUrlT &&value)
void SetOrganizationId(OrganizationIdT &&value)
bool OrganizationIdHasBeenSet() const
bool DomainEndpointUrlHasBeenSet() const
void SetDomainArn(DomainArnT &&value)
bool DomainArnHasBeenSet() const
OrganizationDomain & WithIdentityCenterApplicationArn(IdentityCenterApplicationArnT &&value)
OrganizationDomain & WithCustomEndpointUrls(CustomEndpointUrlsT &&value)
OrganizationDomain & WithName(NameT &&value)
OrganizationDomain & WithIdentityProviderConfiguration(IdentityProviderConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector