AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComponentStatusData.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/groundstation/model/AgentStatus.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 GroundStation
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GROUNDSTATION_API ComponentStatusData();
36 AWS_GROUNDSTATION_API ComponentStatusData(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GROUNDSTATION_API ComponentStatusData& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline long long GetBytesReceived() const{ return m_bytesReceived; }
46 inline bool BytesReceivedHasBeenSet() const { return m_bytesReceivedHasBeenSet; }
47 inline void SetBytesReceived(long long value) { m_bytesReceivedHasBeenSet = true; m_bytesReceived = value; }
48 inline ComponentStatusData& WithBytesReceived(long long value) { SetBytesReceived(value); return *this;}
50
52
55 inline long long GetBytesSent() const{ return m_bytesSent; }
56 inline bool BytesSentHasBeenSet() const { return m_bytesSentHasBeenSet; }
57 inline void SetBytesSent(long long value) { m_bytesSentHasBeenSet = true; m_bytesSent = value; }
58 inline ComponentStatusData& WithBytesSent(long long value) { SetBytesSent(value); return *this;}
60
62
65 inline const Aws::String& GetCapabilityArn() const{ return m_capabilityArn; }
66 inline bool CapabilityArnHasBeenSet() const { return m_capabilityArnHasBeenSet; }
67 inline void SetCapabilityArn(const Aws::String& value) { m_capabilityArnHasBeenSet = true; m_capabilityArn = value; }
68 inline void SetCapabilityArn(Aws::String&& value) { m_capabilityArnHasBeenSet = true; m_capabilityArn = std::move(value); }
69 inline void SetCapabilityArn(const char* value) { m_capabilityArnHasBeenSet = true; m_capabilityArn.assign(value); }
70 inline ComponentStatusData& WithCapabilityArn(const Aws::String& value) { SetCapabilityArn(value); return *this;}
71 inline ComponentStatusData& WithCapabilityArn(Aws::String&& value) { SetCapabilityArn(std::move(value)); return *this;}
72 inline ComponentStatusData& WithCapabilityArn(const char* value) { SetCapabilityArn(value); return *this;}
74
76
79 inline const Aws::String& GetComponentType() const{ return m_componentType; }
80 inline bool ComponentTypeHasBeenSet() const { return m_componentTypeHasBeenSet; }
81 inline void SetComponentType(const Aws::String& value) { m_componentTypeHasBeenSet = true; m_componentType = value; }
82 inline void SetComponentType(Aws::String&& value) { m_componentTypeHasBeenSet = true; m_componentType = std::move(value); }
83 inline void SetComponentType(const char* value) { m_componentTypeHasBeenSet = true; m_componentType.assign(value); }
84 inline ComponentStatusData& WithComponentType(const Aws::String& value) { SetComponentType(value); return *this;}
85 inline ComponentStatusData& WithComponentType(Aws::String&& value) { SetComponentType(std::move(value)); return *this;}
86 inline ComponentStatusData& WithComponentType(const char* value) { SetComponentType(value); return *this;}
88
90
93 inline const Aws::String& GetDataflowId() const{ return m_dataflowId; }
94 inline bool DataflowIdHasBeenSet() const { return m_dataflowIdHasBeenSet; }
95 inline void SetDataflowId(const Aws::String& value) { m_dataflowIdHasBeenSet = true; m_dataflowId = value; }
96 inline void SetDataflowId(Aws::String&& value) { m_dataflowIdHasBeenSet = true; m_dataflowId = std::move(value); }
97 inline void SetDataflowId(const char* value) { m_dataflowIdHasBeenSet = true; m_dataflowId.assign(value); }
98 inline ComponentStatusData& WithDataflowId(const Aws::String& value) { SetDataflowId(value); return *this;}
99 inline ComponentStatusData& WithDataflowId(Aws::String&& value) { SetDataflowId(std::move(value)); return *this;}
100 inline ComponentStatusData& WithDataflowId(const char* value) { SetDataflowId(value); return *this;}
102
104
107 inline long long GetPacketsDropped() const{ return m_packetsDropped; }
108 inline bool PacketsDroppedHasBeenSet() const { return m_packetsDroppedHasBeenSet; }
109 inline void SetPacketsDropped(long long value) { m_packetsDroppedHasBeenSet = true; m_packetsDropped = value; }
110 inline ComponentStatusData& WithPacketsDropped(long long value) { SetPacketsDropped(value); return *this;}
112
114
117 inline const AgentStatus& GetStatus() const{ return m_status; }
118 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
119 inline void SetStatus(const AgentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
120 inline void SetStatus(AgentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
121 inline ComponentStatusData& WithStatus(const AgentStatus& value) { SetStatus(value); return *this;}
122 inline ComponentStatusData& WithStatus(AgentStatus&& value) { SetStatus(std::move(value)); return *this;}
124 private:
125
126 long long m_bytesReceived;
127 bool m_bytesReceivedHasBeenSet = false;
128
129 long long m_bytesSent;
130 bool m_bytesSentHasBeenSet = false;
131
132 Aws::String m_capabilityArn;
133 bool m_capabilityArnHasBeenSet = false;
134
135 Aws::String m_componentType;
136 bool m_componentTypeHasBeenSet = false;
137
138 Aws::String m_dataflowId;
139 bool m_dataflowIdHasBeenSet = false;
140
141 long long m_packetsDropped;
142 bool m_packetsDroppedHasBeenSet = false;
143
144 AgentStatus m_status;
145 bool m_statusHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace GroundStation
150} // namespace Aws
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentStatusData & WithComponentType(const Aws::String &value)
ComponentStatusData & WithBytesSent(long long value)
ComponentStatusData & WithCapabilityArn(Aws::String &&value)
ComponentStatusData & WithDataflowId(const Aws::String &value)
ComponentStatusData & WithCapabilityArn(const Aws::String &value)
AWS_GROUNDSTATION_API ComponentStatusData(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API ComponentStatusData & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentStatusData & WithDataflowId(const char *value)
ComponentStatusData & WithComponentType(const char *value)
ComponentStatusData & WithBytesReceived(long long value)
ComponentStatusData & WithStatus(AgentStatus &&value)
ComponentStatusData & WithComponentType(Aws::String &&value)
ComponentStatusData & WithPacketsDropped(long long value)
ComponentStatusData & WithStatus(const AgentStatus &value)
ComponentStatusData & WithDataflowId(Aws::String &&value)
ComponentStatusData & WithCapabilityArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue