/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An application version summary.See Also:
AWS
* API Reference
The application Amazon Resource Name (ARN).
*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *The application Amazon Resource Name (ARN).
*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *The application Amazon Resource Name (ARN).
*/ inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } /** *The application Amazon Resource Name (ARN).
*/ inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } /** *The application Amazon Resource Name (ARN).
*/ inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } /** *The application Amazon Resource Name (ARN).
*/ inline VersionSummary& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *The application Amazon Resource Name (ARN).
*/ inline VersionSummary& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *The application Amazon Resource Name (ARN).
*/ inline VersionSummary& WithApplicationId(const char* value) { SetApplicationId(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 bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The date and time this resource was created.
*/ inline void SetCreationTime(const Aws::String& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The date and time this resource was created.
*/ inline void SetCreationTime(Aws::String&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The date and time this resource was created.
*/ inline void SetCreationTime(const char* value) { m_creationTimeHasBeenSet = true; m_creationTime.assign(value); } /** *The date and time this resource was created.
*/ inline VersionSummary& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;} /** *The date and time this resource was created.
*/ inline VersionSummary& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;} /** *The date and time this resource was created.
*/ inline VersionSummary& WithCreationTime(const char* value) { SetCreationTime(value); return *this;} /** *The semantic version of the application:
*/ inline const Aws::String& GetSemanticVersion() const{ return m_semanticVersion; } /** *The semantic version of the application:
*/ inline bool SemanticVersionHasBeenSet() const { return m_semanticVersionHasBeenSet; } /** *The semantic version of the application:
*/ inline void SetSemanticVersion(const Aws::String& value) { m_semanticVersionHasBeenSet = true; m_semanticVersion = value; } /** *The semantic version of the application:
*/ inline void SetSemanticVersion(Aws::String&& value) { m_semanticVersionHasBeenSet = true; m_semanticVersion = std::move(value); } /** *The semantic version of the application:
*/ inline void SetSemanticVersion(const char* value) { m_semanticVersionHasBeenSet = true; m_semanticVersion.assign(value); } /** *The semantic version of the application:
*/ inline VersionSummary& WithSemanticVersion(const Aws::String& value) { SetSemanticVersion(value); return *this;} /** *The semantic version of the application:
*/ inline VersionSummary& WithSemanticVersion(Aws::String&& value) { SetSemanticVersion(std::move(value)); return *this;} /** *The semantic version of the application:
*/ inline VersionSummary& WithSemanticVersion(const char* value) { SetSemanticVersion(value); return *this;} /** *A link to a public repository for the source code of your application, for * example the URL of a specific GitHub commit.
*/ inline const Aws::String& GetSourceCodeUrl() const{ return m_sourceCodeUrl; } /** *A link to a public repository for the source code of your application, for * example the URL of a specific GitHub commit.
*/ inline bool SourceCodeUrlHasBeenSet() const { return m_sourceCodeUrlHasBeenSet; } /** *A link to a public repository for the source code of your application, for * example the URL of a specific GitHub commit.
*/ inline void SetSourceCodeUrl(const Aws::String& value) { m_sourceCodeUrlHasBeenSet = true; m_sourceCodeUrl = value; } /** *A link to a public repository for the source code of your application, for * example the URL of a specific GitHub commit.
*/ inline void SetSourceCodeUrl(Aws::String&& value) { m_sourceCodeUrlHasBeenSet = true; m_sourceCodeUrl = std::move(value); } /** *A link to a public repository for the source code of your application, for * example the URL of a specific GitHub commit.
*/ inline void SetSourceCodeUrl(const char* value) { m_sourceCodeUrlHasBeenSet = true; m_sourceCodeUrl.assign(value); } /** *A link to a public repository for the source code of your application, for * example the URL of a specific GitHub commit.
*/ inline VersionSummary& WithSourceCodeUrl(const Aws::String& value) { SetSourceCodeUrl(value); return *this;} /** *A link to a public repository for the source code of your application, for * example the URL of a specific GitHub commit.
*/ inline VersionSummary& WithSourceCodeUrl(Aws::String&& value) { SetSourceCodeUrl(std::move(value)); return *this;} /** *A link to a public repository for the source code of your application, for * example the URL of a specific GitHub commit.
*/ inline VersionSummary& WithSourceCodeUrl(const char* value) { SetSourceCodeUrl(value); return *this;} private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::String m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::String m_semanticVersion; bool m_semanticVersionHasBeenSet = false; Aws::String m_sourceCodeUrl; bool m_sourceCodeUrlHasBeenSet = false; }; } // namespace Model } // namespace ServerlessApplicationRepository } // namespace Aws