/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SMS { namespace Model { class GetAppLaunchConfigurationResult { public: AWS_SMS_API GetAppLaunchConfigurationResult(); AWS_SMS_API GetAppLaunchConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_SMS_API GetAppLaunchConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the application.

*/ inline const Aws::String& GetAppId() const{ return m_appId; } /** *

The ID of the application.

*/ inline void SetAppId(const Aws::String& value) { m_appId = value; } /** *

The ID of the application.

*/ inline void SetAppId(Aws::String&& value) { m_appId = std::move(value); } /** *

The ID of the application.

*/ inline void SetAppId(const char* value) { m_appId.assign(value); } /** *

The ID of the application.

*/ inline GetAppLaunchConfigurationResult& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} /** *

The ID of the application.

*/ inline GetAppLaunchConfigurationResult& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} /** *

The ID of the application.

*/ inline GetAppLaunchConfigurationResult& WithAppId(const char* value) { SetAppId(value); return *this;} /** *

The name of the service role in the customer's account that CloudFormation * uses to launch the application.

*/ inline const Aws::String& GetRoleName() const{ return m_roleName; } /** *

The name of the service role in the customer's account that CloudFormation * uses to launch the application.

*/ inline void SetRoleName(const Aws::String& value) { m_roleName = value; } /** *

The name of the service role in the customer's account that CloudFormation * uses to launch the application.

*/ inline void SetRoleName(Aws::String&& value) { m_roleName = std::move(value); } /** *

The name of the service role in the customer's account that CloudFormation * uses to launch the application.

*/ inline void SetRoleName(const char* value) { m_roleName.assign(value); } /** *

The name of the service role in the customer's account that CloudFormation * uses to launch the application.

*/ inline GetAppLaunchConfigurationResult& WithRoleName(const Aws::String& value) { SetRoleName(value); return *this;} /** *

The name of the service role in the customer's account that CloudFormation * uses to launch the application.

*/ inline GetAppLaunchConfigurationResult& WithRoleName(Aws::String&& value) { SetRoleName(std::move(value)); return *this;} /** *

The name of the service role in the customer's account that CloudFormation * uses to launch the application.

*/ inline GetAppLaunchConfigurationResult& WithRoleName(const char* value) { SetRoleName(value); return *this;} /** *

Indicates whether the application is configured to launch automatically after * replication is complete.

*/ inline bool GetAutoLaunch() const{ return m_autoLaunch; } /** *

Indicates whether the application is configured to launch automatically after * replication is complete.

*/ inline void SetAutoLaunch(bool value) { m_autoLaunch = value; } /** *

Indicates whether the application is configured to launch automatically after * replication is complete.

*/ inline GetAppLaunchConfigurationResult& WithAutoLaunch(bool value) { SetAutoLaunch(value); return *this;} /** *

The launch configurations for server groups in this application.

*/ inline const Aws::Vector& GetServerGroupLaunchConfigurations() const{ return m_serverGroupLaunchConfigurations; } /** *

The launch configurations for server groups in this application.

*/ inline void SetServerGroupLaunchConfigurations(const Aws::Vector& value) { m_serverGroupLaunchConfigurations = value; } /** *

The launch configurations for server groups in this application.

*/ inline void SetServerGroupLaunchConfigurations(Aws::Vector&& value) { m_serverGroupLaunchConfigurations = std::move(value); } /** *

The launch configurations for server groups in this application.

*/ inline GetAppLaunchConfigurationResult& WithServerGroupLaunchConfigurations(const Aws::Vector& value) { SetServerGroupLaunchConfigurations(value); return *this;} /** *

The launch configurations for server groups in this application.

*/ inline GetAppLaunchConfigurationResult& WithServerGroupLaunchConfigurations(Aws::Vector&& value) { SetServerGroupLaunchConfigurations(std::move(value)); return *this;} /** *

The launch configurations for server groups in this application.

*/ inline GetAppLaunchConfigurationResult& AddServerGroupLaunchConfigurations(const ServerGroupLaunchConfiguration& value) { m_serverGroupLaunchConfigurations.push_back(value); return *this; } /** *

The launch configurations for server groups in this application.

*/ inline GetAppLaunchConfigurationResult& AddServerGroupLaunchConfigurations(ServerGroupLaunchConfiguration&& value) { m_serverGroupLaunchConfigurations.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetAppLaunchConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetAppLaunchConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetAppLaunchConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_appId; Aws::String m_roleName; bool m_autoLaunch; Aws::Vector m_serverGroupLaunchConfigurations; Aws::String m_requestId; }; } // namespace Model } // namespace SMS } // namespace Aws