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

Configuration information for the Amazon SageMaker Debugger output tensor * collections.

See Also:

AWS * API Reference

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

The name of the tensor collection. The name must be unique relative to other * rule configuration names.

*/ inline const Aws::String& GetCollectionName() const{ return m_collectionName; } /** *

The name of the tensor collection. The name must be unique relative to other * rule configuration names.

*/ inline bool CollectionNameHasBeenSet() const { return m_collectionNameHasBeenSet; } /** *

The name of the tensor collection. The name must be unique relative to other * rule configuration names.

*/ inline void SetCollectionName(const Aws::String& value) { m_collectionNameHasBeenSet = true; m_collectionName = value; } /** *

The name of the tensor collection. The name must be unique relative to other * rule configuration names.

*/ inline void SetCollectionName(Aws::String&& value) { m_collectionNameHasBeenSet = true; m_collectionName = std::move(value); } /** *

The name of the tensor collection. The name must be unique relative to other * rule configuration names.

*/ inline void SetCollectionName(const char* value) { m_collectionNameHasBeenSet = true; m_collectionName.assign(value); } /** *

The name of the tensor collection. The name must be unique relative to other * rule configuration names.

*/ inline CollectionConfiguration& WithCollectionName(const Aws::String& value) { SetCollectionName(value); return *this;} /** *

The name of the tensor collection. The name must be unique relative to other * rule configuration names.

*/ inline CollectionConfiguration& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;} /** *

The name of the tensor collection. The name must be unique relative to other * rule configuration names.

*/ inline CollectionConfiguration& WithCollectionName(const char* value) { SetCollectionName(value); return *this;} /** *

Parameter values for the tensor collection. The allowed parameters are * "name", "include_regex", * "reduction_config", "save_config", * "tensor_names", and "save_histogram".

*/ inline const Aws::Map& GetCollectionParameters() const{ return m_collectionParameters; } /** *

Parameter values for the tensor collection. The allowed parameters are * "name", "include_regex", * "reduction_config", "save_config", * "tensor_names", and "save_histogram".

*/ inline bool CollectionParametersHasBeenSet() const { return m_collectionParametersHasBeenSet; } /** *

Parameter values for the tensor collection. The allowed parameters are * "name", "include_regex", * "reduction_config", "save_config", * "tensor_names", and "save_histogram".

*/ inline void SetCollectionParameters(const Aws::Map& value) { m_collectionParametersHasBeenSet = true; m_collectionParameters = value; } /** *

Parameter values for the tensor collection. The allowed parameters are * "name", "include_regex", * "reduction_config", "save_config", * "tensor_names", and "save_histogram".

*/ inline void SetCollectionParameters(Aws::Map&& value) { m_collectionParametersHasBeenSet = true; m_collectionParameters = std::move(value); } /** *

Parameter values for the tensor collection. The allowed parameters are * "name", "include_regex", * "reduction_config", "save_config", * "tensor_names", and "save_histogram".

*/ inline CollectionConfiguration& WithCollectionParameters(const Aws::Map& value) { SetCollectionParameters(value); return *this;} /** *

Parameter values for the tensor collection. The allowed parameters are * "name", "include_regex", * "reduction_config", "save_config", * "tensor_names", and "save_histogram".

*/ inline CollectionConfiguration& WithCollectionParameters(Aws::Map&& value) { SetCollectionParameters(std::move(value)); return *this;} /** *

Parameter values for the tensor collection. The allowed parameters are * "name", "include_regex", * "reduction_config", "save_config", * "tensor_names", and "save_histogram".

*/ inline CollectionConfiguration& AddCollectionParameters(const Aws::String& key, const Aws::String& value) { m_collectionParametersHasBeenSet = true; m_collectionParameters.emplace(key, value); return *this; } /** *

Parameter values for the tensor collection. The allowed parameters are * "name", "include_regex", * "reduction_config", "save_config", * "tensor_names", and "save_histogram".

*/ inline CollectionConfiguration& AddCollectionParameters(Aws::String&& key, const Aws::String& value) { m_collectionParametersHasBeenSet = true; m_collectionParameters.emplace(std::move(key), value); return *this; } /** *

Parameter values for the tensor collection. The allowed parameters are * "name", "include_regex", * "reduction_config", "save_config", * "tensor_names", and "save_histogram".

*/ inline CollectionConfiguration& AddCollectionParameters(const Aws::String& key, Aws::String&& value) { m_collectionParametersHasBeenSet = true; m_collectionParameters.emplace(key, std::move(value)); return *this; } /** *

Parameter values for the tensor collection. The allowed parameters are * "name", "include_regex", * "reduction_config", "save_config", * "tensor_names", and "save_histogram".

*/ inline CollectionConfiguration& AddCollectionParameters(Aws::String&& key, Aws::String&& value) { m_collectionParametersHasBeenSet = true; m_collectionParameters.emplace(std::move(key), std::move(value)); return *this; } /** *

Parameter values for the tensor collection. The allowed parameters are * "name", "include_regex", * "reduction_config", "save_config", * "tensor_names", and "save_histogram".

*/ inline CollectionConfiguration& AddCollectionParameters(const char* key, Aws::String&& value) { m_collectionParametersHasBeenSet = true; m_collectionParameters.emplace(key, std::move(value)); return *this; } /** *

Parameter values for the tensor collection. The allowed parameters are * "name", "include_regex", * "reduction_config", "save_config", * "tensor_names", and "save_histogram".

*/ inline CollectionConfiguration& AddCollectionParameters(Aws::String&& key, const char* value) { m_collectionParametersHasBeenSet = true; m_collectionParameters.emplace(std::move(key), value); return *this; } /** *

Parameter values for the tensor collection. The allowed parameters are * "name", "include_regex", * "reduction_config", "save_config", * "tensor_names", and "save_histogram".

*/ inline CollectionConfiguration& AddCollectionParameters(const char* key, const char* value) { m_collectionParametersHasBeenSet = true; m_collectionParameters.emplace(key, value); return *this; } private: Aws::String m_collectionName; bool m_collectionNameHasBeenSet = false; Aws::Map m_collectionParameters; bool m_collectionParametersHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws