/** * 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 Cloud9 { namespace Model { /** */ class DescribeEnvironmentStatusRequest : public Cloud9Request { public: AWS_CLOUD9_API DescribeEnvironmentStatusRequest(); // 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 "DescribeEnvironmentStatus"; } AWS_CLOUD9_API Aws::String SerializePayload() const override; AWS_CLOUD9_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the environment to get status information about.

*/ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** *

The ID of the environment to get status information about.

*/ inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } /** *

The ID of the environment to get status information about.

*/ inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } /** *

The ID of the environment to get status information about.

*/ inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } /** *

The ID of the environment to get status information about.

*/ inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } /** *

The ID of the environment to get status information about.

*/ inline DescribeEnvironmentStatusRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *

The ID of the environment to get status information about.

*/ inline DescribeEnvironmentStatusRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *

The ID of the environment to get status information about.

*/ inline DescribeEnvironmentStatusRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} private: Aws::String m_environmentId; bool m_environmentIdHasBeenSet = false; }; } // namespace Model } // namespace Cloud9 } // namespace Aws