/** * 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 DescribeInstanceAttributeResult { public: AWS_CONNECT_API DescribeInstanceAttributeResult(); AWS_CONNECT_API DescribeInstanceAttributeResult(const Aws::AmazonWebServiceResult& result); AWS_CONNECT_API DescribeInstanceAttributeResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The type of attribute.

*/ inline const Attribute& GetAttribute() const{ return m_attribute; } /** *

The type of attribute.

*/ inline void SetAttribute(const Attribute& value) { m_attribute = value; } /** *

The type of attribute.

*/ inline void SetAttribute(Attribute&& value) { m_attribute = std::move(value); } /** *

The type of attribute.

*/ inline DescribeInstanceAttributeResult& WithAttribute(const Attribute& value) { SetAttribute(value); return *this;} /** *

The type of attribute.

*/ inline DescribeInstanceAttributeResult& WithAttribute(Attribute&& value) { SetAttribute(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 DescribeInstanceAttributeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeInstanceAttributeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeInstanceAttributeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Attribute m_attribute; Aws::String m_requestId; }; } // namespace Model } // namespace Connect } // namespace Aws