AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalyzableServerSummary.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MigrationHubStrategyRecommendations
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AnalyzableServerSummary();
35 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AnalyzableServerSummary(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AnalyzableServerSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetHostname() const{ return m_hostname; }
45 inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; }
46 inline void SetHostname(const Aws::String& value) { m_hostnameHasBeenSet = true; m_hostname = value; }
47 inline void SetHostname(Aws::String&& value) { m_hostnameHasBeenSet = true; m_hostname = std::move(value); }
48 inline void SetHostname(const char* value) { m_hostnameHasBeenSet = true; m_hostname.assign(value); }
49 inline AnalyzableServerSummary& WithHostname(const Aws::String& value) { SetHostname(value); return *this;}
50 inline AnalyzableServerSummary& WithHostname(Aws::String&& value) { SetHostname(std::move(value)); return *this;}
51 inline AnalyzableServerSummary& WithHostname(const char* value) { SetHostname(value); return *this;}
53
55
58 inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
59 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
60 inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
61 inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
62 inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
63 inline AnalyzableServerSummary& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
64 inline AnalyzableServerSummary& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
65 inline AnalyzableServerSummary& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
67
69
72 inline const Aws::String& GetSource() const{ return m_source; }
73 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
74 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
75 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
76 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
77 inline AnalyzableServerSummary& WithSource(const Aws::String& value) { SetSource(value); return *this;}
78 inline AnalyzableServerSummary& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
79 inline AnalyzableServerSummary& WithSource(const char* value) { SetSource(value); return *this;}
81
83
86 inline const Aws::String& GetVmId() const{ return m_vmId; }
87 inline bool VmIdHasBeenSet() const { return m_vmIdHasBeenSet; }
88 inline void SetVmId(const Aws::String& value) { m_vmIdHasBeenSet = true; m_vmId = value; }
89 inline void SetVmId(Aws::String&& value) { m_vmIdHasBeenSet = true; m_vmId = std::move(value); }
90 inline void SetVmId(const char* value) { m_vmIdHasBeenSet = true; m_vmId.assign(value); }
91 inline AnalyzableServerSummary& WithVmId(const Aws::String& value) { SetVmId(value); return *this;}
92 inline AnalyzableServerSummary& WithVmId(Aws::String&& value) { SetVmId(std::move(value)); return *this;}
93 inline AnalyzableServerSummary& WithVmId(const char* value) { SetVmId(value); return *this;}
95 private:
96
97 Aws::String m_hostname;
98 bool m_hostnameHasBeenSet = false;
99
100 Aws::String m_ipAddress;
101 bool m_ipAddressHasBeenSet = false;
102
103 Aws::String m_source;
104 bool m_sourceHasBeenSet = false;
105
106 Aws::String m_vmId;
107 bool m_vmIdHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace MigrationHubStrategyRecommendations
112} // namespace Aws
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AnalyzableServerSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AnalyzableServerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AnalyzableServerSummary()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue