AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportedSidewalkDevice.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotwireless/model/OnboardStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTWireless
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOTWIRELESS_API ImportedSidewalkDevice();
38 AWS_IOTWIRELESS_API ImportedSidewalkDevice(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetSidewalkManufacturingSn() const{ return m_sidewalkManufacturingSn; }
48 inline bool SidewalkManufacturingSnHasBeenSet() const { return m_sidewalkManufacturingSnHasBeenSet; }
49 inline void SetSidewalkManufacturingSn(const Aws::String& value) { m_sidewalkManufacturingSnHasBeenSet = true; m_sidewalkManufacturingSn = value; }
50 inline void SetSidewalkManufacturingSn(Aws::String&& value) { m_sidewalkManufacturingSnHasBeenSet = true; m_sidewalkManufacturingSn = std::move(value); }
51 inline void SetSidewalkManufacturingSn(const char* value) { m_sidewalkManufacturingSnHasBeenSet = true; m_sidewalkManufacturingSn.assign(value); }
54 inline ImportedSidewalkDevice& WithSidewalkManufacturingSn(const char* value) { SetSidewalkManufacturingSn(value); return *this;}
56
58
61 inline const OnboardStatus& GetOnboardingStatus() const{ return m_onboardingStatus; }
62 inline bool OnboardingStatusHasBeenSet() const { return m_onboardingStatusHasBeenSet; }
63 inline void SetOnboardingStatus(const OnboardStatus& value) { m_onboardingStatusHasBeenSet = true; m_onboardingStatus = value; }
64 inline void SetOnboardingStatus(OnboardStatus&& value) { m_onboardingStatusHasBeenSet = true; m_onboardingStatus = std::move(value); }
66 inline ImportedSidewalkDevice& WithOnboardingStatus(OnboardStatus&& value) { SetOnboardingStatus(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetOnboardingStatusReason() const{ return m_onboardingStatusReason; }
74 inline bool OnboardingStatusReasonHasBeenSet() const { return m_onboardingStatusReasonHasBeenSet; }
75 inline void SetOnboardingStatusReason(const Aws::String& value) { m_onboardingStatusReasonHasBeenSet = true; m_onboardingStatusReason = value; }
76 inline void SetOnboardingStatusReason(Aws::String&& value) { m_onboardingStatusReasonHasBeenSet = true; m_onboardingStatusReason = std::move(value); }
77 inline void SetOnboardingStatusReason(const char* value) { m_onboardingStatusReasonHasBeenSet = true; m_onboardingStatusReason.assign(value); }
80 inline ImportedSidewalkDevice& WithOnboardingStatusReason(const char* value) { SetOnboardingStatusReason(value); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
88 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
89 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
90 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
92 inline ImportedSidewalkDevice& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_sidewalkManufacturingSn;
97 bool m_sidewalkManufacturingSnHasBeenSet = false;
98
99 OnboardStatus m_onboardingStatus;
100 bool m_onboardingStatusHasBeenSet = false;
101
102 Aws::String m_onboardingStatusReason;
103 bool m_onboardingStatusReasonHasBeenSet = false;
104
105 Aws::Utils::DateTime m_lastUpdateTime;
106 bool m_lastUpdateTimeHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace IoTWireless
111} // namespace Aws
ImportedSidewalkDevice & WithSidewalkManufacturingSn(const Aws::String &value)
AWS_IOTWIRELESS_API ImportedSidewalkDevice & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportedSidewalkDevice & WithOnboardingStatusReason(const Aws::String &value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
ImportedSidewalkDevice & WithOnboardingStatusReason(Aws::String &&value)
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
ImportedSidewalkDevice & WithSidewalkManufacturingSn(Aws::String &&value)
ImportedSidewalkDevice & WithLastUpdateTime(const Aws::Utils::DateTime &value)
ImportedSidewalkDevice & WithSidewalkManufacturingSn(const char *value)
void SetSidewalkManufacturingSn(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
ImportedSidewalkDevice & WithOnboardingStatus(const OnboardStatus &value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
ImportedSidewalkDevice & WithLastUpdateTime(Aws::Utils::DateTime &&value)
AWS_IOTWIRELESS_API ImportedSidewalkDevice(Aws::Utils::Json::JsonView jsonValue)
ImportedSidewalkDevice & WithOnboardingStatusReason(const char *value)
ImportedSidewalkDevice & WithOnboardingStatus(OnboardStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue