AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename HostnameT = Aws::String>
47 void SetHostname(HostnameT&& value) { m_hostnameHasBeenSet = true; m_hostname = std::forward<HostnameT>(value); }
48 template<typename HostnameT = Aws::String>
49 AnalyzableServerSummary& WithHostname(HostnameT&& value) { SetHostname(std::forward<HostnameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
57 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
58 template<typename IpAddressT = Aws::String>
59 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::forward<IpAddressT>(value); }
60 template<typename IpAddressT = Aws::String>
61 AnalyzableServerSummary& WithIpAddress(IpAddressT&& value) { SetIpAddress(std::forward<IpAddressT>(value)); return *this;}
63
65
68 inline const Aws::String& GetSource() const { return m_source; }
69 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
70 template<typename SourceT = Aws::String>
71 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
72 template<typename SourceT = Aws::String>
73 AnalyzableServerSummary& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
75
77
80 inline const Aws::String& GetVmId() const { return m_vmId; }
81 inline bool VmIdHasBeenSet() const { return m_vmIdHasBeenSet; }
82 template<typename VmIdT = Aws::String>
83 void SetVmId(VmIdT&& value) { m_vmIdHasBeenSet = true; m_vmId = std::forward<VmIdT>(value); }
84 template<typename VmIdT = Aws::String>
85 AnalyzableServerSummary& WithVmId(VmIdT&& value) { SetVmId(std::forward<VmIdT>(value)); return *this;}
87 private:
88
89 Aws::String m_hostname;
90 bool m_hostnameHasBeenSet = false;
91
92 Aws::String m_ipAddress;
93 bool m_ipAddressHasBeenSet = false;
94
95 Aws::String m_source;
96 bool m_sourceHasBeenSet = false;
97
98 Aws::String m_vmId;
99 bool m_vmIdHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace MigrationHubStrategyRecommendations
104} // 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()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue