/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoT { namespace Model { /** *

The summary of a domain configuration. A domain configuration specifies * custom IoT-specific information about a domain. A domain configuration can be * associated with an Amazon Web Services-managed domain (for example, * dbc123defghijk.iot.us-west-2.amazonaws.com), a customer managed domain, or a * default endpoint.

  • Data

  • Jobs

  • *

    CredentialProvider

See Also:

AWS * API Reference

*/ class DomainConfigurationSummary { public: AWS_IOT_API DomainConfigurationSummary(); AWS_IOT_API DomainConfigurationSummary(Aws::Utils::Json::JsonView jsonValue); AWS_IOT_API DomainConfigurationSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the domain configuration. This value must be unique to a * region.

*/ inline const Aws::String& GetDomainConfigurationName() const{ return m_domainConfigurationName; } /** *

The name of the domain configuration. This value must be unique to a * region.

*/ inline bool DomainConfigurationNameHasBeenSet() const { return m_domainConfigurationNameHasBeenSet; } /** *

The name of the domain configuration. This value must be unique to a * region.

*/ inline void SetDomainConfigurationName(const Aws::String& value) { m_domainConfigurationNameHasBeenSet = true; m_domainConfigurationName = value; } /** *

The name of the domain configuration. This value must be unique to a * region.

*/ inline void SetDomainConfigurationName(Aws::String&& value) { m_domainConfigurationNameHasBeenSet = true; m_domainConfigurationName = std::move(value); } /** *

The name of the domain configuration. This value must be unique to a * region.

*/ inline void SetDomainConfigurationName(const char* value) { m_domainConfigurationNameHasBeenSet = true; m_domainConfigurationName.assign(value); } /** *

The name of the domain configuration. This value must be unique to a * region.

*/ inline DomainConfigurationSummary& WithDomainConfigurationName(const Aws::String& value) { SetDomainConfigurationName(value); return *this;} /** *

The name of the domain configuration. This value must be unique to a * region.

*/ inline DomainConfigurationSummary& WithDomainConfigurationName(Aws::String&& value) { SetDomainConfigurationName(std::move(value)); return *this;} /** *

The name of the domain configuration. This value must be unique to a * region.

*/ inline DomainConfigurationSummary& WithDomainConfigurationName(const char* value) { SetDomainConfigurationName(value); return *this;} /** *

The ARN of the domain configuration.

*/ inline const Aws::String& GetDomainConfigurationArn() const{ return m_domainConfigurationArn; } /** *

The ARN of the domain configuration.

*/ inline bool DomainConfigurationArnHasBeenSet() const { return m_domainConfigurationArnHasBeenSet; } /** *

The ARN of the domain configuration.

*/ inline void SetDomainConfigurationArn(const Aws::String& value) { m_domainConfigurationArnHasBeenSet = true; m_domainConfigurationArn = value; } /** *

The ARN of the domain configuration.

*/ inline void SetDomainConfigurationArn(Aws::String&& value) { m_domainConfigurationArnHasBeenSet = true; m_domainConfigurationArn = std::move(value); } /** *

The ARN of the domain configuration.

*/ inline void SetDomainConfigurationArn(const char* value) { m_domainConfigurationArnHasBeenSet = true; m_domainConfigurationArn.assign(value); } /** *

The ARN of the domain configuration.

*/ inline DomainConfigurationSummary& WithDomainConfigurationArn(const Aws::String& value) { SetDomainConfigurationArn(value); return *this;} /** *

The ARN of the domain configuration.

*/ inline DomainConfigurationSummary& WithDomainConfigurationArn(Aws::String&& value) { SetDomainConfigurationArn(std::move(value)); return *this;} /** *

The ARN of the domain configuration.

*/ inline DomainConfigurationSummary& WithDomainConfigurationArn(const char* value) { SetDomainConfigurationArn(value); return *this;} /** *

The type of service delivered by the endpoint.

*/ inline const ServiceType& GetServiceType() const{ return m_serviceType; } /** *

The type of service delivered by the endpoint.

*/ inline bool ServiceTypeHasBeenSet() const { return m_serviceTypeHasBeenSet; } /** *

The type of service delivered by the endpoint.

*/ inline void SetServiceType(const ServiceType& value) { m_serviceTypeHasBeenSet = true; m_serviceType = value; } /** *

The type of service delivered by the endpoint.

*/ inline void SetServiceType(ServiceType&& value) { m_serviceTypeHasBeenSet = true; m_serviceType = std::move(value); } /** *

The type of service delivered by the endpoint.

*/ inline DomainConfigurationSummary& WithServiceType(const ServiceType& value) { SetServiceType(value); return *this;} /** *

The type of service delivered by the endpoint.

*/ inline DomainConfigurationSummary& WithServiceType(ServiceType&& value) { SetServiceType(std::move(value)); return *this;} private: Aws::String m_domainConfigurationName; bool m_domainConfigurationNameHasBeenSet = false; Aws::String m_domainConfigurationArn; bool m_domainConfigurationArnHasBeenSet = false; ServiceType m_serviceType; bool m_serviceTypeHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws