/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CloudDirectory { namespace Model { class DisableDirectoryResult { public: AWS_CLOUDDIRECTORY_API DisableDirectoryResult(); AWS_CLOUDDIRECTORY_API DisableDirectoryResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDDIRECTORY_API DisableDirectoryResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the directory that has been disabled.

*/ inline const Aws::String& GetDirectoryArn() const{ return m_directoryArn; } /** *

The ARN of the directory that has been disabled.

*/ inline void SetDirectoryArn(const Aws::String& value) { m_directoryArn = value; } /** *

The ARN of the directory that has been disabled.

*/ inline void SetDirectoryArn(Aws::String&& value) { m_directoryArn = std::move(value); } /** *

The ARN of the directory that has been disabled.

*/ inline void SetDirectoryArn(const char* value) { m_directoryArn.assign(value); } /** *

The ARN of the directory that has been disabled.

*/ inline DisableDirectoryResult& WithDirectoryArn(const Aws::String& value) { SetDirectoryArn(value); return *this;} /** *

The ARN of the directory that has been disabled.

*/ inline DisableDirectoryResult& WithDirectoryArn(Aws::String&& value) { SetDirectoryArn(std::move(value)); return *this;} /** *

The ARN of the directory that has been disabled.

*/ inline DisableDirectoryResult& WithDirectoryArn(const char* value) { SetDirectoryArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DisableDirectoryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DisableDirectoryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DisableDirectoryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_directoryArn; Aws::String m_requestId; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws