AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Collector.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/migrationhubstrategy/model/CollectorHealth.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/migrationhubstrategy/model/ConfigurationSummary.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 MigrationHubStrategyRecommendations
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Collector() = default;
38 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Collector(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Collector& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline CollectorHealth GetCollectorHealth() const { return m_collectorHealth; }
48 inline bool CollectorHealthHasBeenSet() const { return m_collectorHealthHasBeenSet; }
49 inline void SetCollectorHealth(CollectorHealth value) { m_collectorHealthHasBeenSet = true; m_collectorHealth = value; }
50 inline Collector& WithCollectorHealth(CollectorHealth value) { SetCollectorHealth(value); return *this;}
52
54
57 inline const Aws::String& GetCollectorId() const { return m_collectorId; }
58 inline bool CollectorIdHasBeenSet() const { return m_collectorIdHasBeenSet; }
59 template<typename CollectorIdT = Aws::String>
60 void SetCollectorId(CollectorIdT&& value) { m_collectorIdHasBeenSet = true; m_collectorId = std::forward<CollectorIdT>(value); }
61 template<typename CollectorIdT = Aws::String>
62 Collector& WithCollectorId(CollectorIdT&& value) { SetCollectorId(std::forward<CollectorIdT>(value)); return *this;}
64
66
70 inline const Aws::String& GetCollectorVersion() const { return m_collectorVersion; }
71 inline bool CollectorVersionHasBeenSet() const { return m_collectorVersionHasBeenSet; }
72 template<typename CollectorVersionT = Aws::String>
73 void SetCollectorVersion(CollectorVersionT&& value) { m_collectorVersionHasBeenSet = true; m_collectorVersion = std::forward<CollectorVersionT>(value); }
74 template<typename CollectorVersionT = Aws::String>
75 Collector& WithCollectorVersion(CollectorVersionT&& value) { SetCollectorVersion(std::forward<CollectorVersionT>(value)); return *this;}
77
79
82 inline const ConfigurationSummary& GetConfigurationSummary() const { return m_configurationSummary; }
83 inline bool ConfigurationSummaryHasBeenSet() const { return m_configurationSummaryHasBeenSet; }
84 template<typename ConfigurationSummaryT = ConfigurationSummary>
85 void SetConfigurationSummary(ConfigurationSummaryT&& value) { m_configurationSummaryHasBeenSet = true; m_configurationSummary = std::forward<ConfigurationSummaryT>(value); }
86 template<typename ConfigurationSummaryT = ConfigurationSummary>
87 Collector& WithConfigurationSummary(ConfigurationSummaryT&& value) { SetConfigurationSummary(std::forward<ConfigurationSummaryT>(value)); return *this;}
89
91
94 inline const Aws::String& GetHostName() const { return m_hostName; }
95 inline bool HostNameHasBeenSet() const { return m_hostNameHasBeenSet; }
96 template<typename HostNameT = Aws::String>
97 void SetHostName(HostNameT&& value) { m_hostNameHasBeenSet = true; m_hostName = std::forward<HostNameT>(value); }
98 template<typename HostNameT = Aws::String>
99 Collector& WithHostName(HostNameT&& value) { SetHostName(std::forward<HostNameT>(value)); return *this;}
101
103
106 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
107 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
108 template<typename IpAddressT = Aws::String>
109 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::forward<IpAddressT>(value); }
110 template<typename IpAddressT = Aws::String>
111 Collector& WithIpAddress(IpAddressT&& value) { SetIpAddress(std::forward<IpAddressT>(value)); return *this;}
113
115
118 inline const Aws::String& GetLastActivityTimeStamp() const { return m_lastActivityTimeStamp; }
119 inline bool LastActivityTimeStampHasBeenSet() const { return m_lastActivityTimeStampHasBeenSet; }
120 template<typename LastActivityTimeStampT = Aws::String>
121 void SetLastActivityTimeStamp(LastActivityTimeStampT&& value) { m_lastActivityTimeStampHasBeenSet = true; m_lastActivityTimeStamp = std::forward<LastActivityTimeStampT>(value); }
122 template<typename LastActivityTimeStampT = Aws::String>
123 Collector& WithLastActivityTimeStamp(LastActivityTimeStampT&& value) { SetLastActivityTimeStamp(std::forward<LastActivityTimeStampT>(value)); return *this;}
125
127
130 inline const Aws::String& GetRegisteredTimeStamp() const { return m_registeredTimeStamp; }
131 inline bool RegisteredTimeStampHasBeenSet() const { return m_registeredTimeStampHasBeenSet; }
132 template<typename RegisteredTimeStampT = Aws::String>
133 void SetRegisteredTimeStamp(RegisteredTimeStampT&& value) { m_registeredTimeStampHasBeenSet = true; m_registeredTimeStamp = std::forward<RegisteredTimeStampT>(value); }
134 template<typename RegisteredTimeStampT = Aws::String>
135 Collector& WithRegisteredTimeStamp(RegisteredTimeStampT&& value) { SetRegisteredTimeStamp(std::forward<RegisteredTimeStampT>(value)); return *this;}
137 private:
138
139 CollectorHealth m_collectorHealth{CollectorHealth::NOT_SET};
140 bool m_collectorHealthHasBeenSet = false;
141
142 Aws::String m_collectorId;
143 bool m_collectorIdHasBeenSet = false;
144
145 Aws::String m_collectorVersion;
146 bool m_collectorVersionHasBeenSet = false;
147
148 ConfigurationSummary m_configurationSummary;
149 bool m_configurationSummaryHasBeenSet = false;
150
151 Aws::String m_hostName;
152 bool m_hostNameHasBeenSet = false;
153
154 Aws::String m_ipAddress;
155 bool m_ipAddressHasBeenSet = false;
156
157 Aws::String m_lastActivityTimeStamp;
158 bool m_lastActivityTimeStampHasBeenSet = false;
159
160 Aws::String m_registeredTimeStamp;
161 bool m_registeredTimeStampHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace MigrationHubStrategyRecommendations
166} // namespace Aws
Collector & WithLastActivityTimeStamp(LastActivityTimeStampT &&value)
Definition Collector.h:123
void SetConfigurationSummary(ConfigurationSummaryT &&value)
Definition Collector.h:85
void SetLastActivityTimeStamp(LastActivityTimeStampT &&value)
Definition Collector.h:121
void SetCollectorVersion(CollectorVersionT &&value)
Definition Collector.h:73
Collector & WithCollectorHealth(CollectorHealth value)
Definition Collector.h:50
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Collector & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRegisteredTimeStamp(RegisteredTimeStampT &&value)
Definition Collector.h:133
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
Collector & WithCollectorVersion(CollectorVersionT &&value)
Definition Collector.h:75
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Collector()=default
Collector & WithRegisteredTimeStamp(RegisteredTimeStampT &&value)
Definition Collector.h:135
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Collector(Aws::Utils::Json::JsonView jsonValue)
Collector & WithCollectorId(CollectorIdT &&value)
Definition Collector.h:62
Collector & WithConfigurationSummary(ConfigurationSummaryT &&value)
Definition Collector.h:87
const ConfigurationSummary & GetConfigurationSummary() const
Definition Collector.h:82
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue