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

The type of credentials.

*/ inline const Aws::String& GetConfigType() const{ return m_configType; } /** *

The type of credentials.

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

The type of credentials.

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

The type of credentials.

*/ inline void SetConfigType(const char* value) { m_configType.assign(value); } /** *

The type of credentials.

*/ inline GetConfigResult& WithConfigType(const Aws::String& value) { SetConfigType(value); return *this;} /** *

The type of credentials.

*/ inline GetConfigResult& WithConfigType(Aws::String&& value) { SetConfigType(std::move(value)); return *this;} /** *

The type of credentials.

*/ inline GetConfigResult& WithConfigType(const char* value) { SetConfigType(value); return *this;} /** *

The chrystoki.conf configuration file.

*/ inline const Aws::String& GetConfigFile() const{ return m_configFile; } /** *

The chrystoki.conf configuration file.

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

The chrystoki.conf configuration file.

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

The chrystoki.conf configuration file.

*/ inline void SetConfigFile(const char* value) { m_configFile.assign(value); } /** *

The chrystoki.conf configuration file.

*/ inline GetConfigResult& WithConfigFile(const Aws::String& value) { SetConfigFile(value); return *this;} /** *

The chrystoki.conf configuration file.

*/ inline GetConfigResult& WithConfigFile(Aws::String&& value) { SetConfigFile(std::move(value)); return *this;} /** *

The chrystoki.conf configuration file.

*/ inline GetConfigResult& WithConfigFile(const char* value) { SetConfigFile(value); return *this;} /** *

The certificate file containing the server.pem files of the HSMs.

*/ inline const Aws::String& GetConfigCred() const{ return m_configCred; } /** *

The certificate file containing the server.pem files of the HSMs.

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

The certificate file containing the server.pem files of the HSMs.

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

The certificate file containing the server.pem files of the HSMs.

*/ inline void SetConfigCred(const char* value) { m_configCred.assign(value); } /** *

The certificate file containing the server.pem files of the HSMs.

*/ inline GetConfigResult& WithConfigCred(const Aws::String& value) { SetConfigCred(value); return *this;} /** *

The certificate file containing the server.pem files of the HSMs.

*/ inline GetConfigResult& WithConfigCred(Aws::String&& value) { SetConfigCred(std::move(value)); return *this;} /** *

The certificate file containing the server.pem files of the HSMs.

*/ inline GetConfigResult& WithConfigCred(const char* value) { SetConfigCred(value); return *this;} private: Aws::String m_configType; Aws::String m_configFile; Aws::String m_configCred; }; } // namespace Model } // namespace CloudHSM } // namespace Aws