/**
* 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 batch AttachObject response
* operation.
See Also:
AWS
* API Reference
*/
class BatchAttachObjectResponse
{
public:
AWS_CLOUDDIRECTORY_API BatchAttachObjectResponse();
AWS_CLOUDDIRECTORY_API BatchAttachObjectResponse(Aws::Utils::Json::JsonView jsonValue);
AWS_CLOUDDIRECTORY_API BatchAttachObjectResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The ObjectIdentifier
of the object that has been attached.
*/
inline const Aws::String& GetAttachedObjectIdentifier() const{ return m_attachedObjectIdentifier; }
/**
* The ObjectIdentifier
of the object that has been attached.
*/
inline bool AttachedObjectIdentifierHasBeenSet() const { return m_attachedObjectIdentifierHasBeenSet; }
/**
* The ObjectIdentifier
of the object that has been attached.
*/
inline void SetAttachedObjectIdentifier(const Aws::String& value) { m_attachedObjectIdentifierHasBeenSet = true; m_attachedObjectIdentifier = value; }
/**
* The ObjectIdentifier
of the object that has been attached.
*/
inline void SetAttachedObjectIdentifier(Aws::String&& value) { m_attachedObjectIdentifierHasBeenSet = true; m_attachedObjectIdentifier = std::move(value); }
/**
* The ObjectIdentifier
of the object that has been attached.
*/
inline void SetAttachedObjectIdentifier(const char* value) { m_attachedObjectIdentifierHasBeenSet = true; m_attachedObjectIdentifier.assign(value); }
/**
* The ObjectIdentifier
of the object that has been attached.
*/
inline BatchAttachObjectResponse& WithAttachedObjectIdentifier(const Aws::String& value) { SetAttachedObjectIdentifier(value); return *this;}
/**
* The ObjectIdentifier
of the object that has been attached.
*/
inline BatchAttachObjectResponse& WithAttachedObjectIdentifier(Aws::String&& value) { SetAttachedObjectIdentifier(std::move(value)); return *this;}
/**
* The ObjectIdentifier
of the object that has been attached.
*/
inline BatchAttachObjectResponse& WithAttachedObjectIdentifier(const char* value) { SetAttachedObjectIdentifier(value); return *this;}
private:
Aws::String m_attachedObjectIdentifier;
bool m_attachedObjectIdentifierHasBeenSet = false;
};
} // namespace Model
} // namespace CloudDirectory
} // namespace Aws