/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Appflow { namespace Model { /** *

The connector-specific profile credentials required by Infor Nexus. *

See Also:

AWS * API Reference

*/ class InforNexusConnectorProfileCredentials { public: AWS_APPFLOW_API InforNexusConnectorProfileCredentials(); AWS_APPFLOW_API InforNexusConnectorProfileCredentials(Aws::Utils::Json::JsonView jsonValue); AWS_APPFLOW_API InforNexusConnectorProfileCredentials& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Access Key portion of the credentials.

*/ inline const Aws::String& GetAccessKeyId() const{ return m_accessKeyId; } /** *

The Access Key portion of the credentials.

*/ inline bool AccessKeyIdHasBeenSet() const { return m_accessKeyIdHasBeenSet; } /** *

The Access Key portion of the credentials.

*/ inline void SetAccessKeyId(const Aws::String& value) { m_accessKeyIdHasBeenSet = true; m_accessKeyId = value; } /** *

The Access Key portion of the credentials.

*/ inline void SetAccessKeyId(Aws::String&& value) { m_accessKeyIdHasBeenSet = true; m_accessKeyId = std::move(value); } /** *

The Access Key portion of the credentials.

*/ inline void SetAccessKeyId(const char* value) { m_accessKeyIdHasBeenSet = true; m_accessKeyId.assign(value); } /** *

The Access Key portion of the credentials.

*/ inline InforNexusConnectorProfileCredentials& WithAccessKeyId(const Aws::String& value) { SetAccessKeyId(value); return *this;} /** *

The Access Key portion of the credentials.

*/ inline InforNexusConnectorProfileCredentials& WithAccessKeyId(Aws::String&& value) { SetAccessKeyId(std::move(value)); return *this;} /** *

The Access Key portion of the credentials.

*/ inline InforNexusConnectorProfileCredentials& WithAccessKeyId(const char* value) { SetAccessKeyId(value); return *this;} /** *

The identifier for the user.

*/ inline const Aws::String& GetUserId() const{ return m_userId; } /** *

The identifier for the user.

*/ inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } /** *

The identifier for the user.

*/ inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } /** *

The identifier for the user.

*/ inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } /** *

The identifier for the user.

*/ inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } /** *

The identifier for the user.

*/ inline InforNexusConnectorProfileCredentials& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} /** *

The identifier for the user.

*/ inline InforNexusConnectorProfileCredentials& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} /** *

The identifier for the user.

*/ inline InforNexusConnectorProfileCredentials& WithUserId(const char* value) { SetUserId(value); return *this;} /** *

The secret key used to sign requests.

*/ inline const Aws::String& GetSecretAccessKey() const{ return m_secretAccessKey; } /** *

The secret key used to sign requests.

*/ inline bool SecretAccessKeyHasBeenSet() const { return m_secretAccessKeyHasBeenSet; } /** *

The secret key used to sign requests.

*/ inline void SetSecretAccessKey(const Aws::String& value) { m_secretAccessKeyHasBeenSet = true; m_secretAccessKey = value; } /** *

The secret key used to sign requests.

*/ inline void SetSecretAccessKey(Aws::String&& value) { m_secretAccessKeyHasBeenSet = true; m_secretAccessKey = std::move(value); } /** *

The secret key used to sign requests.

*/ inline void SetSecretAccessKey(const char* value) { m_secretAccessKeyHasBeenSet = true; m_secretAccessKey.assign(value); } /** *

The secret key used to sign requests.

*/ inline InforNexusConnectorProfileCredentials& WithSecretAccessKey(const Aws::String& value) { SetSecretAccessKey(value); return *this;} /** *

The secret key used to sign requests.

*/ inline InforNexusConnectorProfileCredentials& WithSecretAccessKey(Aws::String&& value) { SetSecretAccessKey(std::move(value)); return *this;} /** *

The secret key used to sign requests.

*/ inline InforNexusConnectorProfileCredentials& WithSecretAccessKey(const char* value) { SetSecretAccessKey(value); return *this;} /** *

The encryption keys used to encrypt data.

*/ inline const Aws::String& GetDatakey() const{ return m_datakey; } /** *

The encryption keys used to encrypt data.

*/ inline bool DatakeyHasBeenSet() const { return m_datakeyHasBeenSet; } /** *

The encryption keys used to encrypt data.

*/ inline void SetDatakey(const Aws::String& value) { m_datakeyHasBeenSet = true; m_datakey = value; } /** *

The encryption keys used to encrypt data.

*/ inline void SetDatakey(Aws::String&& value) { m_datakeyHasBeenSet = true; m_datakey = std::move(value); } /** *

The encryption keys used to encrypt data.

*/ inline void SetDatakey(const char* value) { m_datakeyHasBeenSet = true; m_datakey.assign(value); } /** *

The encryption keys used to encrypt data.

*/ inline InforNexusConnectorProfileCredentials& WithDatakey(const Aws::String& value) { SetDatakey(value); return *this;} /** *

The encryption keys used to encrypt data.

*/ inline InforNexusConnectorProfileCredentials& WithDatakey(Aws::String&& value) { SetDatakey(std::move(value)); return *this;} /** *

The encryption keys used to encrypt data.

*/ inline InforNexusConnectorProfileCredentials& WithDatakey(const char* value) { SetDatakey(value); return *this;} private: Aws::String m_accessKeyId; bool m_accessKeyIdHasBeenSet = false; Aws::String m_userId; bool m_userIdHasBeenSet = false; Aws::String m_secretAccessKey; bool m_secretAccessKeyHasBeenSet = false; Aws::String m_datakey; bool m_datakeyHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws