/** * 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 IoTWireless { namespace Model { class GetServiceProfileResult { public: AWS_IOTWIRELESS_API GetServiceProfileResult(); AWS_IOTWIRELESS_API GetServiceProfileResult(const Aws::AmazonWebServiceResult& result); AWS_IOTWIRELESS_API GetServiceProfileResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name of the resource.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name of the resource.

*/ inline void SetArn(const Aws::String& value) { m_arn = value; } /** *

The Amazon Resource Name of the resource.

*/ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** *

The Amazon Resource Name of the resource.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon Resource Name of the resource.

*/ inline GetServiceProfileResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name of the resource.

*/ inline GetServiceProfileResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name of the resource.

*/ inline GetServiceProfileResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The name of the resource.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the resource.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the resource.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The name of the resource.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the resource.

*/ inline GetServiceProfileResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the resource.

*/ inline GetServiceProfileResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the resource.

*/ inline GetServiceProfileResult& WithName(const char* value) { SetName(value); return *this;} /** *

The ID of the service profile.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The ID of the service profile.

*/ inline void SetId(const Aws::String& value) { m_id = value; } /** *

The ID of the service profile.

*/ inline void SetId(Aws::String&& value) { m_id = std::move(value); } /** *

The ID of the service profile.

*/ inline void SetId(const char* value) { m_id.assign(value); } /** *

The ID of the service profile.

*/ inline GetServiceProfileResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The ID of the service profile.

*/ inline GetServiceProfileResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The ID of the service profile.

*/ inline GetServiceProfileResult& WithId(const char* value) { SetId(value); return *this;} /** *

Information about the service profile.

*/ inline const LoRaWANGetServiceProfileInfo& GetLoRaWAN() const{ return m_loRaWAN; } /** *

Information about the service profile.

*/ inline void SetLoRaWAN(const LoRaWANGetServiceProfileInfo& value) { m_loRaWAN = value; } /** *

Information about the service profile.

*/ inline void SetLoRaWAN(LoRaWANGetServiceProfileInfo&& value) { m_loRaWAN = std::move(value); } /** *

Information about the service profile.

*/ inline GetServiceProfileResult& WithLoRaWAN(const LoRaWANGetServiceProfileInfo& value) { SetLoRaWAN(value); return *this;} /** *

Information about the service profile.

*/ inline GetServiceProfileResult& WithLoRaWAN(LoRaWANGetServiceProfileInfo&& value) { SetLoRaWAN(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 GetServiceProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetServiceProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetServiceProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::String m_name; Aws::String m_id; LoRaWANGetServiceProfileInfo m_loRaWAN; Aws::String m_requestId; }; } // namespace Model } // namespace IoTWireless } // namespace Aws