/** * 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 GetConfigResult { public: AWS_CLOUDHSM_API GetConfigResult(); AWS_CLOUDHSM_API GetConfigResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDHSM_API 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;} 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 GetConfigResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetConfigResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetConfigResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_configType; Aws::String m_configFile; Aws::String m_configCred; Aws::String m_requestId; }; } // namespace Model } // namespace CloudHSM } // namespace Aws