/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure describing the configuration and details of a storage
* optimizer.See Also:
AWS
* API Reference
The specific type of storage optimizer. The supported value is
* compaction
.
The specific type of storage optimizer. The supported value is
* compaction
.
The specific type of storage optimizer. The supported value is
* compaction
.
The specific type of storage optimizer. The supported value is
* compaction
.
The specific type of storage optimizer. The supported value is
* compaction
.
The specific type of storage optimizer. The supported value is
* compaction
.
A map of the storage optimizer configuration. Currently contains only one
* key-value pair: is_enabled
indicates true or false for
* acceleration.
A map of the storage optimizer configuration. Currently contains only one
* key-value pair: is_enabled
indicates true or false for
* acceleration.
A map of the storage optimizer configuration. Currently contains only one
* key-value pair: is_enabled
indicates true or false for
* acceleration.
A map of the storage optimizer configuration. Currently contains only one
* key-value pair: is_enabled
indicates true or false for
* acceleration.
A map of the storage optimizer configuration. Currently contains only one
* key-value pair: is_enabled
indicates true or false for
* acceleration.
A map of the storage optimizer configuration. Currently contains only one
* key-value pair: is_enabled
indicates true or false for
* acceleration.
A map of the storage optimizer configuration. Currently contains only one
* key-value pair: is_enabled
indicates true or false for
* acceleration.
A map of the storage optimizer configuration. Currently contains only one
* key-value pair: is_enabled
indicates true or false for
* acceleration.
A map of the storage optimizer configuration. Currently contains only one
* key-value pair: is_enabled
indicates true or false for
* acceleration.
A map of the storage optimizer configuration. Currently contains only one
* key-value pair: is_enabled
indicates true or false for
* acceleration.
A map of the storage optimizer configuration. Currently contains only one
* key-value pair: is_enabled
indicates true or false for
* acceleration.
A map of the storage optimizer configuration. Currently contains only one
* key-value pair: is_enabled
indicates true or false for
* acceleration.
A map of the storage optimizer configuration. Currently contains only one
* key-value pair: is_enabled
indicates true or false for
* acceleration.
A message that contains information about any error (if present).
When * an acceleration result has an enabled status, the error message is empty.
*When an acceleration result has a disabled status, the message describes an * error or simply indicates "disabled by the user".
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *A message that contains information about any error (if present).
When * an acceleration result has an enabled status, the error message is empty.
*When an acceleration result has a disabled status, the message describes an * error or simply indicates "disabled by the user".
*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *A message that contains information about any error (if present).
When * an acceleration result has an enabled status, the error message is empty.
*When an acceleration result has a disabled status, the message describes an * error or simply indicates "disabled by the user".
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *A message that contains information about any error (if present).
When * an acceleration result has an enabled status, the error message is empty.
*When an acceleration result has a disabled status, the message describes an * error or simply indicates "disabled by the user".
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *A message that contains information about any error (if present).
When * an acceleration result has an enabled status, the error message is empty.
*When an acceleration result has a disabled status, the message describes an * error or simply indicates "disabled by the user".
*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *A message that contains information about any error (if present).
When * an acceleration result has an enabled status, the error message is empty.
*When an acceleration result has a disabled status, the message describes an * error or simply indicates "disabled by the user".
*/ inline StorageOptimizer& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *A message that contains information about any error (if present).
When * an acceleration result has an enabled status, the error message is empty.
*When an acceleration result has a disabled status, the message describes an * error or simply indicates "disabled by the user".
*/ inline StorageOptimizer& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *A message that contains information about any error (if present).
When * an acceleration result has an enabled status, the error message is empty.
*When an acceleration result has a disabled status, the message describes an * error or simply indicates "disabled by the user".
*/ inline StorageOptimizer& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} /** *A message that contains information about any warnings (if present).
*/ inline const Aws::String& GetWarnings() const{ return m_warnings; } /** *A message that contains information about any warnings (if present).
*/ inline bool WarningsHasBeenSet() const { return m_warningsHasBeenSet; } /** *A message that contains information about any warnings (if present).
*/ inline void SetWarnings(const Aws::String& value) { m_warningsHasBeenSet = true; m_warnings = value; } /** *A message that contains information about any warnings (if present).
*/ inline void SetWarnings(Aws::String&& value) { m_warningsHasBeenSet = true; m_warnings = std::move(value); } /** *A message that contains information about any warnings (if present).
*/ inline void SetWarnings(const char* value) { m_warningsHasBeenSet = true; m_warnings.assign(value); } /** *A message that contains information about any warnings (if present).
*/ inline StorageOptimizer& WithWarnings(const Aws::String& value) { SetWarnings(value); return *this;} /** *A message that contains information about any warnings (if present).
*/ inline StorageOptimizer& WithWarnings(Aws::String&& value) { SetWarnings(std::move(value)); return *this;} /** *A message that contains information about any warnings (if present).
*/ inline StorageOptimizer& WithWarnings(const char* value) { SetWarnings(value); return *this;} /** *When an acceleration result has an enabled status, contains the details of * the last job run.
*/ inline const Aws::String& GetLastRunDetails() const{ return m_lastRunDetails; } /** *When an acceleration result has an enabled status, contains the details of * the last job run.
*/ inline bool LastRunDetailsHasBeenSet() const { return m_lastRunDetailsHasBeenSet; } /** *When an acceleration result has an enabled status, contains the details of * the last job run.
*/ inline void SetLastRunDetails(const Aws::String& value) { m_lastRunDetailsHasBeenSet = true; m_lastRunDetails = value; } /** *When an acceleration result has an enabled status, contains the details of * the last job run.
*/ inline void SetLastRunDetails(Aws::String&& value) { m_lastRunDetailsHasBeenSet = true; m_lastRunDetails = std::move(value); } /** *When an acceleration result has an enabled status, contains the details of * the last job run.
*/ inline void SetLastRunDetails(const char* value) { m_lastRunDetailsHasBeenSet = true; m_lastRunDetails.assign(value); } /** *When an acceleration result has an enabled status, contains the details of * the last job run.
*/ inline StorageOptimizer& WithLastRunDetails(const Aws::String& value) { SetLastRunDetails(value); return *this;} /** *When an acceleration result has an enabled status, contains the details of * the last job run.
*/ inline StorageOptimizer& WithLastRunDetails(Aws::String&& value) { SetLastRunDetails(std::move(value)); return *this;} /** *When an acceleration result has an enabled status, contains the details of * the last job run.
*/ inline StorageOptimizer& WithLastRunDetails(const char* value) { SetLastRunDetails(value); return *this;} private: OptimizerType m_storageOptimizerType; bool m_storageOptimizerTypeHasBeenSet = false; Aws::Map