/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace CloudDirectory
{
namespace Model
{
/**
* Represents the output of a DetachObject response
* operation.
See Also:
AWS
* API Reference
*/
class BatchDetachObjectResponse
{
public:
AWS_CLOUDDIRECTORY_API BatchDetachObjectResponse();
AWS_CLOUDDIRECTORY_API BatchDetachObjectResponse(Aws::Utils::Json::JsonView jsonValue);
AWS_CLOUDDIRECTORY_API BatchDetachObjectResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The ObjectIdentifier
of the detached object.
*/
inline const Aws::String& GetDetachedObjectIdentifier() const{ return m_detachedObjectIdentifier; }
/**
* The ObjectIdentifier
of the detached object.
*/
inline bool DetachedObjectIdentifierHasBeenSet() const { return m_detachedObjectIdentifierHasBeenSet; }
/**
* The ObjectIdentifier
of the detached object.
*/
inline void SetDetachedObjectIdentifier(const Aws::String& value) { m_detachedObjectIdentifierHasBeenSet = true; m_detachedObjectIdentifier = value; }
/**
* The ObjectIdentifier
of the detached object.
*/
inline void SetDetachedObjectIdentifier(Aws::String&& value) { m_detachedObjectIdentifierHasBeenSet = true; m_detachedObjectIdentifier = std::move(value); }
/**
* The ObjectIdentifier
of the detached object.
*/
inline void SetDetachedObjectIdentifier(const char* value) { m_detachedObjectIdentifierHasBeenSet = true; m_detachedObjectIdentifier.assign(value); }
/**
* The ObjectIdentifier
of the detached object.
*/
inline BatchDetachObjectResponse& WithDetachedObjectIdentifier(const Aws::String& value) { SetDetachedObjectIdentifier(value); return *this;}
/**
* The ObjectIdentifier
of the detached object.
*/
inline BatchDetachObjectResponse& WithDetachedObjectIdentifier(Aws::String&& value) { SetDetachedObjectIdentifier(std::move(value)); return *this;}
/**
* The ObjectIdentifier
of the detached object.
*/
inline BatchDetachObjectResponse& WithDetachedObjectIdentifier(const char* value) { SetDetachedObjectIdentifier(value); return *this;}
private:
Aws::String m_detachedObjectIdentifier;
bool m_detachedObjectIdentifierHasBeenSet = false;
};
} // namespace Model
} // namespace CloudDirectory
} // namespace Aws