AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InvalidNetworkInterface.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/model/NetworkInterfaceFailureReason.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTFleetWise
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTFLEETWISE_API InvalidNetworkInterface();
37 AWS_IOTFLEETWISE_API InvalidNetworkInterface(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetInterfaceId() const{ return m_interfaceId; }
47 inline bool InterfaceIdHasBeenSet() const { return m_interfaceIdHasBeenSet; }
48 inline void SetInterfaceId(const Aws::String& value) { m_interfaceIdHasBeenSet = true; m_interfaceId = value; }
49 inline void SetInterfaceId(Aws::String&& value) { m_interfaceIdHasBeenSet = true; m_interfaceId = std::move(value); }
50 inline void SetInterfaceId(const char* value) { m_interfaceIdHasBeenSet = true; m_interfaceId.assign(value); }
51 inline InvalidNetworkInterface& WithInterfaceId(const Aws::String& value) { SetInterfaceId(value); return *this;}
52 inline InvalidNetworkInterface& WithInterfaceId(Aws::String&& value) { SetInterfaceId(std::move(value)); return *this;}
53 inline InvalidNetworkInterface& WithInterfaceId(const char* value) { SetInterfaceId(value); return *this;}
55
57
60 inline const NetworkInterfaceFailureReason& GetReason() const{ return m_reason; }
61 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
62 inline void SetReason(const NetworkInterfaceFailureReason& value) { m_reasonHasBeenSet = true; m_reason = value; }
63 inline void SetReason(NetworkInterfaceFailureReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
64 inline InvalidNetworkInterface& WithReason(const NetworkInterfaceFailureReason& value) { SetReason(value); return *this;}
65 inline InvalidNetworkInterface& WithReason(NetworkInterfaceFailureReason&& value) { SetReason(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_interfaceId;
70 bool m_interfaceIdHasBeenSet = false;
71
73 bool m_reasonHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace IoTFleetWise
78} // namespace Aws
void SetReason(NetworkInterfaceFailureReason &&value)
AWS_IOTFLEETWISE_API InvalidNetworkInterface(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API InvalidNetworkInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
InvalidNetworkInterface & WithInterfaceId(const Aws::String &value)
void SetReason(const NetworkInterfaceFailureReason &value)
InvalidNetworkInterface & WithInterfaceId(Aws::String &&value)
InvalidNetworkInterface & WithReason(const NetworkInterfaceFailureReason &value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
InvalidNetworkInterface & WithInterfaceId(const char *value)
const NetworkInterfaceFailureReason & GetReason() const
InvalidNetworkInterface & WithReason(NetworkInterfaceFailureReason &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue