/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CodeDeploy { namespace Model { /** *

Information about an application.

See Also:

AWS * API Reference

*/ class ApplicationInfo { public: AWS_CODEDEPLOY_API ApplicationInfo(); AWS_CODEDEPLOY_API ApplicationInfo(Aws::Utils::Json::JsonView jsonValue); AWS_CODEDEPLOY_API ApplicationInfo& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CODEDEPLOY_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 ApplicationInfo& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *

The application ID.

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

The application ID.

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

The application name.

*/ inline const Aws::String& GetApplicationName() const{ return m_applicationName; } /** *

The application name.

*/ inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } /** *

The application name.

*/ inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; } /** *

The application name.

*/ inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); } /** *

The application name.

*/ inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); } /** *

The application name.

*/ inline ApplicationInfo& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;} /** *

The application name.

*/ inline ApplicationInfo& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;} /** *

The application name.

*/ inline ApplicationInfo& WithApplicationName(const char* value) { SetApplicationName(value); return *this;} /** *

The time at which the application was created.

*/ inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** *

The time at which the application was created.

*/ inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** *

The time at which the application was created.

*/ inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** *

The time at which the application was created.

*/ inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** *

The time at which the application was created.

*/ inline ApplicationInfo& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** *

The time at which the application was created.

*/ inline ApplicationInfo& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** *

True if the user has authenticated with GitHub for the specified application. * Otherwise, false.

*/ inline bool GetLinkedToGitHub() const{ return m_linkedToGitHub; } /** *

True if the user has authenticated with GitHub for the specified application. * Otherwise, false.

*/ inline bool LinkedToGitHubHasBeenSet() const { return m_linkedToGitHubHasBeenSet; } /** *

True if the user has authenticated with GitHub for the specified application. * Otherwise, false.

*/ inline void SetLinkedToGitHub(bool value) { m_linkedToGitHubHasBeenSet = true; m_linkedToGitHub = value; } /** *

True if the user has authenticated with GitHub for the specified application. * Otherwise, false.

*/ inline ApplicationInfo& WithLinkedToGitHub(bool value) { SetLinkedToGitHub(value); return *this;} /** *

The name for a connection to a GitHub account.

*/ inline const Aws::String& GetGitHubAccountName() const{ return m_gitHubAccountName; } /** *

The name for a connection to a GitHub account.

*/ inline bool GitHubAccountNameHasBeenSet() const { return m_gitHubAccountNameHasBeenSet; } /** *

The name for a connection to a GitHub account.

*/ inline void SetGitHubAccountName(const Aws::String& value) { m_gitHubAccountNameHasBeenSet = true; m_gitHubAccountName = value; } /** *

The name for a connection to a GitHub account.

*/ inline void SetGitHubAccountName(Aws::String&& value) { m_gitHubAccountNameHasBeenSet = true; m_gitHubAccountName = std::move(value); } /** *

The name for a connection to a GitHub account.

*/ inline void SetGitHubAccountName(const char* value) { m_gitHubAccountNameHasBeenSet = true; m_gitHubAccountName.assign(value); } /** *

The name for a connection to a GitHub account.

*/ inline ApplicationInfo& WithGitHubAccountName(const Aws::String& value) { SetGitHubAccountName(value); return *this;} /** *

The name for a connection to a GitHub account.

*/ inline ApplicationInfo& WithGitHubAccountName(Aws::String&& value) { SetGitHubAccountName(std::move(value)); return *this;} /** *

The name for a connection to a GitHub account.

*/ inline ApplicationInfo& WithGitHubAccountName(const char* value) { SetGitHubAccountName(value); return *this;} /** *

The destination platform type for deployment of the application * (Lambda or Server).

*/ inline const ComputePlatform& GetComputePlatform() const{ return m_computePlatform; } /** *

The destination platform type for deployment of the application * (Lambda or Server).

*/ inline bool ComputePlatformHasBeenSet() const { return m_computePlatformHasBeenSet; } /** *

The destination platform type for deployment of the application * (Lambda or Server).

*/ inline void SetComputePlatform(const ComputePlatform& value) { m_computePlatformHasBeenSet = true; m_computePlatform = value; } /** *

The destination platform type for deployment of the application * (Lambda or Server).

*/ inline void SetComputePlatform(ComputePlatform&& value) { m_computePlatformHasBeenSet = true; m_computePlatform = std::move(value); } /** *

The destination platform type for deployment of the application * (Lambda or Server).

*/ inline ApplicationInfo& WithComputePlatform(const ComputePlatform& value) { SetComputePlatform(value); return *this;} /** *

The destination platform type for deployment of the application * (Lambda or Server).

*/ inline ApplicationInfo& WithComputePlatform(ComputePlatform&& value) { SetComputePlatform(std::move(value)); return *this;} private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; Aws::Utils::DateTime m_createTime; bool m_createTimeHasBeenSet = false; bool m_linkedToGitHub; bool m_linkedToGitHubHasBeenSet = false; Aws::String m_gitHubAccountName; bool m_gitHubAccountNameHasBeenSet = false; ComputePlatform m_computePlatform; bool m_computePlatformHasBeenSet = false; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws