/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that specifies the TLS configuration for a domain.See
* Also:
AWS API
* Reference
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