/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the resource id (rid
) and the time it took to process
* the request (timems
).See Also:
AWS
* API Reference
How long it took to process the request, in milliseconds.
*/ inline long long GetTimems() const{ return m_timems; } /** *How long it took to process the request, in milliseconds.
*/ inline bool TimemsHasBeenSet() const { return m_timemsHasBeenSet; } /** *How long it took to process the request, in milliseconds.
*/ inline void SetTimems(long long value) { m_timemsHasBeenSet = true; m_timems = value; } /** *How long it took to process the request, in milliseconds.
*/ inline SearchStatus& WithTimems(long long value) { SetTimems(value); return *this;} /** *The encrypted resource ID for the request.
*/ inline const Aws::String& GetRid() const{ return m_rid; } /** *The encrypted resource ID for the request.
*/ inline bool RidHasBeenSet() const { return m_ridHasBeenSet; } /** *The encrypted resource ID for the request.
*/ inline void SetRid(const Aws::String& value) { m_ridHasBeenSet = true; m_rid = value; } /** *The encrypted resource ID for the request.
*/ inline void SetRid(Aws::String&& value) { m_ridHasBeenSet = true; m_rid = std::move(value); } /** *The encrypted resource ID for the request.
*/ inline void SetRid(const char* value) { m_ridHasBeenSet = true; m_rid.assign(value); } /** *The encrypted resource ID for the request.
*/ inline SearchStatus& WithRid(const Aws::String& value) { SetRid(value); return *this;} /** *The encrypted resource ID for the request.
*/ inline SearchStatus& WithRid(Aws::String&& value) { SetRid(std::move(value)); return *this;} /** *The encrypted resource ID for the request.
*/ inline SearchStatus& WithRid(const char* value) { SetRid(value); return *this;} private: long long m_timems; bool m_timemsHasBeenSet = false; Aws::String m_rid; bool m_ridHasBeenSet = false; }; } // namespace Model } // namespace CloudSearchDomain } // namespace Aws