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

Information about the configuration.

See Also:

AWS * API Reference

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

The application ID.

*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *

The application ID.

*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *

The application ID.

*/ inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } /** *

The application ID.

*/ inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } /** *

The application ID.

*/ inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } /** *

The application ID.

*/ inline HostedConfigurationVersionSummary& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *

The application ID.

*/ inline HostedConfigurationVersionSummary& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *

The application ID.

*/ inline HostedConfigurationVersionSummary& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *

The configuration profile ID.

*/ inline const Aws::String& GetConfigurationProfileId() const{ return m_configurationProfileId; } /** *

The configuration profile ID.

*/ inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; } /** *

The configuration profile ID.

*/ inline void SetConfigurationProfileId(const Aws::String& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = value; } /** *

The configuration profile ID.

*/ inline void SetConfigurationProfileId(Aws::String&& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = std::move(value); } /** *

The configuration profile ID.

*/ inline void SetConfigurationProfileId(const char* value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId.assign(value); } /** *

The configuration profile ID.

*/ inline HostedConfigurationVersionSummary& WithConfigurationProfileId(const Aws::String& value) { SetConfigurationProfileId(value); return *this;} /** *

The configuration profile ID.

*/ inline HostedConfigurationVersionSummary& WithConfigurationProfileId(Aws::String&& value) { SetConfigurationProfileId(std::move(value)); return *this;} /** *

The configuration profile ID.

*/ inline HostedConfigurationVersionSummary& WithConfigurationProfileId(const char* value) { SetConfigurationProfileId(value); return *this;} /** *

The configuration version.

*/ inline int GetVersionNumber() const{ return m_versionNumber; } /** *

The configuration version.

*/ inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; } /** *

The configuration version.

*/ inline void SetVersionNumber(int value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; } /** *

The configuration version.

*/ inline HostedConfigurationVersionSummary& WithVersionNumber(int value) { SetVersionNumber(value); return *this;} /** *

A description of the configuration.

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

A description of the configuration.

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

A description of the configuration.

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

A description of the configuration.

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

A description of the configuration.

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

A description of the configuration.

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

A description of the configuration.

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

A description of the configuration.

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

A standard MIME type describing the format of the configuration content. For * more information, see Content-Type.

*/ inline const Aws::String& GetContentType() const{ return m_contentType; } /** *

A standard MIME type describing the format of the configuration content. For * more information, see Content-Type.

*/ inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; } /** *

A standard MIME type describing the format of the configuration content. For * more information, see Content-Type.

*/ inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; } /** *

A standard MIME type describing the format of the configuration content. For * more information, see Content-Type.

*/ inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); } /** *

A standard MIME type describing the format of the configuration content. For * more information, see Content-Type.

*/ inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); } /** *

A standard MIME type describing the format of the configuration content. For * more information, see Content-Type.

*/ inline HostedConfigurationVersionSummary& WithContentType(const Aws::String& value) { SetContentType(value); return *this;} /** *

A standard MIME type describing the format of the configuration content. For * more information, see Content-Type.

*/ inline HostedConfigurationVersionSummary& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;} /** *

A standard MIME type describing the format of the configuration content. For * more information, see Content-Type.

*/ inline HostedConfigurationVersionSummary& WithContentType(const char* value) { SetContentType(value); return *this;} /** *

A user-defined label for an AppConfig hosted configuration version.

*/ inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; } /** *

A user-defined label for an AppConfig hosted configuration version.

*/ inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; } /** *

A user-defined label for an AppConfig hosted configuration version.

*/ inline void SetVersionLabel(const Aws::String& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; } /** *

A user-defined label for an AppConfig hosted configuration version.

*/ inline void SetVersionLabel(Aws::String&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::move(value); } /** *

A user-defined label for an AppConfig hosted configuration version.

*/ inline void SetVersionLabel(const char* value) { m_versionLabelHasBeenSet = true; m_versionLabel.assign(value); } /** *

A user-defined label for an AppConfig hosted configuration version.

*/ inline HostedConfigurationVersionSummary& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;} /** *

A user-defined label for an AppConfig hosted configuration version.

*/ inline HostedConfigurationVersionSummary& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;} /** *

A user-defined label for an AppConfig hosted configuration version.

*/ inline HostedConfigurationVersionSummary& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;} private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::String m_configurationProfileId; bool m_configurationProfileIdHasBeenSet = false; int m_versionNumber; bool m_versionNumberHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_contentType; bool m_contentTypeHasBeenSet = false; Aws::String m_versionLabel; bool m_versionLabelHasBeenSet = false; }; } // namespace Model } // namespace AppConfig } // namespace Aws