/** * 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 CloudWatchEvidently { namespace Model { /** */ class StartLaunchRequest : public CloudWatchEvidentlyRequest { public: AWS_CLOUDWATCHEVIDENTLY_API StartLaunchRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "StartLaunch"; } AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override; /** *

The name of the launch to start.

*/ inline const Aws::String& GetLaunch() const{ return m_launch; } /** *

The name of the launch to start.

*/ inline bool LaunchHasBeenSet() const { return m_launchHasBeenSet; } /** *

The name of the launch to start.

*/ inline void SetLaunch(const Aws::String& value) { m_launchHasBeenSet = true; m_launch = value; } /** *

The name of the launch to start.

*/ inline void SetLaunch(Aws::String&& value) { m_launchHasBeenSet = true; m_launch = std::move(value); } /** *

The name of the launch to start.

*/ inline void SetLaunch(const char* value) { m_launchHasBeenSet = true; m_launch.assign(value); } /** *

The name of the launch to start.

*/ inline StartLaunchRequest& WithLaunch(const Aws::String& value) { SetLaunch(value); return *this;} /** *

The name of the launch to start.

*/ inline StartLaunchRequest& WithLaunch(Aws::String&& value) { SetLaunch(std::move(value)); return *this;} /** *

The name of the launch to start.

*/ inline StartLaunchRequest& WithLaunch(const char* value) { SetLaunch(value); return *this;} /** *

The name or ARN of the project that contains the launch to start.

*/ inline const Aws::String& GetProject() const{ return m_project; } /** *

The name or ARN of the project that contains the launch to start.

*/ inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; } /** *

The name or ARN of the project that contains the launch to start.

*/ inline void SetProject(const Aws::String& value) { m_projectHasBeenSet = true; m_project = value; } /** *

The name or ARN of the project that contains the launch to start.

*/ inline void SetProject(Aws::String&& value) { m_projectHasBeenSet = true; m_project = std::move(value); } /** *

The name or ARN of the project that contains the launch to start.

*/ inline void SetProject(const char* value) { m_projectHasBeenSet = true; m_project.assign(value); } /** *

The name or ARN of the project that contains the launch to start.

*/ inline StartLaunchRequest& WithProject(const Aws::String& value) { SetProject(value); return *this;} /** *

The name or ARN of the project that contains the launch to start.

*/ inline StartLaunchRequest& WithProject(Aws::String&& value) { SetProject(std::move(value)); return *this;} /** *

The name or ARN of the project that contains the launch to start.

*/ inline StartLaunchRequest& WithProject(const char* value) { SetProject(value); return *this;} private: Aws::String m_launch; bool m_launchHasBeenSet = false; Aws::String m_project; bool m_projectHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchEvidently } // namespace Aws