/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A specification identifying an individual configuration option along with its
* current value. For a list of possible namespaces and option values, see Option
* Values in the AWS Elastic Beanstalk Developer Guide. See
* Also:
AWS
* API Reference
A unique resource name for the option setting. Use it for a time–based * scaling configuration option.
*/ inline const Aws::String& GetResourceName() const{ return m_resourceName; } /** *A unique resource name for the option setting. Use it for a time–based * scaling configuration option.
*/ inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; } /** *A unique resource name for the option setting. Use it for a time–based * scaling configuration option.
*/ inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; } /** *A unique resource name for the option setting. Use it for a time–based * scaling configuration option.
*/ inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); } /** *A unique resource name for the option setting. Use it for a time–based * scaling configuration option.
*/ inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); } /** *A unique resource name for the option setting. Use it for a time–based * scaling configuration option.
*/ inline ConfigurationOptionSetting& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;} /** *A unique resource name for the option setting. Use it for a time–based * scaling configuration option.
*/ inline ConfigurationOptionSetting& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;} /** *A unique resource name for the option setting. Use it for a time–based * scaling configuration option.
*/ inline ConfigurationOptionSetting& WithResourceName(const char* value) { SetResourceName(value); return *this;} /** *A unique namespace that identifies the option's associated AWS resource.
*/ inline const Aws::String& GetNamespace() const{ return m_namespace; } /** *A unique namespace that identifies the option's associated AWS resource.
*/ inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } /** *A unique namespace that identifies the option's associated AWS resource.
*/ inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } /** *A unique namespace that identifies the option's associated AWS resource.
*/ inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } /** *A unique namespace that identifies the option's associated AWS resource.
*/ inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } /** *A unique namespace that identifies the option's associated AWS resource.
*/ inline ConfigurationOptionSetting& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} /** *A unique namespace that identifies the option's associated AWS resource.
*/ inline ConfigurationOptionSetting& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} /** *A unique namespace that identifies the option's associated AWS resource.
*/ inline ConfigurationOptionSetting& WithNamespace(const char* value) { SetNamespace(value); return *this;} /** *The name of the configuration option.
*/ inline const Aws::String& GetOptionName() const{ return m_optionName; } /** *The name of the configuration option.
*/ inline bool OptionNameHasBeenSet() const { return m_optionNameHasBeenSet; } /** *The name of the configuration option.
*/ inline void SetOptionName(const Aws::String& value) { m_optionNameHasBeenSet = true; m_optionName = value; } /** *The name of the configuration option.
*/ inline void SetOptionName(Aws::String&& value) { m_optionNameHasBeenSet = true; m_optionName = std::move(value); } /** *The name of the configuration option.
*/ inline void SetOptionName(const char* value) { m_optionNameHasBeenSet = true; m_optionName.assign(value); } /** *The name of the configuration option.
*/ inline ConfigurationOptionSetting& WithOptionName(const Aws::String& value) { SetOptionName(value); return *this;} /** *The name of the configuration option.
*/ inline ConfigurationOptionSetting& WithOptionName(Aws::String&& value) { SetOptionName(std::move(value)); return *this;} /** *The name of the configuration option.
*/ inline ConfigurationOptionSetting& WithOptionName(const char* value) { SetOptionName(value); return *this;} /** *The current value for the configuration option.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *The current value for the configuration option.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The current value for the configuration option.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *The current value for the configuration option.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The current value for the configuration option.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *The current value for the configuration option.
*/ inline ConfigurationOptionSetting& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *The current value for the configuration option.
*/ inline ConfigurationOptionSetting& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *The current value for the configuration option.
*/ inline ConfigurationOptionSetting& WithValue(const char* value) { SetValue(value); return *this;} private: Aws::String m_resourceName; bool m_resourceNameHasBeenSet = false; Aws::String m_namespace; bool m_namespaceHasBeenSet = false; Aws::String m_optionName; bool m_optionNameHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws