/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Connect { namespace Model { class DescribeInstanceResult { public: AWS_CONNECT_API DescribeInstanceResult(); AWS_CONNECT_API DescribeInstanceResult(const Aws::AmazonWebServiceResult& result); AWS_CONNECT_API DescribeInstanceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the instance.

*/ inline const Instance& GetInstance() const{ return m_instance; } /** *

The name of the instance.

*/ inline void SetInstance(const Instance& value) { m_instance = value; } /** *

The name of the instance.

*/ inline void SetInstance(Instance&& value) { m_instance = std::move(value); } /** *

The name of the instance.

*/ inline DescribeInstanceResult& WithInstance(const Instance& value) { SetInstance(value); return *this;} /** *

The name of the instance.

*/ inline DescribeInstanceResult& WithInstance(Instance&& value) { SetInstance(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeInstanceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeInstanceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeInstanceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Instance m_instance; Aws::String m_requestId; }; } // namespace Model } // namespace Connect } // namespace Aws