This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-securityhub/include/aws/securityhub/model/AwsElasticsearchDomainDetails.h

534 lines
22 KiB
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/securityhub/SecurityHub_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/securityhub/model/AwsElasticsearchDomainDomainEndpointOptions.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/securityhub/model/AwsElasticsearchDomainEncryptionAtRestOptions.h>
#include <aws/securityhub/model/AwsElasticsearchDomainNodeToNodeEncryptionOptions.h>
#include <aws/securityhub/model/AwsElasticsearchDomainVPCOptions.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SecurityHub
{
namespace Model
{
/**
* <p>Information about an Elasticsearch domain.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsElasticsearchDomainDetails">AWS
* API Reference</a></p>
*/
class AWS_SECURITYHUB_API AwsElasticsearchDomainDetails
{
public:
AwsElasticsearchDomainDetails();
AwsElasticsearchDomainDetails(Aws::Utils::Json::JsonView jsonValue);
AwsElasticsearchDomainDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>IAM policy document specifying the access policies for the new Amazon ES
* domain.</p>
*/
inline const Aws::String& GetAccessPolicies() const{ return m_accessPolicies; }
/**
* <p>IAM policy document specifying the access policies for the new Amazon ES
* domain.</p>
*/
inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
/**
* <p>IAM policy document specifying the access policies for the new Amazon ES
* domain.</p>
*/
inline void SetAccessPolicies(const Aws::String& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = value; }
/**
* <p>IAM policy document specifying the access policies for the new Amazon ES
* domain.</p>
*/
inline void SetAccessPolicies(Aws::String&& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = std::move(value); }
/**
* <p>IAM policy document specifying the access policies for the new Amazon ES
* domain.</p>
*/
inline void SetAccessPolicies(const char* value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies.assign(value); }
/**
* <p>IAM policy document specifying the access policies for the new Amazon ES
* domain.</p>
*/
inline AwsElasticsearchDomainDetails& WithAccessPolicies(const Aws::String& value) { SetAccessPolicies(value); return *this;}
/**
* <p>IAM policy document specifying the access policies for the new Amazon ES
* domain.</p>
*/
inline AwsElasticsearchDomainDetails& WithAccessPolicies(Aws::String&& value) { SetAccessPolicies(std::move(value)); return *this;}
/**
* <p>IAM policy document specifying the access policies for the new Amazon ES
* domain.</p>
*/
inline AwsElasticsearchDomainDetails& WithAccessPolicies(const char* value) { SetAccessPolicies(value); return *this;}
/**
* <p>Additional options for the domain endpoint.</p>
*/
inline const AwsElasticsearchDomainDomainEndpointOptions& GetDomainEndpointOptions() const{ return m_domainEndpointOptions; }
/**
* <p>Additional options for the domain endpoint.</p>
*/
inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
/**
* <p>Additional options for the domain endpoint.</p>
*/
inline void SetDomainEndpointOptions(const AwsElasticsearchDomainDomainEndpointOptions& value) { m_domainEndpointOptionsHasBeenSet = true; m_domainEndpointOptions = value; }
/**
* <p>Additional options for the domain endpoint.</p>
*/
inline void SetDomainEndpointOptions(AwsElasticsearchDomainDomainEndpointOptions&& value) { m_domainEndpointOptionsHasBeenSet = true; m_domainEndpointOptions = std::move(value); }
/**
* <p>Additional options for the domain endpoint.</p>
*/
inline AwsElasticsearchDomainDetails& WithDomainEndpointOptions(const AwsElasticsearchDomainDomainEndpointOptions& value) { SetDomainEndpointOptions(value); return *this;}
/**
* <p>Additional options for the domain endpoint.</p>
*/
inline AwsElasticsearchDomainDetails& WithDomainEndpointOptions(AwsElasticsearchDomainDomainEndpointOptions&& value) { SetDomainEndpointOptions(std::move(value)); return *this;}
/**
* <p>Unique identifier for an Amazon ES domain.</p>
*/
inline const Aws::String& GetDomainId() const{ return m_domainId; }
/**
* <p>Unique identifier for an Amazon ES domain.</p>
*/
inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
/**
* <p>Unique identifier for an Amazon ES domain.</p>
*/
inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
/**
* <p>Unique identifier for an Amazon ES domain.</p>
*/
inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
/**
* <p>Unique identifier for an Amazon ES domain.</p>
*/
inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
/**
* <p>Unique identifier for an Amazon ES domain.</p>
*/
inline AwsElasticsearchDomainDetails& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
/**
* <p>Unique identifier for an Amazon ES domain.</p>
*/
inline AwsElasticsearchDomainDetails& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
/**
* <p>Unique identifier for an Amazon ES domain.</p>
*/
inline AwsElasticsearchDomainDetails& WithDomainId(const char* value) { SetDomainId(value); return *this;}
/**
* <p>Name of an Amazon ES domain.</p> <p>Domain names are unique across all
* domains owned by the same account within an AWS Region.</p> <p>Domain names must
* start with a lowercase letter and must be between 3 and 28 characters.</p>
* <p>Valid characters are a-z (lowercase only), 0-9, and (hyphen). </p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>Name of an Amazon ES domain.</p> <p>Domain names are unique across all
* domains owned by the same account within an AWS Region.</p> <p>Domain names must
* start with a lowercase letter and must be between 3 and 28 characters.</p>
* <p>Valid characters are a-z (lowercase only), 0-9, and (hyphen). </p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>Name of an Amazon ES domain.</p> <p>Domain names are unique across all
* domains owned by the same account within an AWS Region.</p> <p>Domain names must
* start with a lowercase letter and must be between 3 and 28 characters.</p>
* <p>Valid characters are a-z (lowercase only), 0-9, and (hyphen). </p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>Name of an Amazon ES domain.</p> <p>Domain names are unique across all
* domains owned by the same account within an AWS Region.</p> <p>Domain names must
* start with a lowercase letter and must be between 3 and 28 characters.</p>
* <p>Valid characters are a-z (lowercase only), 0-9, and (hyphen). </p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>Name of an Amazon ES domain.</p> <p>Domain names are unique across all
* domains owned by the same account within an AWS Region.</p> <p>Domain names must
* start with a lowercase letter and must be between 3 and 28 characters.</p>
* <p>Valid characters are a-z (lowercase only), 0-9, and (hyphen). </p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>Name of an Amazon ES domain.</p> <p>Domain names are unique across all
* domains owned by the same account within an AWS Region.</p> <p>Domain names must
* start with a lowercase letter and must be between 3 and 28 characters.</p>
* <p>Valid characters are a-z (lowercase only), 0-9, and (hyphen). </p>
*/
inline AwsElasticsearchDomainDetails& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>Name of an Amazon ES domain.</p> <p>Domain names are unique across all
* domains owned by the same account within an AWS Region.</p> <p>Domain names must
* start with a lowercase letter and must be between 3 and 28 characters.</p>
* <p>Valid characters are a-z (lowercase only), 0-9, and (hyphen). </p>
*/
inline AwsElasticsearchDomainDetails& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>Name of an Amazon ES domain.</p> <p>Domain names are unique across all
* domains owned by the same account within an AWS Region.</p> <p>Domain names must
* start with a lowercase letter and must be between 3 and 28 characters.</p>
* <p>Valid characters are a-z (lowercase only), 0-9, and (hyphen). </p>
*/
inline AwsElasticsearchDomainDetails& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>Domain-specific endpoint used to submit index, search, and data upload
* requests to an Amazon ES domain.</p> <p>The endpoint is a service URL. </p>
*/
inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
/**
* <p>Domain-specific endpoint used to submit index, search, and data upload
* requests to an Amazon ES domain.</p> <p>The endpoint is a service URL. </p>
*/
inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
/**
* <p>Domain-specific endpoint used to submit index, search, and data upload
* requests to an Amazon ES domain.</p> <p>The endpoint is a service URL. </p>
*/
inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
/**
* <p>Domain-specific endpoint used to submit index, search, and data upload
* requests to an Amazon ES domain.</p> <p>The endpoint is a service URL. </p>
*/
inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
/**
* <p>Domain-specific endpoint used to submit index, search, and data upload
* requests to an Amazon ES domain.</p> <p>The endpoint is a service URL. </p>
*/
inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
/**
* <p>Domain-specific endpoint used to submit index, search, and data upload
* requests to an Amazon ES domain.</p> <p>The endpoint is a service URL. </p>
*/
inline AwsElasticsearchDomainDetails& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
/**
* <p>Domain-specific endpoint used to submit index, search, and data upload
* requests to an Amazon ES domain.</p> <p>The endpoint is a service URL. </p>
*/
inline AwsElasticsearchDomainDetails& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
/**
* <p>Domain-specific endpoint used to submit index, search, and data upload
* requests to an Amazon ES domain.</p> <p>The endpoint is a service URL. </p>
*/
inline AwsElasticsearchDomainDetails& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
/**
* <p>The key-value pair that exists if the Amazon ES domain uses VPC
* endpoints.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetEndpoints() const{ return m_endpoints; }
/**
* <p>The key-value pair that exists if the Amazon ES domain uses VPC
* endpoints.</p>
*/
inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
/**
* <p>The key-value pair that exists if the Amazon ES domain uses VPC
* endpoints.</p>
*/
inline void SetEndpoints(const Aws::Map<Aws::String, Aws::String>& value) { m_endpointsHasBeenSet = true; m_endpoints = value; }
/**
* <p>The key-value pair that exists if the Amazon ES domain uses VPC
* endpoints.</p>
*/
inline void SetEndpoints(Aws::Map<Aws::String, Aws::String>&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::move(value); }
/**
* <p>The key-value pair that exists if the Amazon ES domain uses VPC
* endpoints.</p>
*/
inline AwsElasticsearchDomainDetails& WithEndpoints(const Aws::Map<Aws::String, Aws::String>& value) { SetEndpoints(value); return *this;}
/**
* <p>The key-value pair that exists if the Amazon ES domain uses VPC
* endpoints.</p>
*/
inline AwsElasticsearchDomainDetails& WithEndpoints(Aws::Map<Aws::String, Aws::String>&& value) { SetEndpoints(std::move(value)); return *this;}
/**
* <p>The key-value pair that exists if the Amazon ES domain uses VPC
* endpoints.</p>
*/
inline AwsElasticsearchDomainDetails& AddEndpoints(const Aws::String& key, const Aws::String& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(key, value); return *this; }
/**
* <p>The key-value pair that exists if the Amazon ES domain uses VPC
* endpoints.</p>
*/
inline AwsElasticsearchDomainDetails& AddEndpoints(Aws::String&& key, const Aws::String& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(std::move(key), value); return *this; }
/**
* <p>The key-value pair that exists if the Amazon ES domain uses VPC
* endpoints.</p>
*/
inline AwsElasticsearchDomainDetails& AddEndpoints(const Aws::String& key, Aws::String&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(key, std::move(value)); return *this; }
/**
* <p>The key-value pair that exists if the Amazon ES domain uses VPC
* endpoints.</p>
*/
inline AwsElasticsearchDomainDetails& AddEndpoints(Aws::String&& key, Aws::String&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>The key-value pair that exists if the Amazon ES domain uses VPC
* endpoints.</p>
*/
inline AwsElasticsearchDomainDetails& AddEndpoints(const char* key, Aws::String&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(key, std::move(value)); return *this; }
/**
* <p>The key-value pair that exists if the Amazon ES domain uses VPC
* endpoints.</p>
*/
inline AwsElasticsearchDomainDetails& AddEndpoints(Aws::String&& key, const char* value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(std::move(key), value); return *this; }
/**
* <p>The key-value pair that exists if the Amazon ES domain uses VPC
* endpoints.</p>
*/
inline AwsElasticsearchDomainDetails& AddEndpoints(const char* key, const char* value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(key, value); return *this; }
/**
* <p>Elasticsearch version.</p>
*/
inline const Aws::String& GetElasticsearchVersion() const{ return m_elasticsearchVersion; }
/**
* <p>Elasticsearch version.</p>
*/
inline bool ElasticsearchVersionHasBeenSet() const { return m_elasticsearchVersionHasBeenSet; }
/**
* <p>Elasticsearch version.</p>
*/
inline void SetElasticsearchVersion(const Aws::String& value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion = value; }
/**
* <p>Elasticsearch version.</p>
*/
inline void SetElasticsearchVersion(Aws::String&& value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion = std::move(value); }
/**
* <p>Elasticsearch version.</p>
*/
inline void SetElasticsearchVersion(const char* value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion.assign(value); }
/**
* <p>Elasticsearch version.</p>
*/
inline AwsElasticsearchDomainDetails& WithElasticsearchVersion(const Aws::String& value) { SetElasticsearchVersion(value); return *this;}
/**
* <p>Elasticsearch version.</p>
*/
inline AwsElasticsearchDomainDetails& WithElasticsearchVersion(Aws::String&& value) { SetElasticsearchVersion(std::move(value)); return *this;}
/**
* <p>Elasticsearch version.</p>
*/
inline AwsElasticsearchDomainDetails& WithElasticsearchVersion(const char* value) { SetElasticsearchVersion(value); return *this;}
/**
* <p>Details about the configuration for encryption at rest.</p>
*/
inline const AwsElasticsearchDomainEncryptionAtRestOptions& GetEncryptionAtRestOptions() const{ return m_encryptionAtRestOptions; }
/**
* <p>Details about the configuration for encryption at rest.</p>
*/
inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
/**
* <p>Details about the configuration for encryption at rest.</p>
*/
inline void SetEncryptionAtRestOptions(const AwsElasticsearchDomainEncryptionAtRestOptions& value) { m_encryptionAtRestOptionsHasBeenSet = true; m_encryptionAtRestOptions = value; }
/**
* <p>Details about the configuration for encryption at rest.</p>
*/
inline void SetEncryptionAtRestOptions(AwsElasticsearchDomainEncryptionAtRestOptions&& value) { m_encryptionAtRestOptionsHasBeenSet = true; m_encryptionAtRestOptions = std::move(value); }
/**
* <p>Details about the configuration for encryption at rest.</p>
*/
inline AwsElasticsearchDomainDetails& WithEncryptionAtRestOptions(const AwsElasticsearchDomainEncryptionAtRestOptions& value) { SetEncryptionAtRestOptions(value); return *this;}
/**
* <p>Details about the configuration for encryption at rest.</p>
*/
inline AwsElasticsearchDomainDetails& WithEncryptionAtRestOptions(AwsElasticsearchDomainEncryptionAtRestOptions&& value) { SetEncryptionAtRestOptions(std::move(value)); return *this;}
/**
* <p>Details about the configuration for node-to-node encryption.</p>
*/
inline const AwsElasticsearchDomainNodeToNodeEncryptionOptions& GetNodeToNodeEncryptionOptions() const{ return m_nodeToNodeEncryptionOptions; }
/**
* <p>Details about the configuration for node-to-node encryption.</p>
*/
inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; }
/**
* <p>Details about the configuration for node-to-node encryption.</p>
*/
inline void SetNodeToNodeEncryptionOptions(const AwsElasticsearchDomainNodeToNodeEncryptionOptions& value) { m_nodeToNodeEncryptionOptionsHasBeenSet = true; m_nodeToNodeEncryptionOptions = value; }
/**
* <p>Details about the configuration for node-to-node encryption.</p>
*/
inline void SetNodeToNodeEncryptionOptions(AwsElasticsearchDomainNodeToNodeEncryptionOptions&& value) { m_nodeToNodeEncryptionOptionsHasBeenSet = true; m_nodeToNodeEncryptionOptions = std::move(value); }
/**
* <p>Details about the configuration for node-to-node encryption.</p>
*/
inline AwsElasticsearchDomainDetails& WithNodeToNodeEncryptionOptions(const AwsElasticsearchDomainNodeToNodeEncryptionOptions& value) { SetNodeToNodeEncryptionOptions(value); return *this;}
/**
* <p>Details about the configuration for node-to-node encryption.</p>
*/
inline AwsElasticsearchDomainDetails& WithNodeToNodeEncryptionOptions(AwsElasticsearchDomainNodeToNodeEncryptionOptions&& value) { SetNodeToNodeEncryptionOptions(std::move(value)); return *this;}
/**
* <p>Information that Amazon ES derives based on <code>VPCOptions</code> for the
* domain.</p>
*/
inline const AwsElasticsearchDomainVPCOptions& GetVPCOptions() const{ return m_vPCOptions; }
/**
* <p>Information that Amazon ES derives based on <code>VPCOptions</code> for the
* domain.</p>
*/
inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
/**
* <p>Information that Amazon ES derives based on <code>VPCOptions</code> for the
* domain.</p>
*/
inline void SetVPCOptions(const AwsElasticsearchDomainVPCOptions& value) { m_vPCOptionsHasBeenSet = true; m_vPCOptions = value; }
/**
* <p>Information that Amazon ES derives based on <code>VPCOptions</code> for the
* domain.</p>
*/
inline void SetVPCOptions(AwsElasticsearchDomainVPCOptions&& value) { m_vPCOptionsHasBeenSet = true; m_vPCOptions = std::move(value); }
/**
* <p>Information that Amazon ES derives based on <code>VPCOptions</code> for the
* domain.</p>
*/
inline AwsElasticsearchDomainDetails& WithVPCOptions(const AwsElasticsearchDomainVPCOptions& value) { SetVPCOptions(value); return *this;}
/**
* <p>Information that Amazon ES derives based on <code>VPCOptions</code> for the
* domain.</p>
*/
inline AwsElasticsearchDomainDetails& WithVPCOptions(AwsElasticsearchDomainVPCOptions&& value) { SetVPCOptions(std::move(value)); return *this;}
private:
Aws::String m_accessPolicies;
bool m_accessPoliciesHasBeenSet;
AwsElasticsearchDomainDomainEndpointOptions m_domainEndpointOptions;
bool m_domainEndpointOptionsHasBeenSet;
Aws::String m_domainId;
bool m_domainIdHasBeenSet;
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
Aws::String m_endpoint;
bool m_endpointHasBeenSet;
Aws::Map<Aws::String, Aws::String> m_endpoints;
bool m_endpointsHasBeenSet;
Aws::String m_elasticsearchVersion;
bool m_elasticsearchVersionHasBeenSet;
AwsElasticsearchDomainEncryptionAtRestOptions m_encryptionAtRestOptions;
bool m_encryptionAtRestOptionsHasBeenSet;
AwsElasticsearchDomainNodeToNodeEncryptionOptions m_nodeToNodeEncryptionOptions;
bool m_nodeToNodeEncryptionOptionsHasBeenSet;
AwsElasticsearchDomainVPCOptions m_vPCOptions;
bool m_vPCOptionsHasBeenSet;
};
} // namespace Model
} // namespace SecurityHub
} // namespace Aws