261 lines
9.2 KiB
C++
261 lines
9.2 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/appconfig/AppConfig_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 AppConfig
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Information about the configuration.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/HostedConfigurationVersionSummary">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_APPCONFIG_API HostedConfigurationVersionSummary
|
|
{
|
|
public:
|
|
HostedConfigurationVersionSummary();
|
|
HostedConfigurationVersionSummary(Aws::Utils::Json::JsonView jsonValue);
|
|
HostedConfigurationVersionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The application ID.</p>
|
|
*/
|
|
inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
|
|
|
|
/**
|
|
* <p>The application ID.</p>
|
|
*/
|
|
inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The application ID.</p>
|
|
*/
|
|
inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
|
|
|
|
/**
|
|
* <p>The application ID.</p>
|
|
*/
|
|
inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The application ID.</p>
|
|
*/
|
|
inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
|
|
|
|
/**
|
|
* <p>The application ID.</p>
|
|
*/
|
|
inline HostedConfigurationVersionSummary& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The application ID.</p>
|
|
*/
|
|
inline HostedConfigurationVersionSummary& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The application ID.</p>
|
|
*/
|
|
inline HostedConfigurationVersionSummary& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The configuration profile ID.</p>
|
|
*/
|
|
inline const Aws::String& GetConfigurationProfileId() const{ return m_configurationProfileId; }
|
|
|
|
/**
|
|
* <p>The configuration profile ID.</p>
|
|
*/
|
|
inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The configuration profile ID.</p>
|
|
*/
|
|
inline void SetConfigurationProfileId(const Aws::String& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = value; }
|
|
|
|
/**
|
|
* <p>The configuration profile ID.</p>
|
|
*/
|
|
inline void SetConfigurationProfileId(Aws::String&& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The configuration profile ID.</p>
|
|
*/
|
|
inline void SetConfigurationProfileId(const char* value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId.assign(value); }
|
|
|
|
/**
|
|
* <p>The configuration profile ID.</p>
|
|
*/
|
|
inline HostedConfigurationVersionSummary& WithConfigurationProfileId(const Aws::String& value) { SetConfigurationProfileId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The configuration profile ID.</p>
|
|
*/
|
|
inline HostedConfigurationVersionSummary& WithConfigurationProfileId(Aws::String&& value) { SetConfigurationProfileId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The configuration profile ID.</p>
|
|
*/
|
|
inline HostedConfigurationVersionSummary& WithConfigurationProfileId(const char* value) { SetConfigurationProfileId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The configuration version.</p>
|
|
*/
|
|
inline int GetVersionNumber() const{ return m_versionNumber; }
|
|
|
|
/**
|
|
* <p>The configuration version.</p>
|
|
*/
|
|
inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The configuration version.</p>
|
|
*/
|
|
inline void SetVersionNumber(int value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
|
|
|
|
/**
|
|
* <p>The configuration version.</p>
|
|
*/
|
|
inline HostedConfigurationVersionSummary& WithVersionNumber(int value) { SetVersionNumber(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>A description of the configuration.</p>
|
|
*/
|
|
inline const Aws::String& GetDescription() const{ return m_description; }
|
|
|
|
/**
|
|
* <p>A description of the configuration.</p>
|
|
*/
|
|
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
|
|
|
|
/**
|
|
* <p>A description of the configuration.</p>
|
|
*/
|
|
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
|
|
|
|
/**
|
|
* <p>A description of the configuration.</p>
|
|
*/
|
|
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
|
|
|
|
/**
|
|
* <p>A description of the configuration.</p>
|
|
*/
|
|
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
|
|
|
|
/**
|
|
* <p>A description of the configuration.</p>
|
|
*/
|
|
inline HostedConfigurationVersionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
|
|
|
|
/**
|
|
* <p>A description of the configuration.</p>
|
|
*/
|
|
inline HostedConfigurationVersionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>A description of the configuration.</p>
|
|
*/
|
|
inline HostedConfigurationVersionSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>A standard MIME type describing the format of the configuration content. For
|
|
* more information, see <a
|
|
* href="https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.</p>
|
|
*/
|
|
inline const Aws::String& GetContentType() const{ return m_contentType; }
|
|
|
|
/**
|
|
* <p>A standard MIME type describing the format of the configuration content. For
|
|
* more information, see <a
|
|
* href="https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.</p>
|
|
*/
|
|
inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>A standard MIME type describing the format of the configuration content. For
|
|
* more information, see <a
|
|
* href="https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.</p>
|
|
*/
|
|
inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
|
|
|
|
/**
|
|
* <p>A standard MIME type describing the format of the configuration content. For
|
|
* more information, see <a
|
|
* href="https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.</p>
|
|
*/
|
|
inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
|
|
|
|
/**
|
|
* <p>A standard MIME type describing the format of the configuration content. For
|
|
* more information, see <a
|
|
* href="https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.</p>
|
|
*/
|
|
inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
|
|
|
|
/**
|
|
* <p>A standard MIME type describing the format of the configuration content. For
|
|
* more information, see <a
|
|
* href="https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.</p>
|
|
*/
|
|
inline HostedConfigurationVersionSummary& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
|
|
|
|
/**
|
|
* <p>A standard MIME type describing the format of the configuration content. For
|
|
* more information, see <a
|
|
* href="https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.</p>
|
|
*/
|
|
inline HostedConfigurationVersionSummary& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>A standard MIME type describing the format of the configuration content. For
|
|
* more information, see <a
|
|
* href="https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.</p>
|
|
*/
|
|
inline HostedConfigurationVersionSummary& WithContentType(const char* value) { SetContentType(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_applicationId;
|
|
bool m_applicationIdHasBeenSet;
|
|
|
|
Aws::String m_configurationProfileId;
|
|
bool m_configurationProfileIdHasBeenSet;
|
|
|
|
int m_versionNumber;
|
|
bool m_versionNumberHasBeenSet;
|
|
|
|
Aws::String m_description;
|
|
bool m_descriptionHasBeenSet;
|
|
|
|
Aws::String m_contentType;
|
|
bool m_contentTypeHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace AppConfig
|
|
} // namespace Aws
|