/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the inputs for the CreateSnapshot operation.See
* Also:
AWS
* API Reference
The identifier of the directory of which to take a snapshot.
*/ inline const Aws::String& GetDirectoryId() const{ return m_directoryId; } /** *The identifier of the directory of which to take a snapshot.
*/ inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; } /** *The identifier of the directory of which to take a snapshot.
*/ inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; } /** *The identifier of the directory of which to take a snapshot.
*/ inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); } /** *The identifier of the directory of which to take a snapshot.
*/ inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); } /** *The identifier of the directory of which to take a snapshot.
*/ inline CreateSnapshotRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;} /** *The identifier of the directory of which to take a snapshot.
*/ inline CreateSnapshotRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;} /** *The identifier of the directory of which to take a snapshot.
*/ inline CreateSnapshotRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;} /** *The descriptive name to apply to the snapshot.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The descriptive name to apply to the snapshot.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The descriptive name to apply to the snapshot.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The descriptive name to apply to the snapshot.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The descriptive name to apply to the snapshot.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The descriptive name to apply to the snapshot.
*/ inline CreateSnapshotRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The descriptive name to apply to the snapshot.
*/ inline CreateSnapshotRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The descriptive name to apply to the snapshot.
*/ inline CreateSnapshotRequest& WithName(const char* value) { SetName(value); return *this;} private: Aws::String m_directoryId; bool m_directoryIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace DirectoryService } // namespace Aws