/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A summary of a security configuration for OpenSearch
* Serverless.See Also:
AWS
* API Reference
The version of the security configuration.
*/ inline const Aws::String& GetConfigVersion() const{ return m_configVersion; } /** *The version of the security configuration.
*/ inline bool ConfigVersionHasBeenSet() const { return m_configVersionHasBeenSet; } /** *The version of the security configuration.
*/ inline void SetConfigVersion(const Aws::String& value) { m_configVersionHasBeenSet = true; m_configVersion = value; } /** *The version of the security configuration.
*/ inline void SetConfigVersion(Aws::String&& value) { m_configVersionHasBeenSet = true; m_configVersion = std::move(value); } /** *The version of the security configuration.
*/ inline void SetConfigVersion(const char* value) { m_configVersionHasBeenSet = true; m_configVersion.assign(value); } /** *The version of the security configuration.
*/ inline SecurityConfigSummary& WithConfigVersion(const Aws::String& value) { SetConfigVersion(value); return *this;} /** *The version of the security configuration.
*/ inline SecurityConfigSummary& WithConfigVersion(Aws::String&& value) { SetConfigVersion(std::move(value)); return *this;} /** *The version of the security configuration.
*/ inline SecurityConfigSummary& WithConfigVersion(const char* value) { SetConfigVersion(value); return *this;} /** *The Epoch time when the security configuration was created.
*/ inline long long GetCreatedDate() const{ return m_createdDate; } /** *The Epoch time when the security configuration was created.
*/ inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; } /** *The Epoch time when the security configuration was created.
*/ inline void SetCreatedDate(long long value) { m_createdDateHasBeenSet = true; m_createdDate = value; } /** *The Epoch time when the security configuration was created.
*/ inline SecurityConfigSummary& WithCreatedDate(long long value) { SetCreatedDate(value); return *this;} /** *The description of the security configuration.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the security configuration.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the security configuration.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the security configuration.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the security configuration.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the security configuration.
*/ inline SecurityConfigSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the security configuration.
*/ inline SecurityConfigSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the security configuration.
*/ inline SecurityConfigSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The unique identifier of the security configuration.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The unique identifier of the security configuration.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique identifier of the security configuration.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique identifier of the security configuration.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique identifier of the security configuration.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The unique identifier of the security configuration.
*/ inline SecurityConfigSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique identifier of the security configuration.
*/ inline SecurityConfigSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique identifier of the security configuration.
*/ inline SecurityConfigSummary& WithId(const char* value) { SetId(value); return *this;} /** *The timestamp of when the configuration was last modified.
*/ inline long long GetLastModifiedDate() const{ return m_lastModifiedDate; } /** *The timestamp of when the configuration was last modified.
*/ inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; } /** *The timestamp of when the configuration was last modified.
*/ inline void SetLastModifiedDate(long long value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; } /** *The timestamp of when the configuration was last modified.
*/ inline SecurityConfigSummary& WithLastModifiedDate(long long value) { SetLastModifiedDate(value); return *this;} /** *The type of security configuration.
*/ inline const SecurityConfigType& GetType() const{ return m_type; } /** *The type of security configuration.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of security configuration.
*/ inline void SetType(const SecurityConfigType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of security configuration.
*/ inline void SetType(SecurityConfigType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of security configuration.
*/ inline SecurityConfigSummary& WithType(const SecurityConfigType& value) { SetType(value); return *this;} /** *The type of security configuration.
*/ inline SecurityConfigSummary& WithType(SecurityConfigType&& value) { SetType(std::move(value)); return *this;} private: Aws::String m_configVersion; bool m_configVersionHasBeenSet = false; long long m_createdDate; bool m_createdDateHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; long long m_lastModifiedDate; bool m_lastModifiedDateHasBeenSet = false; SecurityConfigType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace OpenSearchServerless } // namespace Aws