/**
* 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.See
* Also:
AWS
* API Reference
A unique resource name for a time-based scaling configuration option.
*/ inline const Aws::String& GetResourceName() const{ return m_resourceName; } /** *A unique resource name for a time-based scaling configuration option.
*/ inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; } /** *A unique resource name 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 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 a time-based scaling configuration option.
*/ inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); } /** *A unique resource name for a time-based scaling configuration option.
*/ inline OptionSpecification& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;} /** *A unique resource name for a time-based scaling configuration option.
*/ inline OptionSpecification& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;} /** *A unique resource name for a time-based scaling configuration option.
*/ inline OptionSpecification& WithResourceName(const char* value) { SetResourceName(value); return *this;} /** *A unique namespace identifying the option's associated AWS resource.
*/ inline const Aws::String& GetNamespace() const{ return m_namespace; } /** *A unique namespace identifying the option's associated AWS resource.
*/ inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } /** *A unique namespace identifying the option's associated AWS resource.
*/ inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } /** *A unique namespace identifying the option's associated AWS resource.
*/ inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } /** *A unique namespace identifying the option's associated AWS resource.
*/ inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } /** *A unique namespace identifying the option's associated AWS resource.
*/ inline OptionSpecification& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} /** *A unique namespace identifying the option's associated AWS resource.
*/ inline OptionSpecification& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} /** *A unique namespace identifying the option's associated AWS resource.
*/ inline OptionSpecification& 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 OptionSpecification& WithOptionName(const Aws::String& value) { SetOptionName(value); return *this;} /** *The name of the configuration option.
*/ inline OptionSpecification& WithOptionName(Aws::String&& value) { SetOptionName(std::move(value)); return *this;} /** *The name of the configuration option.
*/ inline OptionSpecification& WithOptionName(const char* value) { SetOptionName(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; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws