Files
DedicatedServerCourse/Plugins/GameLiftPlugin/Source/AWSSDK/Include/aws/apigateway/model/SdkConfigurationProperty.h

128 lines
5.7 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/apigateway/APIGateway_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace APIGateway
{
namespace Model
{
/**
* <p>A configuration property of an SDK type.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/SdkConfigurationProperty">AWS
* API Reference</a></p>
*/
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;
///@{
/**
* <p>The name of a an SdkType configuration property.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
inline SdkConfigurationProperty& WithName(const Aws::String& value) { SetName(value); return *this;}
inline SdkConfigurationProperty& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
inline SdkConfigurationProperty& WithName(const char* value) { SetName(value); return *this;}
///@}
///@{
/**
* <p>The user-friendly name of an SdkType configuration property.</p>
*/
inline const Aws::String& GetFriendlyName() const{ return m_friendlyName; }
inline bool FriendlyNameHasBeenSet() const { return m_friendlyNameHasBeenSet; }
inline void SetFriendlyName(const Aws::String& value) { m_friendlyNameHasBeenSet = true; m_friendlyName = value; }
inline void SetFriendlyName(Aws::String&& value) { m_friendlyNameHasBeenSet = true; m_friendlyName = std::move(value); }
inline void SetFriendlyName(const char* value) { m_friendlyNameHasBeenSet = true; m_friendlyName.assign(value); }
inline SdkConfigurationProperty& WithFriendlyName(const Aws::String& value) { SetFriendlyName(value); return *this;}
inline SdkConfigurationProperty& WithFriendlyName(Aws::String&& value) { SetFriendlyName(std::move(value)); return *this;}
inline SdkConfigurationProperty& WithFriendlyName(const char* value) { SetFriendlyName(value); return *this;}
///@}
///@{
/**
* <p>The description of an SdkType configuration property.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
inline SdkConfigurationProperty& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
inline SdkConfigurationProperty& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
inline SdkConfigurationProperty& WithDescription(const char* value) { SetDescription(value); return *this;}
///@}
///@{
/**
* <p>A boolean flag of an SdkType configuration property to indicate if the
* associated SDK configuration property is required (<code>true</code>) or not
* (<code>false</code>).</p>
*/
inline bool GetRequired() const{ return m_required; }
inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; }
inline void SetRequired(bool value) { m_requiredHasBeenSet = true; m_required = value; }
inline SdkConfigurationProperty& WithRequired(bool value) { SetRequired(value); return *this;}
///@}
///@{
/**
* <p>The default value of an SdkType configuration property.</p>
*/
inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
inline SdkConfigurationProperty& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
inline SdkConfigurationProperty& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
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