/** * 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 CreateSecurityConfigurationResult { public: AWS_EMR_API CreateSecurityConfigurationResult(); AWS_EMR_API CreateSecurityConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_EMR_API CreateSecurityConfigurationResult& 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 CreateSecurityConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the security configuration.

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

The name of the security configuration.

*/ inline CreateSecurityConfigurationResult& WithName(const char* value) { SetName(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 CreateSecurityConfigurationResult& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *

The date and time the security configuration was created.

*/ inline CreateSecurityConfigurationResult& 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 CreateSecurityConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateSecurityConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateSecurityConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_name; Aws::Utils::DateTime m_creationDateTime; Aws::String m_requestId; }; } // namespace Model } // namespace EMR } // namespace Aws