/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ServerlessApplicationRepository { namespace Model { class UpdateApplicationResult { public: AWS_SERVERLESSAPPLICATIONREPOSITORY_API UpdateApplicationResult(); AWS_SERVERLESSAPPLICATIONREPOSITORY_API UpdateApplicationResult(const Aws::AmazonWebServiceResult& result); AWS_SERVERLESSAPPLICATIONREPOSITORY_API UpdateApplicationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The application Amazon Resource Name (ARN).

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

The application Amazon Resource Name (ARN).

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

The application Amazon Resource Name (ARN).

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

The application Amazon Resource Name (ARN).

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

The application Amazon Resource Name (ARN).

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

The application Amazon Resource Name (ARN).

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

The application Amazon Resource Name (ARN).

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

The name of the author publishing the app.

Minimum length=1. Maximum * length=127.

Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";

*/ inline const Aws::String& GetAuthor() const{ return m_author; } /** *

The name of the author publishing the app.

Minimum length=1. Maximum * length=127.

Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";

*/ inline void SetAuthor(const Aws::String& value) { m_author = value; } /** *

The name of the author publishing the app.

Minimum length=1. Maximum * length=127.

Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";

*/ inline void SetAuthor(Aws::String&& value) { m_author = std::move(value); } /** *

The name of the author publishing the app.

Minimum length=1. Maximum * length=127.

Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";

*/ inline void SetAuthor(const char* value) { m_author.assign(value); } /** *

The name of the author publishing the app.

Minimum length=1. Maximum * length=127.

Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";

*/ inline UpdateApplicationResult& WithAuthor(const Aws::String& value) { SetAuthor(value); return *this;} /** *

The name of the author publishing the app.

Minimum length=1. Maximum * length=127.

Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";

*/ inline UpdateApplicationResult& WithAuthor(Aws::String&& value) { SetAuthor(std::move(value)); return *this;} /** *

The name of the author publishing the app.

Minimum length=1. Maximum * length=127.

Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";

*/ inline UpdateApplicationResult& WithAuthor(const char* value) { SetAuthor(value); return *this;} /** *

The date and time this resource was created.

*/ inline const Aws::String& GetCreationTime() const{ return m_creationTime; } /** *

The date and time this resource was created.

*/ inline void SetCreationTime(const Aws::String& value) { m_creationTime = value; } /** *

The date and time this resource was created.

*/ inline void SetCreationTime(Aws::String&& value) { m_creationTime = std::move(value); } /** *

The date and time this resource was created.

*/ inline void SetCreationTime(const char* value) { m_creationTime.assign(value); } /** *

The date and time this resource was created.

*/ inline UpdateApplicationResult& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;} /** *

The date and time this resource was created.

*/ inline UpdateApplicationResult& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The date and time this resource was created.

*/ inline UpdateApplicationResult& WithCreationTime(const char* value) { SetCreationTime(value); return *this;} /** *

The description of the application.

Minimum length=1. Maximum * length=256

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

The description of the application.

Minimum length=1. Maximum * length=256

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

The description of the application.

Minimum length=1. Maximum * length=256

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

The description of the application.

Minimum length=1. Maximum * length=256

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

The description of the application.

Minimum length=1. Maximum * length=256

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

The description of the application.

Minimum length=1. Maximum * length=256

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

The description of the application.

Minimum length=1. Maximum * length=256

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

A URL with more information about the application, for example the location * of your GitHub repository for the application.

*/ inline const Aws::String& GetHomePageUrl() const{ return m_homePageUrl; } /** *

A URL with more information about the application, for example the location * of your GitHub repository for the application.

*/ inline void SetHomePageUrl(const Aws::String& value) { m_homePageUrl = value; } /** *

A URL with more information about the application, for example the location * of your GitHub repository for the application.

*/ inline void SetHomePageUrl(Aws::String&& value) { m_homePageUrl = std::move(value); } /** *

A URL with more information about the application, for example the location * of your GitHub repository for the application.

*/ inline void SetHomePageUrl(const char* value) { m_homePageUrl.assign(value); } /** *

A URL with more information about the application, for example the location * of your GitHub repository for the application.

*/ inline UpdateApplicationResult& WithHomePageUrl(const Aws::String& value) { SetHomePageUrl(value); return *this;} /** *

A URL with more information about the application, for example the location * of your GitHub repository for the application.

*/ inline UpdateApplicationResult& WithHomePageUrl(Aws::String&& value) { SetHomePageUrl(std::move(value)); return *this;} /** *

A URL with more information about the application, for example the location * of your GitHub repository for the application.

*/ inline UpdateApplicationResult& WithHomePageUrl(const char* value) { SetHomePageUrl(value); return *this;} /** *

Whether the author of this application has been verified. This means means * that AWS has made a good faith review, as a reasonable and prudent service * provider, of the information provided by the requester and has confirmed that * the requester's identity is as claimed.

*/ inline bool GetIsVerifiedAuthor() const{ return m_isVerifiedAuthor; } /** *

Whether the author of this application has been verified. This means means * that AWS has made a good faith review, as a reasonable and prudent service * provider, of the information provided by the requester and has confirmed that * the requester's identity is as claimed.

*/ inline void SetIsVerifiedAuthor(bool value) { m_isVerifiedAuthor = value; } /** *

Whether the author of this application has been verified. This means means * that AWS has made a good faith review, as a reasonable and prudent service * provider, of the information provided by the requester and has confirmed that * the requester's identity is as claimed.

*/ inline UpdateApplicationResult& WithIsVerifiedAuthor(bool value) { SetIsVerifiedAuthor(value); return *this;} /** *

Labels to improve discovery of apps in search results.

Minimum * length=1. Maximum length=127. Maximum number of labels: 10

Pattern: * "^[a-zA-Z0-9+\\-_:\\/@]+$";

*/ inline const Aws::Vector& GetLabels() const{ return m_labels; } /** *

Labels to improve discovery of apps in search results.

Minimum * length=1. Maximum length=127. Maximum number of labels: 10

Pattern: * "^[a-zA-Z0-9+\\-_:\\/@]+$";

*/ inline void SetLabels(const Aws::Vector& value) { m_labels = value; } /** *

Labels to improve discovery of apps in search results.

Minimum * length=1. Maximum length=127. Maximum number of labels: 10

Pattern: * "^[a-zA-Z0-9+\\-_:\\/@]+$";

*/ inline void SetLabels(Aws::Vector&& value) { m_labels = std::move(value); } /** *

Labels to improve discovery of apps in search results.

Minimum * length=1. Maximum length=127. Maximum number of labels: 10

Pattern: * "^[a-zA-Z0-9+\\-_:\\/@]+$";

*/ inline UpdateApplicationResult& WithLabels(const Aws::Vector& value) { SetLabels(value); return *this;} /** *

Labels to improve discovery of apps in search results.

Minimum * length=1. Maximum length=127. Maximum number of labels: 10

Pattern: * "^[a-zA-Z0-9+\\-_:\\/@]+$";

*/ inline UpdateApplicationResult& WithLabels(Aws::Vector&& value) { SetLabels(std::move(value)); return *this;} /** *

Labels to improve discovery of apps in search results.

Minimum * length=1. Maximum length=127. Maximum number of labels: 10

Pattern: * "^[a-zA-Z0-9+\\-_:\\/@]+$";

*/ inline UpdateApplicationResult& AddLabels(const Aws::String& value) { m_labels.push_back(value); return *this; } /** *

Labels to improve discovery of apps in search results.

Minimum * length=1. Maximum length=127. Maximum number of labels: 10

Pattern: * "^[a-zA-Z0-9+\\-_:\\/@]+$";

*/ inline UpdateApplicationResult& AddLabels(Aws::String&& value) { m_labels.push_back(std::move(value)); return *this; } /** *

Labels to improve discovery of apps in search results.

Minimum * length=1. Maximum length=127. Maximum number of labels: 10

Pattern: * "^[a-zA-Z0-9+\\-_:\\/@]+$";

*/ inline UpdateApplicationResult& AddLabels(const char* value) { m_labels.push_back(value); return *this; } /** *

A link to a license file of the app that matches the spdxLicenseID value of * your application.

Maximum size 5 MB

*/ inline const Aws::String& GetLicenseUrl() const{ return m_licenseUrl; } /** *

A link to a license file of the app that matches the spdxLicenseID value of * your application.

Maximum size 5 MB

*/ inline void SetLicenseUrl(const Aws::String& value) { m_licenseUrl = value; } /** *

A link to a license file of the app that matches the spdxLicenseID value of * your application.

Maximum size 5 MB

*/ inline void SetLicenseUrl(Aws::String&& value) { m_licenseUrl = std::move(value); } /** *

A link to a license file of the app that matches the spdxLicenseID value of * your application.

Maximum size 5 MB

*/ inline void SetLicenseUrl(const char* value) { m_licenseUrl.assign(value); } /** *

A link to a license file of the app that matches the spdxLicenseID value of * your application.

Maximum size 5 MB

*/ inline UpdateApplicationResult& WithLicenseUrl(const Aws::String& value) { SetLicenseUrl(value); return *this;} /** *

A link to a license file of the app that matches the spdxLicenseID value of * your application.

Maximum size 5 MB

*/ inline UpdateApplicationResult& WithLicenseUrl(Aws::String&& value) { SetLicenseUrl(std::move(value)); return *this;} /** *

A link to a license file of the app that matches the spdxLicenseID value of * your application.

Maximum size 5 MB

*/ inline UpdateApplicationResult& WithLicenseUrl(const char* value) { SetLicenseUrl(value); return *this;} /** *

The name of the application.

Minimum length=1. Maximum * length=140

Pattern: "[a-zA-Z0-9\\-]+";

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

The name of the application.

Minimum length=1. Maximum * length=140

Pattern: "[a-zA-Z0-9\\-]+";

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

The name of the application.

Minimum length=1. Maximum * length=140

Pattern: "[a-zA-Z0-9\\-]+";

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

The name of the application.

Minimum length=1. Maximum * length=140

Pattern: "[a-zA-Z0-9\\-]+";

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

The name of the application.

Minimum length=1. Maximum * length=140

Pattern: "[a-zA-Z0-9\\-]+";

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

The name of the application.

Minimum length=1. Maximum * length=140

Pattern: "[a-zA-Z0-9\\-]+";

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

The name of the application.

Minimum length=1. Maximum * length=140

Pattern: "[a-zA-Z0-9\\-]+";

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

A link to the readme file in Markdown language that contains a more detailed * description of the application and how it works.

Maximum size 5 MB

*/ inline const Aws::String& GetReadmeUrl() const{ return m_readmeUrl; } /** *

A link to the readme file in Markdown language that contains a more detailed * description of the application and how it works.

Maximum size 5 MB

*/ inline void SetReadmeUrl(const Aws::String& value) { m_readmeUrl = value; } /** *

A link to the readme file in Markdown language that contains a more detailed * description of the application and how it works.

Maximum size 5 MB

*/ inline void SetReadmeUrl(Aws::String&& value) { m_readmeUrl = std::move(value); } /** *

A link to the readme file in Markdown language that contains a more detailed * description of the application and how it works.

Maximum size 5 MB

*/ inline void SetReadmeUrl(const char* value) { m_readmeUrl.assign(value); } /** *

A link to the readme file in Markdown language that contains a more detailed * description of the application and how it works.

Maximum size 5 MB

*/ inline UpdateApplicationResult& WithReadmeUrl(const Aws::String& value) { SetReadmeUrl(value); return *this;} /** *

A link to the readme file in Markdown language that contains a more detailed * description of the application and how it works.

Maximum size 5 MB

*/ inline UpdateApplicationResult& WithReadmeUrl(Aws::String&& value) { SetReadmeUrl(std::move(value)); return *this;} /** *

A link to the readme file in Markdown language that contains a more detailed * description of the application and how it works.

Maximum size 5 MB

*/ inline UpdateApplicationResult& WithReadmeUrl(const char* value) { SetReadmeUrl(value); return *this;} /** *

A valid identifier from https://spdx.org/licenses/.

*/ inline const Aws::String& GetSpdxLicenseId() const{ return m_spdxLicenseId; } /** *

A valid identifier from https://spdx.org/licenses/.

*/ inline void SetSpdxLicenseId(const Aws::String& value) { m_spdxLicenseId = value; } /** *

A valid identifier from https://spdx.org/licenses/.

*/ inline void SetSpdxLicenseId(Aws::String&& value) { m_spdxLicenseId = std::move(value); } /** *

A valid identifier from https://spdx.org/licenses/.

*/ inline void SetSpdxLicenseId(const char* value) { m_spdxLicenseId.assign(value); } /** *

A valid identifier from https://spdx.org/licenses/.

*/ inline UpdateApplicationResult& WithSpdxLicenseId(const Aws::String& value) { SetSpdxLicenseId(value); return *this;} /** *

A valid identifier from https://spdx.org/licenses/.

*/ inline UpdateApplicationResult& WithSpdxLicenseId(Aws::String&& value) { SetSpdxLicenseId(std::move(value)); return *this;} /** *

A valid identifier from https://spdx.org/licenses/.

*/ inline UpdateApplicationResult& WithSpdxLicenseId(const char* value) { SetSpdxLicenseId(value); return *this;} /** *

The URL to the public profile of a verified author. This URL is submitted by * the author.

*/ inline const Aws::String& GetVerifiedAuthorUrl() const{ return m_verifiedAuthorUrl; } /** *

The URL to the public profile of a verified author. This URL is submitted by * the author.

*/ inline void SetVerifiedAuthorUrl(const Aws::String& value) { m_verifiedAuthorUrl = value; } /** *

The URL to the public profile of a verified author. This URL is submitted by * the author.

*/ inline void SetVerifiedAuthorUrl(Aws::String&& value) { m_verifiedAuthorUrl = std::move(value); } /** *

The URL to the public profile of a verified author. This URL is submitted by * the author.

*/ inline void SetVerifiedAuthorUrl(const char* value) { m_verifiedAuthorUrl.assign(value); } /** *

The URL to the public profile of a verified author. This URL is submitted by * the author.

*/ inline UpdateApplicationResult& WithVerifiedAuthorUrl(const Aws::String& value) { SetVerifiedAuthorUrl(value); return *this;} /** *

The URL to the public profile of a verified author. This URL is submitted by * the author.

*/ inline UpdateApplicationResult& WithVerifiedAuthorUrl(Aws::String&& value) { SetVerifiedAuthorUrl(std::move(value)); return *this;} /** *

The URL to the public profile of a verified author. This URL is submitted by * the author.

*/ inline UpdateApplicationResult& WithVerifiedAuthorUrl(const char* value) { SetVerifiedAuthorUrl(value); return *this;} /** *

Version information about the application.

*/ inline const Version& GetVersion() const{ return m_version; } /** *

Version information about the application.

*/ inline void SetVersion(const Version& value) { m_version = value; } /** *

Version information about the application.

*/ inline void SetVersion(Version&& value) { m_version = std::move(value); } /** *

Version information about the application.

*/ inline UpdateApplicationResult& WithVersion(const Version& value) { SetVersion(value); return *this;} /** *

Version information about the application.

*/ inline UpdateApplicationResult& WithVersion(Version&& value) { SetVersion(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateApplicationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateApplicationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateApplicationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_applicationId; Aws::String m_author; Aws::String m_creationTime; Aws::String m_description; Aws::String m_homePageUrl; bool m_isVerifiedAuthor; Aws::Vector m_labels; Aws::String m_licenseUrl; Aws::String m_name; Aws::String m_readmeUrl; Aws::String m_spdxLicenseId; Aws::String m_verifiedAuthorUrl; Version m_version; Aws::String m_requestId; }; } // namespace Model } // namespace ServerlessApplicationRepository } // namespace Aws