/** * 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 mgn { namespace Model { /** *

Status of the Post Launch Actions running on the Test or Cutover * instance.

See Also:

AWS * API Reference

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

List of Post Launch Action status.

*/ inline const Aws::Vector& GetPostLaunchActionsLaunchStatusList() const{ return m_postLaunchActionsLaunchStatusList; } /** *

List of Post Launch Action status.

*/ inline bool PostLaunchActionsLaunchStatusListHasBeenSet() const { return m_postLaunchActionsLaunchStatusListHasBeenSet; } /** *

List of Post Launch Action status.

*/ inline void SetPostLaunchActionsLaunchStatusList(const Aws::Vector& value) { m_postLaunchActionsLaunchStatusListHasBeenSet = true; m_postLaunchActionsLaunchStatusList = value; } /** *

List of Post Launch Action status.

*/ inline void SetPostLaunchActionsLaunchStatusList(Aws::Vector&& value) { m_postLaunchActionsLaunchStatusListHasBeenSet = true; m_postLaunchActionsLaunchStatusList = std::move(value); } /** *

List of Post Launch Action status.

*/ inline PostLaunchActionsStatus& WithPostLaunchActionsLaunchStatusList(const Aws::Vector& value) { SetPostLaunchActionsLaunchStatusList(value); return *this;} /** *

List of Post Launch Action status.

*/ inline PostLaunchActionsStatus& WithPostLaunchActionsLaunchStatusList(Aws::Vector&& value) { SetPostLaunchActionsLaunchStatusList(std::move(value)); return *this;} /** *

List of Post Launch Action status.

*/ inline PostLaunchActionsStatus& AddPostLaunchActionsLaunchStatusList(const JobPostLaunchActionsLaunchStatus& value) { m_postLaunchActionsLaunchStatusListHasBeenSet = true; m_postLaunchActionsLaunchStatusList.push_back(value); return *this; } /** *

List of Post Launch Action status.

*/ inline PostLaunchActionsStatus& AddPostLaunchActionsLaunchStatusList(JobPostLaunchActionsLaunchStatus&& value) { m_postLaunchActionsLaunchStatusListHasBeenSet = true; m_postLaunchActionsLaunchStatusList.push_back(std::move(value)); return *this; } /** *

Time where the AWS Systems Manager was detected as running on the Test or * Cutover instance.

*/ inline const Aws::String& GetSsmAgentDiscoveryDatetime() const{ return m_ssmAgentDiscoveryDatetime; } /** *

Time where the AWS Systems Manager was detected as running on the Test or * Cutover instance.

*/ inline bool SsmAgentDiscoveryDatetimeHasBeenSet() const { return m_ssmAgentDiscoveryDatetimeHasBeenSet; } /** *

Time where the AWS Systems Manager was detected as running on the Test or * Cutover instance.

*/ inline void SetSsmAgentDiscoveryDatetime(const Aws::String& value) { m_ssmAgentDiscoveryDatetimeHasBeenSet = true; m_ssmAgentDiscoveryDatetime = value; } /** *

Time where the AWS Systems Manager was detected as running on the Test or * Cutover instance.

*/ inline void SetSsmAgentDiscoveryDatetime(Aws::String&& value) { m_ssmAgentDiscoveryDatetimeHasBeenSet = true; m_ssmAgentDiscoveryDatetime = std::move(value); } /** *

Time where the AWS Systems Manager was detected as running on the Test or * Cutover instance.

*/ inline void SetSsmAgentDiscoveryDatetime(const char* value) { m_ssmAgentDiscoveryDatetimeHasBeenSet = true; m_ssmAgentDiscoveryDatetime.assign(value); } /** *

Time where the AWS Systems Manager was detected as running on the Test or * Cutover instance.

*/ inline PostLaunchActionsStatus& WithSsmAgentDiscoveryDatetime(const Aws::String& value) { SetSsmAgentDiscoveryDatetime(value); return *this;} /** *

Time where the AWS Systems Manager was detected as running on the Test or * Cutover instance.

*/ inline PostLaunchActionsStatus& WithSsmAgentDiscoveryDatetime(Aws::String&& value) { SetSsmAgentDiscoveryDatetime(std::move(value)); return *this;} /** *

Time where the AWS Systems Manager was detected as running on the Test or * Cutover instance.

*/ inline PostLaunchActionsStatus& WithSsmAgentDiscoveryDatetime(const char* value) { SetSsmAgentDiscoveryDatetime(value); return *this;} private: Aws::Vector m_postLaunchActionsLaunchStatusList; bool m_postLaunchActionsLaunchStatusListHasBeenSet = false; Aws::String m_ssmAgentDiscoveryDatetime; bool m_ssmAgentDiscoveryDatetimeHasBeenSet = false; }; } // namespace Model } // namespace mgn } // namespace Aws