/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The input to the RegisterCACertificate operation.See Also:
* AWS
* API Reference
The CA certificate.
*/ inline const Aws::String& GetCaCertificate() const{ return m_caCertificate; } /** *The CA certificate.
*/ inline bool CaCertificateHasBeenSet() const { return m_caCertificateHasBeenSet; } /** *The CA certificate.
*/ inline void SetCaCertificate(const Aws::String& value) { m_caCertificateHasBeenSet = true; m_caCertificate = value; } /** *The CA certificate.
*/ inline void SetCaCertificate(Aws::String&& value) { m_caCertificateHasBeenSet = true; m_caCertificate = std::move(value); } /** *The CA certificate.
*/ inline void SetCaCertificate(const char* value) { m_caCertificateHasBeenSet = true; m_caCertificate.assign(value); } /** *The CA certificate.
*/ inline RegisterCACertificateRequest& WithCaCertificate(const Aws::String& value) { SetCaCertificate(value); return *this;} /** *The CA certificate.
*/ inline RegisterCACertificateRequest& WithCaCertificate(Aws::String&& value) { SetCaCertificate(std::move(value)); return *this;} /** *The CA certificate.
*/ inline RegisterCACertificateRequest& WithCaCertificate(const char* value) { SetCaCertificate(value); return *this;} /** *The private key verification certificate. If certificateMode is
* SNI_ONLY, the verificationCertificate field must be
* empty. If certificateMode is DEFAULT or not provided,
* the verificationCertificate field must not be empty.
The private key verification certificate. If certificateMode is
* SNI_ONLY, the verificationCertificate field must be
* empty. If certificateMode is DEFAULT or not provided,
* the verificationCertificate field must not be empty.
The private key verification certificate. If certificateMode is
* SNI_ONLY, the verificationCertificate field must be
* empty. If certificateMode is DEFAULT or not provided,
* the verificationCertificate field must not be empty.
The private key verification certificate. If certificateMode is
* SNI_ONLY, the verificationCertificate field must be
* empty. If certificateMode is DEFAULT or not provided,
* the verificationCertificate field must not be empty.
The private key verification certificate. If certificateMode is
* SNI_ONLY, the verificationCertificate field must be
* empty. If certificateMode is DEFAULT or not provided,
* the verificationCertificate field must not be empty.
The private key verification certificate. If certificateMode is
* SNI_ONLY, the verificationCertificate field must be
* empty. If certificateMode is DEFAULT or not provided,
* the verificationCertificate field must not be empty.
The private key verification certificate. If certificateMode is
* SNI_ONLY, the verificationCertificate field must be
* empty. If certificateMode is DEFAULT or not provided,
* the verificationCertificate field must not be empty.
The private key verification certificate. If certificateMode is
* SNI_ONLY, the verificationCertificate field must be
* empty. If certificateMode is DEFAULT or not provided,
* the verificationCertificate field must not be empty.
A boolean value that specifies if the CA certificate is set to active.
*Valid values: ACTIVE | INACTIVE
A boolean value that specifies if the CA certificate is set to active.
*Valid values: ACTIVE | INACTIVE
A boolean value that specifies if the CA certificate is set to active.
*Valid values: ACTIVE | INACTIVE
A boolean value that specifies if the CA certificate is set to active.
*Valid values: ACTIVE | INACTIVE
Allows this CA certificate to be used for auto registration of device * certificates.
*/ inline bool GetAllowAutoRegistration() const{ return m_allowAutoRegistration; } /** *Allows this CA certificate to be used for auto registration of device * certificates.
*/ inline bool AllowAutoRegistrationHasBeenSet() const { return m_allowAutoRegistrationHasBeenSet; } /** *Allows this CA certificate to be used for auto registration of device * certificates.
*/ inline void SetAllowAutoRegistration(bool value) { m_allowAutoRegistrationHasBeenSet = true; m_allowAutoRegistration = value; } /** *Allows this CA certificate to be used for auto registration of device * certificates.
*/ inline RegisterCACertificateRequest& WithAllowAutoRegistration(bool value) { SetAllowAutoRegistration(value); return *this;} /** *Information about the registration configuration.
*/ inline const RegistrationConfig& GetRegistrationConfig() const{ return m_registrationConfig; } /** *Information about the registration configuration.
*/ inline bool RegistrationConfigHasBeenSet() const { return m_registrationConfigHasBeenSet; } /** *Information about the registration configuration.
*/ inline void SetRegistrationConfig(const RegistrationConfig& value) { m_registrationConfigHasBeenSet = true; m_registrationConfig = value; } /** *Information about the registration configuration.
*/ inline void SetRegistrationConfig(RegistrationConfig&& value) { m_registrationConfigHasBeenSet = true; m_registrationConfig = std::move(value); } /** *Information about the registration configuration.
*/ inline RegisterCACertificateRequest& WithRegistrationConfig(const RegistrationConfig& value) { SetRegistrationConfig(value); return *this;} /** *Information about the registration configuration.
*/ inline RegisterCACertificateRequest& WithRegistrationConfig(RegistrationConfig&& value) { SetRegistrationConfig(std::move(value)); return *this;} /** *Metadata which can be used to manage the CA certificate.
For * URI Request parameters use format: ...key1=value1&key2=value2...
For * the CLI command-line parameter use format: &&tags * "key1=value1&key2=value2..."
For the cli-input-json file use format: * "tags": "key1=value1&key2=value2..."
*/ inline const Aws::VectorMetadata which can be used to manage the CA certificate.
For * URI Request parameters use format: ...key1=value1&key2=value2...
For * the CLI command-line parameter use format: &&tags * "key1=value1&key2=value2..."
For the cli-input-json file use format: * "tags": "key1=value1&key2=value2..."
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Metadata which can be used to manage the CA certificate.
For * URI Request parameters use format: ...key1=value1&key2=value2...
For * the CLI command-line parameter use format: &&tags * "key1=value1&key2=value2..."
For the cli-input-json file use format: * "tags": "key1=value1&key2=value2..."
*/ inline void SetTags(const Aws::VectorMetadata which can be used to manage the CA certificate.
For * URI Request parameters use format: ...key1=value1&key2=value2...
For * the CLI command-line parameter use format: &&tags * "key1=value1&key2=value2..."
For the cli-input-json file use format: * "tags": "key1=value1&key2=value2..."
*/ inline void SetTags(Aws::VectorMetadata which can be used to manage the CA certificate.
For * URI Request parameters use format: ...key1=value1&key2=value2...
For * the CLI command-line parameter use format: &&tags * "key1=value1&key2=value2..."
For the cli-input-json file use format: * "tags": "key1=value1&key2=value2..."
*/ inline RegisterCACertificateRequest& WithTags(const Aws::VectorMetadata which can be used to manage the CA certificate.
For * URI Request parameters use format: ...key1=value1&key2=value2...
For * the CLI command-line parameter use format: &&tags * "key1=value1&key2=value2..."
For the cli-input-json file use format: * "tags": "key1=value1&key2=value2..."
*/ inline RegisterCACertificateRequest& WithTags(Aws::VectorMetadata which can be used to manage the CA certificate.
For * URI Request parameters use format: ...key1=value1&key2=value2...
For * the CLI command-line parameter use format: &&tags * "key1=value1&key2=value2..."
For the cli-input-json file use format: * "tags": "key1=value1&key2=value2..."
*/ inline RegisterCACertificateRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *Metadata which can be used to manage the CA certificate.
For * URI Request parameters use format: ...key1=value1&key2=value2...
For * the CLI command-line parameter use format: &&tags * "key1=value1&key2=value2..."
For the cli-input-json file use format: * "tags": "key1=value1&key2=value2..."
*/ inline RegisterCACertificateRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *Describes the certificate mode in which the Certificate Authority (CA) will
* be registered. If the verificationCertificate field is not
* provided, set certificateMode to be SNI_ONLY. If the
* verificationCertificate field is provided, set
* certificateMode to be DEFAULT. When
* certificateMode is not provided, it defaults to
* DEFAULT. All the device certificates that are registered using this
* CA will be registered in the same certificate mode as the CA. For more
* information about certificate mode for device certificates, see
* certificate mode.
Describes the certificate mode in which the Certificate Authority (CA) will
* be registered. If the verificationCertificate field is not
* provided, set certificateMode to be SNI_ONLY. If the
* verificationCertificate field is provided, set
* certificateMode to be DEFAULT. When
* certificateMode is not provided, it defaults to
* DEFAULT. All the device certificates that are registered using this
* CA will be registered in the same certificate mode as the CA. For more
* information about certificate mode for device certificates, see
* certificate mode.
Describes the certificate mode in which the Certificate Authority (CA) will
* be registered. If the verificationCertificate field is not
* provided, set certificateMode to be SNI_ONLY. If the
* verificationCertificate field is provided, set
* certificateMode to be DEFAULT. When
* certificateMode is not provided, it defaults to
* DEFAULT. All the device certificates that are registered using this
* CA will be registered in the same certificate mode as the CA. For more
* information about certificate mode for device certificates, see
* certificate mode.
Describes the certificate mode in which the Certificate Authority (CA) will
* be registered. If the verificationCertificate field is not
* provided, set certificateMode to be SNI_ONLY. If the
* verificationCertificate field is provided, set
* certificateMode to be DEFAULT. When
* certificateMode is not provided, it defaults to
* DEFAULT. All the device certificates that are registered using this
* CA will be registered in the same certificate mode as the CA. For more
* information about certificate mode for device certificates, see
* certificate mode.
Describes the certificate mode in which the Certificate Authority (CA) will
* be registered. If the verificationCertificate field is not
* provided, set certificateMode to be SNI_ONLY. If the
* verificationCertificate field is provided, set
* certificateMode to be DEFAULT. When
* certificateMode is not provided, it defaults to
* DEFAULT. All the device certificates that are registered using this
* CA will be registered in the same certificate mode as the CA. For more
* information about certificate mode for device certificates, see
* certificate mode.
Describes the certificate mode in which the Certificate Authority (CA) will
* be registered. If the verificationCertificate field is not
* provided, set certificateMode to be SNI_ONLY. If the
* verificationCertificate field is provided, set
* certificateMode to be DEFAULT. When
* certificateMode is not provided, it defaults to
* DEFAULT. All the device certificates that are registered using this
* CA will be registered in the same certificate mode as the CA. For more
* information about certificate mode for device certificates, see
* certificate mode.