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

An object that specifies the TLS configuration for a domain.

See * Also:

AWS API * Reference

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

The security policy for a domain configuration. For more information, see Security * policies in the Amazon Web Services IoT Core developer guide.

*/ inline const Aws::String& GetSecurityPolicy() const{ return m_securityPolicy; } /** *

The security policy for a domain configuration. For more information, see Security * policies in the Amazon Web Services IoT Core developer guide.

*/ inline bool SecurityPolicyHasBeenSet() const { return m_securityPolicyHasBeenSet; } /** *

The security policy for a domain configuration. For more information, see Security * policies in the Amazon Web Services IoT Core developer guide.

*/ inline void SetSecurityPolicy(const Aws::String& value) { m_securityPolicyHasBeenSet = true; m_securityPolicy = value; } /** *

The security policy for a domain configuration. For more information, see Security * policies in the Amazon Web Services IoT Core developer guide.

*/ inline void SetSecurityPolicy(Aws::String&& value) { m_securityPolicyHasBeenSet = true; m_securityPolicy = std::move(value); } /** *

The security policy for a domain configuration. For more information, see Security * policies in the Amazon Web Services IoT Core developer guide.

*/ inline void SetSecurityPolicy(const char* value) { m_securityPolicyHasBeenSet = true; m_securityPolicy.assign(value); } /** *

The security policy for a domain configuration. For more information, see Security * policies in the Amazon Web Services IoT Core developer guide.

*/ inline TlsConfig& WithSecurityPolicy(const Aws::String& value) { SetSecurityPolicy(value); return *this;} /** *

The security policy for a domain configuration. For more information, see Security * policies in the Amazon Web Services IoT Core developer guide.

*/ inline TlsConfig& WithSecurityPolicy(Aws::String&& value) { SetSecurityPolicy(std::move(value)); return *this;} /** *

The security policy for a domain configuration. For more information, see Security * policies in the Amazon Web Services IoT Core developer guide.

*/ inline TlsConfig& WithSecurityPolicy(const char* value) { SetSecurityPolicy(value); return *this;} private: Aws::String m_securityPolicy; bool m_securityPolicyHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws