AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const CollectorHealth& GetCollectorHealth() const{ return m_collectorHealth; }
48 inline bool CollectorHealthHasBeenSet() const { return m_collectorHealthHasBeenSet; }
49 inline void SetCollectorHealth(const CollectorHealth& value) { m_collectorHealthHasBeenSet = true; m_collectorHealth = value; }
50 inline void SetCollectorHealth(CollectorHealth&& value) { m_collectorHealthHasBeenSet = true; m_collectorHealth = std::move(value); }
51 inline Collector& WithCollectorHealth(const CollectorHealth& value) { SetCollectorHealth(value); return *this;}
52 inline Collector& WithCollectorHealth(CollectorHealth&& value) { SetCollectorHealth(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetCollectorId() const{ return m_collectorId; }
60 inline bool CollectorIdHasBeenSet() const { return m_collectorIdHasBeenSet; }
61 inline void SetCollectorId(const Aws::String& value) { m_collectorIdHasBeenSet = true; m_collectorId = value; }
62 inline void SetCollectorId(Aws::String&& value) { m_collectorIdHasBeenSet = true; m_collectorId = std::move(value); }
63 inline void SetCollectorId(const char* value) { m_collectorIdHasBeenSet = true; m_collectorId.assign(value); }
64 inline Collector& WithCollectorId(const Aws::String& value) { SetCollectorId(value); return *this;}
65 inline Collector& WithCollectorId(Aws::String&& value) { SetCollectorId(std::move(value)); return *this;}
66 inline Collector& WithCollectorId(const char* value) { SetCollectorId(value); return *this;}
68
70
74 inline const Aws::String& GetCollectorVersion() const{ return m_collectorVersion; }
75 inline bool CollectorVersionHasBeenSet() const { return m_collectorVersionHasBeenSet; }
76 inline void SetCollectorVersion(const Aws::String& value) { m_collectorVersionHasBeenSet = true; m_collectorVersion = value; }
77 inline void SetCollectorVersion(Aws::String&& value) { m_collectorVersionHasBeenSet = true; m_collectorVersion = std::move(value); }
78 inline void SetCollectorVersion(const char* value) { m_collectorVersionHasBeenSet = true; m_collectorVersion.assign(value); }
79 inline Collector& WithCollectorVersion(const Aws::String& value) { SetCollectorVersion(value); return *this;}
80 inline Collector& WithCollectorVersion(Aws::String&& value) { SetCollectorVersion(std::move(value)); return *this;}
81 inline Collector& WithCollectorVersion(const char* value) { SetCollectorVersion(value); return *this;}
83
85
88 inline const ConfigurationSummary& GetConfigurationSummary() const{ return m_configurationSummary; }
89 inline bool ConfigurationSummaryHasBeenSet() const { return m_configurationSummaryHasBeenSet; }
90 inline void SetConfigurationSummary(const ConfigurationSummary& value) { m_configurationSummaryHasBeenSet = true; m_configurationSummary = value; }
91 inline void SetConfigurationSummary(ConfigurationSummary&& value) { m_configurationSummaryHasBeenSet = true; m_configurationSummary = std::move(value); }
93 inline Collector& WithConfigurationSummary(ConfigurationSummary&& value) { SetConfigurationSummary(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetHostName() const{ return m_hostName; }
101 inline bool HostNameHasBeenSet() const { return m_hostNameHasBeenSet; }
102 inline void SetHostName(const Aws::String& value) { m_hostNameHasBeenSet = true; m_hostName = value; }
103 inline void SetHostName(Aws::String&& value) { m_hostNameHasBeenSet = true; m_hostName = std::move(value); }
104 inline void SetHostName(const char* value) { m_hostNameHasBeenSet = true; m_hostName.assign(value); }
105 inline Collector& WithHostName(const Aws::String& value) { SetHostName(value); return *this;}
106 inline Collector& WithHostName(Aws::String&& value) { SetHostName(std::move(value)); return *this;}
107 inline Collector& WithHostName(const char* value) { SetHostName(value); return *this;}
109
111
114 inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
115 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
116 inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
117 inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
118 inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
119 inline Collector& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
120 inline Collector& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
121 inline Collector& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
123
125
128 inline const Aws::String& GetLastActivityTimeStamp() const{ return m_lastActivityTimeStamp; }
129 inline bool LastActivityTimeStampHasBeenSet() const { return m_lastActivityTimeStampHasBeenSet; }
130 inline void SetLastActivityTimeStamp(const Aws::String& value) { m_lastActivityTimeStampHasBeenSet = true; m_lastActivityTimeStamp = value; }
131 inline void SetLastActivityTimeStamp(Aws::String&& value) { m_lastActivityTimeStampHasBeenSet = true; m_lastActivityTimeStamp = std::move(value); }
132 inline void SetLastActivityTimeStamp(const char* value) { m_lastActivityTimeStampHasBeenSet = true; m_lastActivityTimeStamp.assign(value); }
133 inline Collector& WithLastActivityTimeStamp(const Aws::String& value) { SetLastActivityTimeStamp(value); return *this;}
134 inline Collector& WithLastActivityTimeStamp(Aws::String&& value) { SetLastActivityTimeStamp(std::move(value)); return *this;}
135 inline Collector& WithLastActivityTimeStamp(const char* value) { SetLastActivityTimeStamp(value); return *this;}
137
139
142 inline const Aws::String& GetRegisteredTimeStamp() const{ return m_registeredTimeStamp; }
143 inline bool RegisteredTimeStampHasBeenSet() const { return m_registeredTimeStampHasBeenSet; }
144 inline void SetRegisteredTimeStamp(const Aws::String& value) { m_registeredTimeStampHasBeenSet = true; m_registeredTimeStamp = value; }
145 inline void SetRegisteredTimeStamp(Aws::String&& value) { m_registeredTimeStampHasBeenSet = true; m_registeredTimeStamp = std::move(value); }
146 inline void SetRegisteredTimeStamp(const char* value) { m_registeredTimeStampHasBeenSet = true; m_registeredTimeStamp.assign(value); }
147 inline Collector& WithRegisteredTimeStamp(const Aws::String& value) { SetRegisteredTimeStamp(value); return *this;}
148 inline Collector& WithRegisteredTimeStamp(Aws::String&& value) { SetRegisteredTimeStamp(std::move(value)); return *this;}
149 inline Collector& WithRegisteredTimeStamp(const char* value) { SetRegisteredTimeStamp(value); return *this;}
151 private:
152
153 CollectorHealth m_collectorHealth;
154 bool m_collectorHealthHasBeenSet = false;
155
156 Aws::String m_collectorId;
157 bool m_collectorIdHasBeenSet = false;
158
159 Aws::String m_collectorVersion;
160 bool m_collectorVersionHasBeenSet = false;
161
162 ConfigurationSummary m_configurationSummary;
163 bool m_configurationSummaryHasBeenSet = false;
164
165 Aws::String m_hostName;
166 bool m_hostNameHasBeenSet = false;
167
168 Aws::String m_ipAddress;
169 bool m_ipAddressHasBeenSet = false;
170
171 Aws::String m_lastActivityTimeStamp;
172 bool m_lastActivityTimeStampHasBeenSet = false;
173
174 Aws::String m_registeredTimeStamp;
175 bool m_registeredTimeStampHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace MigrationHubStrategyRecommendations
180} // namespace Aws
Collector & WithCollectorHealth(CollectorHealth &&value)
Definition Collector.h:52
Collector & WithHostName(const Aws::String &value)
Definition Collector.h:105
void SetConfigurationSummary(ConfigurationSummary &&value)
Definition Collector.h:91
Collector & WithConfigurationSummary(const ConfigurationSummary &value)
Definition Collector.h:92
Collector & WithCollectorId(const Aws::String &value)
Definition Collector.h:64
Collector & WithRegisteredTimeStamp(Aws::String &&value)
Definition Collector.h:148
void SetLastActivityTimeStamp(const Aws::String &value)
Definition Collector.h:130
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Collector & operator=(Aws::Utils::Json::JsonView jsonValue)
Collector & WithConfigurationSummary(ConfigurationSummary &&value)
Definition Collector.h:93
void SetConfigurationSummary(const ConfigurationSummary &value)
Definition Collector.h:90
Collector & WithLastActivityTimeStamp(const Aws::String &value)
Definition Collector.h:133
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
Collector & WithLastActivityTimeStamp(const char *value)
Definition Collector.h:135
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Collector(Aws::Utils::Json::JsonView jsonValue)
const ConfigurationSummary & GetConfigurationSummary() const
Definition Collector.h:88
Collector & WithCollectorHealth(const CollectorHealth &value)
Definition Collector.h:51
Collector & WithCollectorVersion(const Aws::String &value)
Definition Collector.h:79
Collector & WithLastActivityTimeStamp(Aws::String &&value)
Definition Collector.h:134
void SetCollectorHealth(const CollectorHealth &value)
Definition Collector.h:49
Collector & WithCollectorVersion(Aws::String &&value)
Definition Collector.h:80
Collector & WithIpAddress(const Aws::String &value)
Definition Collector.h:119
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Collector()
Collector & WithRegisteredTimeStamp(const Aws::String &value)
Definition Collector.h:147
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue