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

The IDs of individual environments to get information about.

*/ inline const Aws::Vector& GetEnvironmentIds() const{ return m_environmentIds; } /** *

The IDs of individual environments to get information about.

*/ inline bool EnvironmentIdsHasBeenSet() const { return m_environmentIdsHasBeenSet; } /** *

The IDs of individual environments to get information about.

*/ inline void SetEnvironmentIds(const Aws::Vector& value) { m_environmentIdsHasBeenSet = true; m_environmentIds = value; } /** *

The IDs of individual environments to get information about.

*/ inline void SetEnvironmentIds(Aws::Vector&& value) { m_environmentIdsHasBeenSet = true; m_environmentIds = std::move(value); } /** *

The IDs of individual environments to get information about.

*/ inline DescribeEnvironmentsRequest& WithEnvironmentIds(const Aws::Vector& value) { SetEnvironmentIds(value); return *this;} /** *

The IDs of individual environments to get information about.

*/ inline DescribeEnvironmentsRequest& WithEnvironmentIds(Aws::Vector&& value) { SetEnvironmentIds(std::move(value)); return *this;} /** *

The IDs of individual environments to get information about.

*/ inline DescribeEnvironmentsRequest& AddEnvironmentIds(const Aws::String& value) { m_environmentIdsHasBeenSet = true; m_environmentIds.push_back(value); return *this; } /** *

The IDs of individual environments to get information about.

*/ inline DescribeEnvironmentsRequest& AddEnvironmentIds(Aws::String&& value) { m_environmentIdsHasBeenSet = true; m_environmentIds.push_back(std::move(value)); return *this; } /** *

The IDs of individual environments to get information about.

*/ inline DescribeEnvironmentsRequest& AddEnvironmentIds(const char* value) { m_environmentIdsHasBeenSet = true; m_environmentIds.push_back(value); return *this; } private: Aws::Vector m_environmentIds; bool m_environmentIdsHasBeenSet = false; }; } // namespace Model } // namespace Cloud9 } // namespace Aws