/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace EMR { namespace Model { class DescribeSecurityConfigurationResult { public: AWS_EMR_API DescribeSecurityConfigurationResult(); AWS_EMR_API DescribeSecurityConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_EMR_API DescribeSecurityConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the security configuration.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the security configuration.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the security configuration.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The name of the security configuration.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the security configuration.

*/ inline DescribeSecurityConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the security configuration.

*/ inline DescribeSecurityConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the security configuration.

*/ inline DescribeSecurityConfigurationResult& WithName(const char* value) { SetName(value); return *this;} /** *

The security configuration details in JSON format.

*/ inline const Aws::String& GetSecurityConfiguration() const{ return m_securityConfiguration; } /** *

The security configuration details in JSON format.

*/ inline void SetSecurityConfiguration(const Aws::String& value) { m_securityConfiguration = value; } /** *

The security configuration details in JSON format.

*/ inline void SetSecurityConfiguration(Aws::String&& value) { m_securityConfiguration = std::move(value); } /** *

The security configuration details in JSON format.

*/ inline void SetSecurityConfiguration(const char* value) { m_securityConfiguration.assign(value); } /** *

The security configuration details in JSON format.

*/ inline DescribeSecurityConfigurationResult& WithSecurityConfiguration(const Aws::String& value) { SetSecurityConfiguration(value); return *this;} /** *

The security configuration details in JSON format.

*/ inline DescribeSecurityConfigurationResult& WithSecurityConfiguration(Aws::String&& value) { SetSecurityConfiguration(std::move(value)); return *this;} /** *

The security configuration details in JSON format.

*/ inline DescribeSecurityConfigurationResult& WithSecurityConfiguration(const char* value) { SetSecurityConfiguration(value); return *this;} /** *

The date and time the security configuration was created

*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *

The date and time the security configuration was created

*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; } /** *

The date and time the security configuration was created

*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); } /** *

The date and time the security configuration was created

*/ inline DescribeSecurityConfigurationResult& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *

The date and time the security configuration was created

*/ inline DescribeSecurityConfigurationResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeSecurityConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeSecurityConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeSecurityConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_name; Aws::String m_securityConfiguration; Aws::Utils::DateTime m_creationDateTime; Aws::String m_requestId; }; } // namespace Model } // namespace EMR } // namespace Aws