/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the information about a production branch for an Amplify app.
* See Also:
AWS
* API Reference
The last deploy time of the production branch.
*/ inline const Aws::Utils::DateTime& GetLastDeployTime() const{ return m_lastDeployTime; } /** *The last deploy time of the production branch.
*/ inline bool LastDeployTimeHasBeenSet() const { return m_lastDeployTimeHasBeenSet; } /** *The last deploy time of the production branch.
*/ inline void SetLastDeployTime(const Aws::Utils::DateTime& value) { m_lastDeployTimeHasBeenSet = true; m_lastDeployTime = value; } /** *The last deploy time of the production branch.
*/ inline void SetLastDeployTime(Aws::Utils::DateTime&& value) { m_lastDeployTimeHasBeenSet = true; m_lastDeployTime = std::move(value); } /** *The last deploy time of the production branch.
*/ inline ProductionBranch& WithLastDeployTime(const Aws::Utils::DateTime& value) { SetLastDeployTime(value); return *this;} /** *The last deploy time of the production branch.
*/ inline ProductionBranch& WithLastDeployTime(Aws::Utils::DateTime&& value) { SetLastDeployTime(std::move(value)); return *this;} /** *The status of the production branch.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *The status of the production branch.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the production branch.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the production branch.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the production branch.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *The status of the production branch.
*/ inline ProductionBranch& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *The status of the production branch.
*/ inline ProductionBranch& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *The status of the production branch.
*/ inline ProductionBranch& WithStatus(const char* value) { SetStatus(value); return *this;} /** *The thumbnail URL for the production branch.
*/ inline const Aws::String& GetThumbnailUrl() const{ return m_thumbnailUrl; } /** *The thumbnail URL for the production branch.
*/ inline bool ThumbnailUrlHasBeenSet() const { return m_thumbnailUrlHasBeenSet; } /** *The thumbnail URL for the production branch.
*/ inline void SetThumbnailUrl(const Aws::String& value) { m_thumbnailUrlHasBeenSet = true; m_thumbnailUrl = value; } /** *The thumbnail URL for the production branch.
*/ inline void SetThumbnailUrl(Aws::String&& value) { m_thumbnailUrlHasBeenSet = true; m_thumbnailUrl = std::move(value); } /** *The thumbnail URL for the production branch.
*/ inline void SetThumbnailUrl(const char* value) { m_thumbnailUrlHasBeenSet = true; m_thumbnailUrl.assign(value); } /** *The thumbnail URL for the production branch.
*/ inline ProductionBranch& WithThumbnailUrl(const Aws::String& value) { SetThumbnailUrl(value); return *this;} /** *The thumbnail URL for the production branch.
*/ inline ProductionBranch& WithThumbnailUrl(Aws::String&& value) { SetThumbnailUrl(std::move(value)); return *this;} /** *The thumbnail URL for the production branch.
*/ inline ProductionBranch& WithThumbnailUrl(const char* value) { SetThumbnailUrl(value); return *this;} /** *The branch name for the production branch.
*/ inline const Aws::String& GetBranchName() const{ return m_branchName; } /** *The branch name for the production branch.
*/ inline bool BranchNameHasBeenSet() const { return m_branchNameHasBeenSet; } /** *The branch name for the production branch.
*/ inline void SetBranchName(const Aws::String& value) { m_branchNameHasBeenSet = true; m_branchName = value; } /** *The branch name for the production branch.
*/ inline void SetBranchName(Aws::String&& value) { m_branchNameHasBeenSet = true; m_branchName = std::move(value); } /** *The branch name for the production branch.
*/ inline void SetBranchName(const char* value) { m_branchNameHasBeenSet = true; m_branchName.assign(value); } /** *The branch name for the production branch.
*/ inline ProductionBranch& WithBranchName(const Aws::String& value) { SetBranchName(value); return *this;} /** *The branch name for the production branch.
*/ inline ProductionBranch& WithBranchName(Aws::String&& value) { SetBranchName(std::move(value)); return *this;} /** *The branch name for the production branch.
*/ inline ProductionBranch& WithBranchName(const char* value) { SetBranchName(value); return *this;} private: Aws::Utils::DateTime m_lastDeployTime; bool m_lastDeployTimeHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_thumbnailUrl; bool m_thumbnailUrlHasBeenSet = false; Aws::String m_branchName; bool m_branchNameHasBeenSet = false; }; } // namespace Model } // namespace Amplify } // namespace Aws