/** * 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.0.x

See Also:

AWS * API Reference

*/ class OtaaV1_0_x { public: AWS_IOTWIRELESS_API OtaaV1_0_x(); AWS_IOTWIRELESS_API OtaaV1_0_x(Aws::Utils::Json::JsonView jsonValue); AWS_IOTWIRELESS_API OtaaV1_0_x& 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_0_x& WithAppKey(const Aws::String& value) { SetAppKey(value); return *this;} /** *

The AppKey value.

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

The AppKey value.

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

The AppEUI value.

*/ inline const Aws::String& GetAppEui() const{ return m_appEui; } /** *

The AppEUI value.

*/ inline bool AppEuiHasBeenSet() const { return m_appEuiHasBeenSet; } /** *

The AppEUI value.

*/ inline void SetAppEui(const Aws::String& value) { m_appEuiHasBeenSet = true; m_appEui = value; } /** *

The AppEUI value.

*/ inline void SetAppEui(Aws::String&& value) { m_appEuiHasBeenSet = true; m_appEui = std::move(value); } /** *

The AppEUI value.

*/ inline void SetAppEui(const char* value) { m_appEuiHasBeenSet = true; m_appEui.assign(value); } /** *

The AppEUI value.

*/ inline OtaaV1_0_x& WithAppEui(const Aws::String& value) { SetAppEui(value); return *this;} /** *

The AppEUI value.

*/ inline OtaaV1_0_x& WithAppEui(Aws::String&& value) { SetAppEui(std::move(value)); return *this;} /** *

The AppEUI value.

*/ inline OtaaV1_0_x& WithAppEui(const char* value) { SetAppEui(value); return *this;} /** *

The GenAppKey value.

*/ inline const Aws::String& GetGenAppKey() const{ return m_genAppKey; } /** *

The GenAppKey value.

*/ inline bool GenAppKeyHasBeenSet() const { return m_genAppKeyHasBeenSet; } /** *

The GenAppKey value.

*/ inline void SetGenAppKey(const Aws::String& value) { m_genAppKeyHasBeenSet = true; m_genAppKey = value; } /** *

The GenAppKey value.

*/ inline void SetGenAppKey(Aws::String&& value) { m_genAppKeyHasBeenSet = true; m_genAppKey = std::move(value); } /** *

The GenAppKey value.

*/ inline void SetGenAppKey(const char* value) { m_genAppKeyHasBeenSet = true; m_genAppKey.assign(value); } /** *

The GenAppKey value.

*/ inline OtaaV1_0_x& WithGenAppKey(const Aws::String& value) { SetGenAppKey(value); return *this;} /** *

The GenAppKey value.

*/ inline OtaaV1_0_x& WithGenAppKey(Aws::String&& value) { SetGenAppKey(std::move(value)); return *this;} /** *

The GenAppKey value.

*/ inline OtaaV1_0_x& WithGenAppKey(const char* value) { SetGenAppKey(value); return *this;} private: Aws::String m_appKey; bool m_appKeyHasBeenSet = false; Aws::String m_appEui; bool m_appEuiHasBeenSet = false; Aws::String m_genAppKey; bool m_genAppKeyHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws