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

A configuration option setting for the environment.

See Also:

* AWS * API Reference

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

The type of resource that the configuration option is associated with.

*/ inline const Aws::String& GetNamespace() const{ return m_namespace; } /** *

The type of resource that the configuration option is associated with.

*/ inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } /** *

The type of resource that the configuration option is associated with.

*/ inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } /** *

The type of resource that the configuration option is associated with.

*/ inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } /** *

The type of resource that the configuration option is associated with.

*/ inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } /** *

The type of resource that the configuration option is associated with.

*/ inline AwsElasticBeanstalkEnvironmentOptionSetting& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} /** *

The type of resource that the configuration option is associated with.

*/ inline AwsElasticBeanstalkEnvironmentOptionSetting& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} /** *

The type of resource that the configuration option is associated with.

*/ inline AwsElasticBeanstalkEnvironmentOptionSetting& WithNamespace(const char* value) { SetNamespace(value); return *this;} /** *

The name of the option.

*/ inline const Aws::String& GetOptionName() const{ return m_optionName; } /** *

The name of the option.

*/ inline bool OptionNameHasBeenSet() const { return m_optionNameHasBeenSet; } /** *

The name of the option.

*/ inline void SetOptionName(const Aws::String& value) { m_optionNameHasBeenSet = true; m_optionName = value; } /** *

The name of the option.

*/ inline void SetOptionName(Aws::String&& value) { m_optionNameHasBeenSet = true; m_optionName = std::move(value); } /** *

The name of the option.

*/ inline void SetOptionName(const char* value) { m_optionNameHasBeenSet = true; m_optionName.assign(value); } /** *

The name of the option.

*/ inline AwsElasticBeanstalkEnvironmentOptionSetting& WithOptionName(const Aws::String& value) { SetOptionName(value); return *this;} /** *

The name of the option.

*/ inline AwsElasticBeanstalkEnvironmentOptionSetting& WithOptionName(Aws::String&& value) { SetOptionName(std::move(value)); return *this;} /** *

The name of the option.

*/ inline AwsElasticBeanstalkEnvironmentOptionSetting& WithOptionName(const char* value) { SetOptionName(value); return *this;} /** *

The name of the resource.

*/ inline const Aws::String& GetResourceName() const{ return m_resourceName; } /** *

The name of the resource.

*/ inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; } /** *

The name of the resource.

*/ inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; } /** *

The name of the resource.

*/ inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); } /** *

The name of the resource.

*/ inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); } /** *

The name of the resource.

*/ inline AwsElasticBeanstalkEnvironmentOptionSetting& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;} /** *

The name of the resource.

*/ inline AwsElasticBeanstalkEnvironmentOptionSetting& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;} /** *

The name of the resource.

*/ inline AwsElasticBeanstalkEnvironmentOptionSetting& WithResourceName(const char* value) { SetResourceName(value); return *this;} /** *

The value of the configuration setting.

*/ inline const Aws::String& GetValue() const{ return m_value; } /** *

The value of the configuration setting.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

The value of the configuration setting.

*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *

The value of the configuration setting.

*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *

The value of the configuration setting.

*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *

The value of the configuration setting.

*/ inline AwsElasticBeanstalkEnvironmentOptionSetting& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *

The value of the configuration setting.

*/ inline AwsElasticBeanstalkEnvironmentOptionSetting& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *

The value of the configuration setting.

*/ inline AwsElasticBeanstalkEnvironmentOptionSetting& WithValue(const char* value) { SetValue(value); return *this;} private: Aws::String m_namespace; bool m_namespaceHasBeenSet = false; Aws::String m_optionName; bool m_optionNameHasBeenSet = false; Aws::String m_resourceName; bool m_resourceNameHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws