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

OTAA device object for v1.1

See Also:

AWS * API Reference

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

The AppKey value.

*/ inline const Aws::String& GetAppKey() const{ return m_appKey; } /** *

The AppKey value.

*/ inline bool AppKeyHasBeenSet() const { return m_appKeyHasBeenSet; } /** *

The AppKey value.

*/ inline void SetAppKey(const Aws::String& value) { m_appKeyHasBeenSet = true; m_appKey = value; } /** *

The AppKey value.

*/ inline void SetAppKey(Aws::String&& value) { m_appKeyHasBeenSet = true; m_appKey = std::move(value); } /** *

The AppKey value.

*/ inline void SetAppKey(const char* value) { m_appKeyHasBeenSet = true; m_appKey.assign(value); } /** *

The AppKey value.

*/ inline OtaaV1_1& WithAppKey(const Aws::String& value) { SetAppKey(value); return *this;} /** *

The AppKey value.

*/ inline OtaaV1_1& WithAppKey(Aws::String&& value) { SetAppKey(std::move(value)); return *this;} /** *

The AppKey value.

*/ inline OtaaV1_1& WithAppKey(const char* value) { SetAppKey(value); return *this;} /** *

The NwkKey value.

*/ inline const Aws::String& GetNwkKey() const{ return m_nwkKey; } /** *

The NwkKey value.

*/ inline bool NwkKeyHasBeenSet() const { return m_nwkKeyHasBeenSet; } /** *

The NwkKey value.

*/ inline void SetNwkKey(const Aws::String& value) { m_nwkKeyHasBeenSet = true; m_nwkKey = value; } /** *

The NwkKey value.

*/ inline void SetNwkKey(Aws::String&& value) { m_nwkKeyHasBeenSet = true; m_nwkKey = std::move(value); } /** *

The NwkKey value.

*/ inline void SetNwkKey(const char* value) { m_nwkKeyHasBeenSet = true; m_nwkKey.assign(value); } /** *

The NwkKey value.

*/ inline OtaaV1_1& WithNwkKey(const Aws::String& value) { SetNwkKey(value); return *this;} /** *

The NwkKey value.

*/ inline OtaaV1_1& WithNwkKey(Aws::String&& value) { SetNwkKey(std::move(value)); return *this;} /** *

The NwkKey value.

*/ inline OtaaV1_1& WithNwkKey(const char* value) { SetNwkKey(value); return *this;} /** *

The JoinEUI value.

*/ inline const Aws::String& GetJoinEui() const{ return m_joinEui; } /** *

The JoinEUI value.

*/ inline bool JoinEuiHasBeenSet() const { return m_joinEuiHasBeenSet; } /** *

The JoinEUI value.

*/ inline void SetJoinEui(const Aws::String& value) { m_joinEuiHasBeenSet = true; m_joinEui = value; } /** *

The JoinEUI value.

*/ inline void SetJoinEui(Aws::String&& value) { m_joinEuiHasBeenSet = true; m_joinEui = std::move(value); } /** *

The JoinEUI value.

*/ inline void SetJoinEui(const char* value) { m_joinEuiHasBeenSet = true; m_joinEui.assign(value); } /** *

The JoinEUI value.

*/ inline OtaaV1_1& WithJoinEui(const Aws::String& value) { SetJoinEui(value); return *this;} /** *

The JoinEUI value.

*/ inline OtaaV1_1& WithJoinEui(Aws::String&& value) { SetJoinEui(std::move(value)); return *this;} /** *

The JoinEUI value.

*/ inline OtaaV1_1& WithJoinEui(const char* value) { SetJoinEui(value); return *this;} private: Aws::String m_appKey; bool m_appKeyHasBeenSet = false; Aws::String m_nwkKey; bool m_nwkKeyHasBeenSet = false; Aws::String m_joinEui; bool m_joinEuiHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws