/** * 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 MediaStore { namespace Model { /** */ class DescribeContainerRequest : public MediaStoreRequest { public: AWS_MEDIASTORE_API DescribeContainerRequest(); // 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 "DescribeContainer"; } AWS_MEDIASTORE_API Aws::String SerializePayload() const override; AWS_MEDIASTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the container to query.

*/ inline const Aws::String& GetContainerName() const{ return m_containerName; } /** *

The name of the container to query.

*/ inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; } /** *

The name of the container to query.

*/ inline void SetContainerName(const Aws::String& value) { m_containerNameHasBeenSet = true; m_containerName = value; } /** *

The name of the container to query.

*/ inline void SetContainerName(Aws::String&& value) { m_containerNameHasBeenSet = true; m_containerName = std::move(value); } /** *

The name of the container to query.

*/ inline void SetContainerName(const char* value) { m_containerNameHasBeenSet = true; m_containerName.assign(value); } /** *

The name of the container to query.

*/ inline DescribeContainerRequest& WithContainerName(const Aws::String& value) { SetContainerName(value); return *this;} /** *

The name of the container to query.

*/ inline DescribeContainerRequest& WithContainerName(Aws::String&& value) { SetContainerName(std::move(value)); return *this;} /** *

The name of the container to query.

*/ inline DescribeContainerRequest& WithContainerName(const char* value) { SetContainerName(value); return *this;} private: Aws::String m_containerName; bool m_containerNameHasBeenSet = false; }; } // namespace Model } // namespace MediaStore } // namespace Aws