/** * 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 APIGateway { namespace Model { /** *

A configuration property of an SDK type.

See Also:

AWS * API Reference

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

The name of a an SdkType configuration property.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of a an SdkType configuration property.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of a an SdkType configuration property.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of a an SdkType configuration property.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of a an SdkType configuration property.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of a an SdkType configuration property.

*/ inline SdkConfigurationProperty& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of a an SdkType configuration property.

*/ inline SdkConfigurationProperty& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of a an SdkType configuration property.

*/ inline SdkConfigurationProperty& WithName(const char* value) { SetName(value); return *this;} /** *

The user-friendly name of an SdkType configuration property.

*/ inline const Aws::String& GetFriendlyName() const{ return m_friendlyName; } /** *

The user-friendly name of an SdkType configuration property.

*/ inline bool FriendlyNameHasBeenSet() const { return m_friendlyNameHasBeenSet; } /** *

The user-friendly name of an SdkType configuration property.

*/ inline void SetFriendlyName(const Aws::String& value) { m_friendlyNameHasBeenSet = true; m_friendlyName = value; } /** *

The user-friendly name of an SdkType configuration property.

*/ inline void SetFriendlyName(Aws::String&& value) { m_friendlyNameHasBeenSet = true; m_friendlyName = std::move(value); } /** *

The user-friendly name of an SdkType configuration property.

*/ inline void SetFriendlyName(const char* value) { m_friendlyNameHasBeenSet = true; m_friendlyName.assign(value); } /** *

The user-friendly name of an SdkType configuration property.

*/ inline SdkConfigurationProperty& WithFriendlyName(const Aws::String& value) { SetFriendlyName(value); return *this;} /** *

The user-friendly name of an SdkType configuration property.

*/ inline SdkConfigurationProperty& WithFriendlyName(Aws::String&& value) { SetFriendlyName(std::move(value)); return *this;} /** *

The user-friendly name of an SdkType configuration property.

*/ inline SdkConfigurationProperty& WithFriendlyName(const char* value) { SetFriendlyName(value); return *this;} /** *

The description of an SdkType configuration property.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of an SdkType configuration property.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of an SdkType configuration property.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of an SdkType configuration property.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of an SdkType configuration property.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of an SdkType configuration property.

*/ inline SdkConfigurationProperty& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of an SdkType configuration property.

*/ inline SdkConfigurationProperty& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of an SdkType configuration property.

*/ inline SdkConfigurationProperty& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

A boolean flag of an SdkType configuration property to indicate if the * associated SDK configuration property is required (true) or not * (false).

*/ inline bool GetRequired() const{ return m_required; } /** *

A boolean flag of an SdkType configuration property to indicate if the * associated SDK configuration property is required (true) or not * (false).

*/ inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; } /** *

A boolean flag of an SdkType configuration property to indicate if the * associated SDK configuration property is required (true) or not * (false).

*/ inline void SetRequired(bool value) { m_requiredHasBeenSet = true; m_required = value; } /** *

A boolean flag of an SdkType configuration property to indicate if the * associated SDK configuration property is required (true) or not * (false).

*/ inline SdkConfigurationProperty& WithRequired(bool value) { SetRequired(value); return *this;} /** *

The default value of an SdkType configuration property.

*/ inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; } /** *

The default value of an SdkType configuration property.

*/ inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; } /** *

The default value of an SdkType configuration property.

*/ inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; } /** *

The default value of an SdkType configuration property.

*/ inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); } /** *

The default value of an SdkType configuration property.

*/ inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); } /** *

The default value of an SdkType configuration property.

*/ inline SdkConfigurationProperty& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;} /** *

The default value of an SdkType configuration property.

*/ inline SdkConfigurationProperty& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;} /** *

The default value of an SdkType configuration property.

*/ inline SdkConfigurationProperty& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_friendlyName; bool m_friendlyNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; bool m_required; bool m_requiredHasBeenSet = false; Aws::String m_defaultValue; bool m_defaultValueHasBeenSet = false; }; } // namespace Model } // namespace APIGateway } // namespace Aws