AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AgentPreview.h
1
6#pragma once
7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector/model/AgentHealth.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 Inspector
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_INSPECTOR_API AgentPreview();
37 AWS_INSPECTOR_API AgentPreview(Aws::Utils::Json::JsonView jsonValue);
38 AWS_INSPECTOR_API AgentPreview& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetHostname() const{ return m_hostname; }
48 inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; }
49 inline void SetHostname(const Aws::String& value) { m_hostnameHasBeenSet = true; m_hostname = value; }
50 inline void SetHostname(Aws::String&& value) { m_hostnameHasBeenSet = true; m_hostname = std::move(value); }
51 inline void SetHostname(const char* value) { m_hostnameHasBeenSet = true; m_hostname.assign(value); }
52 inline AgentPreview& WithHostname(const Aws::String& value) { SetHostname(value); return *this;}
53 inline AgentPreview& WithHostname(Aws::String&& value) { SetHostname(std::move(value)); return *this;}
54 inline AgentPreview& WithHostname(const char* value) { SetHostname(value); return *this;}
56
58
61 inline const Aws::String& GetAgentId() const{ return m_agentId; }
62 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
63 inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; }
64 inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); }
65 inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); }
66 inline AgentPreview& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;}
67 inline AgentPreview& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;}
68 inline AgentPreview& WithAgentId(const char* value) { SetAgentId(value); return *this;}
70
72
75 inline const Aws::String& GetAutoScalingGroup() const{ return m_autoScalingGroup; }
76 inline bool AutoScalingGroupHasBeenSet() const { return m_autoScalingGroupHasBeenSet; }
77 inline void SetAutoScalingGroup(const Aws::String& value) { m_autoScalingGroupHasBeenSet = true; m_autoScalingGroup = value; }
78 inline void SetAutoScalingGroup(Aws::String&& value) { m_autoScalingGroupHasBeenSet = true; m_autoScalingGroup = std::move(value); }
79 inline void SetAutoScalingGroup(const char* value) { m_autoScalingGroupHasBeenSet = true; m_autoScalingGroup.assign(value); }
80 inline AgentPreview& WithAutoScalingGroup(const Aws::String& value) { SetAutoScalingGroup(value); return *this;}
81 inline AgentPreview& WithAutoScalingGroup(Aws::String&& value) { SetAutoScalingGroup(std::move(value)); return *this;}
82 inline AgentPreview& WithAutoScalingGroup(const char* value) { SetAutoScalingGroup(value); return *this;}
84
86
89 inline const AgentHealth& GetAgentHealth() const{ return m_agentHealth; }
90 inline bool AgentHealthHasBeenSet() const { return m_agentHealthHasBeenSet; }
91 inline void SetAgentHealth(const AgentHealth& value) { m_agentHealthHasBeenSet = true; m_agentHealth = value; }
92 inline void SetAgentHealth(AgentHealth&& value) { m_agentHealthHasBeenSet = true; m_agentHealth = std::move(value); }
93 inline AgentPreview& WithAgentHealth(const AgentHealth& value) { SetAgentHealth(value); return *this;}
94 inline AgentPreview& WithAgentHealth(AgentHealth&& value) { SetAgentHealth(std::move(value)); return *this;}
96
98
101 inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
102 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
103 inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; }
104 inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); }
105 inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); }
106 inline AgentPreview& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
107 inline AgentPreview& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
108 inline AgentPreview& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
110
112
116 inline const Aws::String& GetOperatingSystem() const{ return m_operatingSystem; }
117 inline bool OperatingSystemHasBeenSet() const { return m_operatingSystemHasBeenSet; }
118 inline void SetOperatingSystem(const Aws::String& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = value; }
119 inline void SetOperatingSystem(Aws::String&& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = std::move(value); }
120 inline void SetOperatingSystem(const char* value) { m_operatingSystemHasBeenSet = true; m_operatingSystem.assign(value); }
121 inline AgentPreview& WithOperatingSystem(const Aws::String& value) { SetOperatingSystem(value); return *this;}
122 inline AgentPreview& WithOperatingSystem(Aws::String&& value) { SetOperatingSystem(std::move(value)); return *this;}
123 inline AgentPreview& WithOperatingSystem(const char* value) { SetOperatingSystem(value); return *this;}
125
127
131 inline const Aws::String& GetKernelVersion() const{ return m_kernelVersion; }
132 inline bool KernelVersionHasBeenSet() const { return m_kernelVersionHasBeenSet; }
133 inline void SetKernelVersion(const Aws::String& value) { m_kernelVersionHasBeenSet = true; m_kernelVersion = value; }
134 inline void SetKernelVersion(Aws::String&& value) { m_kernelVersionHasBeenSet = true; m_kernelVersion = std::move(value); }
135 inline void SetKernelVersion(const char* value) { m_kernelVersionHasBeenSet = true; m_kernelVersion.assign(value); }
136 inline AgentPreview& WithKernelVersion(const Aws::String& value) { SetKernelVersion(value); return *this;}
137 inline AgentPreview& WithKernelVersion(Aws::String&& value) { SetKernelVersion(std::move(value)); return *this;}
138 inline AgentPreview& WithKernelVersion(const char* value) { SetKernelVersion(value); return *this;}
140
142
146 inline const Aws::String& GetIpv4Address() const{ return m_ipv4Address; }
147 inline bool Ipv4AddressHasBeenSet() const { return m_ipv4AddressHasBeenSet; }
148 inline void SetIpv4Address(const Aws::String& value) { m_ipv4AddressHasBeenSet = true; m_ipv4Address = value; }
149 inline void SetIpv4Address(Aws::String&& value) { m_ipv4AddressHasBeenSet = true; m_ipv4Address = std::move(value); }
150 inline void SetIpv4Address(const char* value) { m_ipv4AddressHasBeenSet = true; m_ipv4Address.assign(value); }
151 inline AgentPreview& WithIpv4Address(const Aws::String& value) { SetIpv4Address(value); return *this;}
152 inline AgentPreview& WithIpv4Address(Aws::String&& value) { SetIpv4Address(std::move(value)); return *this;}
153 inline AgentPreview& WithIpv4Address(const char* value) { SetIpv4Address(value); return *this;}
155 private:
156
157 Aws::String m_hostname;
158 bool m_hostnameHasBeenSet = false;
159
160 Aws::String m_agentId;
161 bool m_agentIdHasBeenSet = false;
162
163 Aws::String m_autoScalingGroup;
164 bool m_autoScalingGroupHasBeenSet = false;
165
166 AgentHealth m_agentHealth;
167 bool m_agentHealthHasBeenSet = false;
168
169 Aws::String m_agentVersion;
170 bool m_agentVersionHasBeenSet = false;
171
172 Aws::String m_operatingSystem;
173 bool m_operatingSystemHasBeenSet = false;
174
175 Aws::String m_kernelVersion;
176 bool m_kernelVersionHasBeenSet = false;
177
178 Aws::String m_ipv4Address;
179 bool m_ipv4AddressHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace Inspector
184} // namespace Aws
AgentPreview & WithAgentVersion(const Aws::String &value)
AgentPreview & WithOperatingSystem(const char *value)
const Aws::String & GetAgentVersion() const
void SetIpv4Address(const Aws::String &value)
void SetAgentHealth(AgentHealth &&value)
AgentPreview & WithAgentHealth(const AgentHealth &value)
void SetOperatingSystem(const Aws::String &value)
void SetAgentId(const char *value)
AWS_INSPECTOR_API AgentPreview & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentPreview & WithAgentId(const Aws::String &value)
const Aws::String & GetKernelVersion() const
void SetHostname(Aws::String &&value)
const AgentHealth & GetAgentHealth() const
void SetAgentId(const Aws::String &value)
AgentPreview & WithIpv4Address(Aws::String &&value)
AgentPreview & WithAgentHealth(AgentHealth &&value)
AgentPreview & WithAgentVersion(const char *value)
void SetAgentVersion(Aws::String &&value)
void SetHostname(const char *value)
AgentPreview & WithAutoScalingGroup(Aws::String &&value)
void SetAgentVersion(const Aws::String &value)
AgentPreview & WithAgentVersion(Aws::String &&value)
AgentPreview & WithAutoScalingGroup(const Aws::String &value)
void SetOperatingSystem(Aws::String &&value)
void SetAutoScalingGroup(const char *value)
void SetIpv4Address(Aws::String &&value)
void SetAgentHealth(const AgentHealth &value)
AgentPreview & WithKernelVersion(const Aws::String &value)
AgentPreview & WithAutoScalingGroup(const char *value)
AgentPreview & WithIpv4Address(const char *value)
AgentPreview & WithKernelVersion(const char *value)
AgentPreview & WithHostname(const Aws::String &value)
AWS_INSPECTOR_API AgentPreview(Aws::Utils::Json::JsonView jsonValue)
void SetKernelVersion(const Aws::String &value)
void SetIpv4Address(const char *value)
AgentPreview & WithHostname(const char *value)
AgentPreview & WithAgentId(Aws::String &&value)
void SetOperatingSystem(const char *value)
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
AgentPreview & WithOperatingSystem(const Aws::String &value)
void SetAgentId(Aws::String &&value)
void SetKernelVersion(Aws::String &&value)
const Aws::String & GetIpv4Address() const
void SetKernelVersion(const char *value)
AgentPreview & WithAgentId(const char *value)
AgentPreview & WithIpv4Address(const Aws::String &value)
void SetAutoScalingGroup(Aws::String &&value)
const Aws::String & GetOperatingSystem() const
AgentPreview & WithKernelVersion(Aws::String &&value)
void SetAutoScalingGroup(const Aws::String &value)
const Aws::String & GetAutoScalingGroup() const
AgentPreview & WithHostname(Aws::String &&value)
AgentPreview & WithOperatingSystem(Aws::String &&value)
const Aws::String & GetHostname() const
const Aws::String & GetAgentId() const
void SetHostname(const Aws::String &value)
void SetAgentVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue