/** * 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 DirectoryService { namespace Model { /** *

Contains the inputs for the GetSnapshotLimits operation.

See * Also:

AWS * API Reference

*/ class AWS_DIRECTORYSERVICE_API GetSnapshotLimitsRequest : public DirectoryServiceRequest { public: GetSnapshotLimitsRequest(); // 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 "GetSnapshotLimits"; } Aws::String SerializePayload() const override; Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Contains the identifier of the directory to obtain the limits for.

*/ inline const Aws::String& GetDirectoryId() const{ return m_directoryId; } /** *

Contains the identifier of the directory to obtain the limits for.

*/ inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; } /** *

Contains the identifier of the directory to obtain the limits for.

*/ inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; } /** *

Contains the identifier of the directory to obtain the limits for.

*/ inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); } /** *

Contains the identifier of the directory to obtain the limits for.

*/ inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); } /** *

Contains the identifier of the directory to obtain the limits for.

*/ inline GetSnapshotLimitsRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;} /** *

Contains the identifier of the directory to obtain the limits for.

*/ inline GetSnapshotLimitsRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;} /** *

Contains the identifier of the directory to obtain the limits for.

*/ inline GetSnapshotLimitsRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;} private: Aws::String m_directoryId; bool m_directoryIdHasBeenSet; }; } // namespace Model } // namespace DirectoryService } // namespace Aws