/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SMS { namespace Model { /** *

Details about the latest launch of an application.

See Also:

* AWS * API Reference

*/ class LaunchDetails { public: AWS_SMS_API LaunchDetails(); AWS_SMS_API LaunchDetails(Aws::Utils::Json::JsonView jsonValue); AWS_SMS_API LaunchDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The latest time that this application was launched successfully.

*/ inline const Aws::Utils::DateTime& GetLatestLaunchTime() const{ return m_latestLaunchTime; } /** *

The latest time that this application was launched successfully.

*/ inline bool LatestLaunchTimeHasBeenSet() const { return m_latestLaunchTimeHasBeenSet; } /** *

The latest time that this application was launched successfully.

*/ inline void SetLatestLaunchTime(const Aws::Utils::DateTime& value) { m_latestLaunchTimeHasBeenSet = true; m_latestLaunchTime = value; } /** *

The latest time that this application was launched successfully.

*/ inline void SetLatestLaunchTime(Aws::Utils::DateTime&& value) { m_latestLaunchTimeHasBeenSet = true; m_latestLaunchTime = std::move(value); } /** *

The latest time that this application was launched successfully.

*/ inline LaunchDetails& WithLatestLaunchTime(const Aws::Utils::DateTime& value) { SetLatestLaunchTime(value); return *this;} /** *

The latest time that this application was launched successfully.

*/ inline LaunchDetails& WithLatestLaunchTime(Aws::Utils::DateTime&& value) { SetLatestLaunchTime(std::move(value)); return *this;} /** *

The name of the latest stack launched for this application.

*/ inline const Aws::String& GetStackName() const{ return m_stackName; } /** *

The name of the latest stack launched for this application.

*/ inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; } /** *

The name of the latest stack launched for this application.

*/ inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; } /** *

The name of the latest stack launched for this application.

*/ inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); } /** *

The name of the latest stack launched for this application.

*/ inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); } /** *

The name of the latest stack launched for this application.

*/ inline LaunchDetails& WithStackName(const Aws::String& value) { SetStackName(value); return *this;} /** *

The name of the latest stack launched for this application.

*/ inline LaunchDetails& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;} /** *

The name of the latest stack launched for this application.

*/ inline LaunchDetails& WithStackName(const char* value) { SetStackName(value); return *this;} /** *

The ID of the latest stack launched for this application.

*/ inline const Aws::String& GetStackId() const{ return m_stackId; } /** *

The ID of the latest stack launched for this application.

*/ inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; } /** *

The ID of the latest stack launched for this application.

*/ inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; } /** *

The ID of the latest stack launched for this application.

*/ inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); } /** *

The ID of the latest stack launched for this application.

*/ inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); } /** *

The ID of the latest stack launched for this application.

*/ inline LaunchDetails& WithStackId(const Aws::String& value) { SetStackId(value); return *this;} /** *

The ID of the latest stack launched for this application.

*/ inline LaunchDetails& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;} /** *

The ID of the latest stack launched for this application.

*/ inline LaunchDetails& WithStackId(const char* value) { SetStackId(value); return *this;} private: Aws::Utils::DateTime m_latestLaunchTime; bool m_latestLaunchTimeHasBeenSet = false; Aws::String m_stackName; bool m_stackNameHasBeenSet = false; Aws::String m_stackId; bool m_stackIdHasBeenSet = false; }; } // namespace Model } // namespace SMS } // namespace Aws