/** * 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 CloudSearchDomain { namespace Model { /** *

Contains the resource id (rid) and the time it took to process * the request (timems).

See Also:

AWS * API Reference

*/ class SuggestStatus { public: AWS_CLOUDSEARCHDOMAIN_API SuggestStatus(); AWS_CLOUDSEARCHDOMAIN_API SuggestStatus(Aws::Utils::Json::JsonView jsonValue); AWS_CLOUDSEARCHDOMAIN_API SuggestStatus& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CLOUDSEARCHDOMAIN_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 SuggestStatus& 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 SuggestStatus& WithRid(const Aws::String& value) { SetRid(value); return *this;} /** *

The encrypted resource ID for the request.

*/ inline SuggestStatus& WithRid(Aws::String&& value) { SetRid(std::move(value)); return *this;} /** *

The encrypted resource ID for the request.

*/ inline SuggestStatus& 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