/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include namespace Aws { namespace finspace { namespace Model { /** */ class CreateEnvironmentRequest : public FinspaceRequest { public: AWS_FINSPACE_API CreateEnvironmentRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateEnvironment"; } AWS_FINSPACE_API Aws::String SerializePayload() const override; /** *

The name of the FinSpace environment to be created.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the FinSpace environment to be created.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the FinSpace environment to be created.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the FinSpace environment to be created.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the FinSpace environment to be created.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the FinSpace environment to be created.

*/ inline CreateEnvironmentRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the FinSpace environment to be created.

*/ inline CreateEnvironmentRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the FinSpace environment to be created.

*/ inline CreateEnvironmentRequest& WithName(const char* value) { SetName(value); return *this;} /** *

The description of the FinSpace environment to be created.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the FinSpace environment to be created.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the FinSpace environment to be created.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the FinSpace environment to be created.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the FinSpace environment to be created.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the FinSpace environment to be created.

*/ inline CreateEnvironmentRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the FinSpace environment to be created.

*/ inline CreateEnvironmentRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the FinSpace environment to be created.

*/ inline CreateEnvironmentRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The KMS key id to encrypt your data in the FinSpace environment.

*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *

The KMS key id to encrypt your data in the FinSpace environment.

*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *

The KMS key id to encrypt your data in the FinSpace environment.

*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** *

The KMS key id to encrypt your data in the FinSpace environment.

*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** *

The KMS key id to encrypt your data in the FinSpace environment.

*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** *

The KMS key id to encrypt your data in the FinSpace environment.

*/ inline CreateEnvironmentRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *

The KMS key id to encrypt your data in the FinSpace environment.

*/ inline CreateEnvironmentRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *

The KMS key id to encrypt your data in the FinSpace environment.

*/ inline CreateEnvironmentRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** *

Add tags to your FinSpace environment.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Add tags to your FinSpace environment.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Add tags to your FinSpace environment.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

Add tags to your FinSpace environment.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

Add tags to your FinSpace environment.

*/ inline CreateEnvironmentRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Add tags to your FinSpace environment.

*/ inline CreateEnvironmentRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Add tags to your FinSpace environment.

*/ inline CreateEnvironmentRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

Add tags to your FinSpace environment.

*/ inline CreateEnvironmentRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Add tags to your FinSpace environment.

*/ inline CreateEnvironmentRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Add tags to your FinSpace environment.

*/ inline CreateEnvironmentRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Add tags to your FinSpace environment.

*/ inline CreateEnvironmentRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Add tags to your FinSpace environment.

*/ inline CreateEnvironmentRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Add tags to your FinSpace environment.

*/ inline CreateEnvironmentRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

Authentication mode for the environment.

  • * FEDERATED - Users access FinSpace through Single Sign On (SSO) via * your Identity provider.

  • LOCAL - Users access * FinSpace via email and password managed within the FinSpace environment.

    *
*/ inline const FederationMode& GetFederationMode() const{ return m_federationMode; } /** *

Authentication mode for the environment.

  • * FEDERATED - Users access FinSpace through Single Sign On (SSO) via * your Identity provider.

  • LOCAL - Users access * FinSpace via email and password managed within the FinSpace environment.

    *
*/ inline bool FederationModeHasBeenSet() const { return m_federationModeHasBeenSet; } /** *

Authentication mode for the environment.

  • * FEDERATED - Users access FinSpace through Single Sign On (SSO) via * your Identity provider.

  • LOCAL - Users access * FinSpace via email and password managed within the FinSpace environment.

    *
*/ inline void SetFederationMode(const FederationMode& value) { m_federationModeHasBeenSet = true; m_federationMode = value; } /** *

Authentication mode for the environment.

  • * FEDERATED - Users access FinSpace through Single Sign On (SSO) via * your Identity provider.

  • LOCAL - Users access * FinSpace via email and password managed within the FinSpace environment.

    *
*/ inline void SetFederationMode(FederationMode&& value) { m_federationModeHasBeenSet = true; m_federationMode = std::move(value); } /** *

Authentication mode for the environment.

  • * FEDERATED - Users access FinSpace through Single Sign On (SSO) via * your Identity provider.

  • LOCAL - Users access * FinSpace via email and password managed within the FinSpace environment.

    *
*/ inline CreateEnvironmentRequest& WithFederationMode(const FederationMode& value) { SetFederationMode(value); return *this;} /** *

Authentication mode for the environment.

  • * FEDERATED - Users access FinSpace through Single Sign On (SSO) via * your Identity provider.

  • LOCAL - Users access * FinSpace via email and password managed within the FinSpace environment.

    *
*/ inline CreateEnvironmentRequest& WithFederationMode(FederationMode&& value) { SetFederationMode(std::move(value)); return *this;} /** *

Configuration information when authentication mode is FEDERATED.

*/ inline const FederationParameters& GetFederationParameters() const{ return m_federationParameters; } /** *

Configuration information when authentication mode is FEDERATED.

*/ inline bool FederationParametersHasBeenSet() const { return m_federationParametersHasBeenSet; } /** *

Configuration information when authentication mode is FEDERATED.

*/ inline void SetFederationParameters(const FederationParameters& value) { m_federationParametersHasBeenSet = true; m_federationParameters = value; } /** *

Configuration information when authentication mode is FEDERATED.

*/ inline void SetFederationParameters(FederationParameters&& value) { m_federationParametersHasBeenSet = true; m_federationParameters = std::move(value); } /** *

Configuration information when authentication mode is FEDERATED.

*/ inline CreateEnvironmentRequest& WithFederationParameters(const FederationParameters& value) { SetFederationParameters(value); return *this;} /** *

Configuration information when authentication mode is FEDERATED.

*/ inline CreateEnvironmentRequest& WithFederationParameters(FederationParameters&& value) { SetFederationParameters(std::move(value)); return *this;} /** *

Configuration information for the superuser.

*/ inline const SuperuserParameters& GetSuperuserParameters() const{ return m_superuserParameters; } /** *

Configuration information for the superuser.

*/ inline bool SuperuserParametersHasBeenSet() const { return m_superuserParametersHasBeenSet; } /** *

Configuration information for the superuser.

*/ inline void SetSuperuserParameters(const SuperuserParameters& value) { m_superuserParametersHasBeenSet = true; m_superuserParameters = value; } /** *

Configuration information for the superuser.

*/ inline void SetSuperuserParameters(SuperuserParameters&& value) { m_superuserParametersHasBeenSet = true; m_superuserParameters = std::move(value); } /** *

Configuration information for the superuser.

*/ inline CreateEnvironmentRequest& WithSuperuserParameters(const SuperuserParameters& value) { SetSuperuserParameters(value); return *this;} /** *

Configuration information for the superuser.

*/ inline CreateEnvironmentRequest& WithSuperuserParameters(SuperuserParameters&& value) { SetSuperuserParameters(std::move(value)); return *this;} /** *

The list of Amazon Resource Names (ARN) of the data bundles to install. * Currently supported data bundle ARNs:

  • * arn:aws:finspace:${Region}::data-bundle/capital-markets-sample - * Contains sample Capital Markets datasets, categories and controlled * vocabularies.

  • * arn:aws:finspace:${Region}::data-bundle/taq (default) - Contains * trades and quotes data in addition to sample Capital Markets data.

  • *
*/ inline const Aws::Vector& GetDataBundles() const{ return m_dataBundles; } /** *

The list of Amazon Resource Names (ARN) of the data bundles to install. * Currently supported data bundle ARNs:

  • * arn:aws:finspace:${Region}::data-bundle/capital-markets-sample - * Contains sample Capital Markets datasets, categories and controlled * vocabularies.

  • * arn:aws:finspace:${Region}::data-bundle/taq (default) - Contains * trades and quotes data in addition to sample Capital Markets data.

  • *
*/ inline bool DataBundlesHasBeenSet() const { return m_dataBundlesHasBeenSet; } /** *

The list of Amazon Resource Names (ARN) of the data bundles to install. * Currently supported data bundle ARNs:

  • * arn:aws:finspace:${Region}::data-bundle/capital-markets-sample - * Contains sample Capital Markets datasets, categories and controlled * vocabularies.

  • * arn:aws:finspace:${Region}::data-bundle/taq (default) - Contains * trades and quotes data in addition to sample Capital Markets data.

  • *
*/ inline void SetDataBundles(const Aws::Vector& value) { m_dataBundlesHasBeenSet = true; m_dataBundles = value; } /** *

The list of Amazon Resource Names (ARN) of the data bundles to install. * Currently supported data bundle ARNs:

  • * arn:aws:finspace:${Region}::data-bundle/capital-markets-sample - * Contains sample Capital Markets datasets, categories and controlled * vocabularies.

  • * arn:aws:finspace:${Region}::data-bundle/taq (default) - Contains * trades and quotes data in addition to sample Capital Markets data.

  • *
*/ inline void SetDataBundles(Aws::Vector&& value) { m_dataBundlesHasBeenSet = true; m_dataBundles = std::move(value); } /** *

The list of Amazon Resource Names (ARN) of the data bundles to install. * Currently supported data bundle ARNs:

  • * arn:aws:finspace:${Region}::data-bundle/capital-markets-sample - * Contains sample Capital Markets datasets, categories and controlled * vocabularies.

  • * arn:aws:finspace:${Region}::data-bundle/taq (default) - Contains * trades and quotes data in addition to sample Capital Markets data.

  • *
*/ inline CreateEnvironmentRequest& WithDataBundles(const Aws::Vector& value) { SetDataBundles(value); return *this;} /** *

The list of Amazon Resource Names (ARN) of the data bundles to install. * Currently supported data bundle ARNs:

  • * arn:aws:finspace:${Region}::data-bundle/capital-markets-sample - * Contains sample Capital Markets datasets, categories and controlled * vocabularies.

  • * arn:aws:finspace:${Region}::data-bundle/taq (default) - Contains * trades and quotes data in addition to sample Capital Markets data.

  • *
*/ inline CreateEnvironmentRequest& WithDataBundles(Aws::Vector&& value) { SetDataBundles(std::move(value)); return *this;} /** *

The list of Amazon Resource Names (ARN) of the data bundles to install. * Currently supported data bundle ARNs:

  • * arn:aws:finspace:${Region}::data-bundle/capital-markets-sample - * Contains sample Capital Markets datasets, categories and controlled * vocabularies.

  • * arn:aws:finspace:${Region}::data-bundle/taq (default) - Contains * trades and quotes data in addition to sample Capital Markets data.

  • *
*/ inline CreateEnvironmentRequest& AddDataBundles(const Aws::String& value) { m_dataBundlesHasBeenSet = true; m_dataBundles.push_back(value); return *this; } /** *

The list of Amazon Resource Names (ARN) of the data bundles to install. * Currently supported data bundle ARNs:

  • * arn:aws:finspace:${Region}::data-bundle/capital-markets-sample - * Contains sample Capital Markets datasets, categories and controlled * vocabularies.

  • * arn:aws:finspace:${Region}::data-bundle/taq (default) - Contains * trades and quotes data in addition to sample Capital Markets data.

  • *
*/ inline CreateEnvironmentRequest& AddDataBundles(Aws::String&& value) { m_dataBundlesHasBeenSet = true; m_dataBundles.push_back(std::move(value)); return *this; } /** *

The list of Amazon Resource Names (ARN) of the data bundles to install. * Currently supported data bundle ARNs:

  • * arn:aws:finspace:${Region}::data-bundle/capital-markets-sample - * Contains sample Capital Markets datasets, categories and controlled * vocabularies.

  • * arn:aws:finspace:${Region}::data-bundle/taq (default) - Contains * trades and quotes data in addition to sample Capital Markets data.

  • *
*/ inline CreateEnvironmentRequest& AddDataBundles(const char* value) { m_dataBundlesHasBeenSet = true; m_dataBundles.push_back(value); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; FederationMode m_federationMode; bool m_federationModeHasBeenSet = false; FederationParameters m_federationParameters; bool m_federationParametersHasBeenSet = false; SuperuserParameters m_superuserParameters; bool m_superuserParametersHasBeenSet = false; Aws::Vector m_dataBundles; bool m_dataBundlesHasBeenSet = false; }; } // namespace Model } // namespace finspace } // namespace Aws