/**
* 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 CreateIndex response
* operation.
See Also:
AWS
* API Reference
*/
class BatchCreateIndexResponse
{
public:
AWS_CLOUDDIRECTORY_API BatchCreateIndexResponse();
AWS_CLOUDDIRECTORY_API BatchCreateIndexResponse(Aws::Utils::Json::JsonView jsonValue);
AWS_CLOUDDIRECTORY_API BatchCreateIndexResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The ObjectIdentifier
of the index created by this operation.
*/
inline const Aws::String& GetObjectIdentifier() const{ return m_objectIdentifier; }
/**
* The ObjectIdentifier
of the index created by this operation.
*/
inline bool ObjectIdentifierHasBeenSet() const { return m_objectIdentifierHasBeenSet; }
/**
* The ObjectIdentifier
of the index created by this operation.
*/
inline void SetObjectIdentifier(const Aws::String& value) { m_objectIdentifierHasBeenSet = true; m_objectIdentifier = value; }
/**
* The ObjectIdentifier
of the index created by this operation.
*/
inline void SetObjectIdentifier(Aws::String&& value) { m_objectIdentifierHasBeenSet = true; m_objectIdentifier = std::move(value); }
/**
* The ObjectIdentifier
of the index created by this operation.
*/
inline void SetObjectIdentifier(const char* value) { m_objectIdentifierHasBeenSet = true; m_objectIdentifier.assign(value); }
/**
* The ObjectIdentifier
of the index created by this operation.
*/
inline BatchCreateIndexResponse& WithObjectIdentifier(const Aws::String& value) { SetObjectIdentifier(value); return *this;}
/**
* The ObjectIdentifier
of the index created by this operation.
*/
inline BatchCreateIndexResponse& WithObjectIdentifier(Aws::String&& value) { SetObjectIdentifier(std::move(value)); return *this;}
/**
* The ObjectIdentifier
of the index created by this operation.
*/
inline BatchCreateIndexResponse& WithObjectIdentifier(const char* value) { SetObjectIdentifier(value); return *this;}
private:
Aws::String m_objectIdentifier;
bool m_objectIdentifierHasBeenSet = false;
};
} // namespace Model
} // namespace CloudDirectory
} // namespace Aws