AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
IdentificationHints.h
1
6#pragma once
7#include <aws/mgn/Mgn_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 mgn
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MGN_API IdentificationHints() = default;
38
39
41
44 inline const Aws::String& GetAwsInstanceID() const { return m_awsInstanceID; }
45 inline bool AwsInstanceIDHasBeenSet() const { return m_awsInstanceIDHasBeenSet; }
46 template<typename AwsInstanceIDT = Aws::String>
47 void SetAwsInstanceID(AwsInstanceIDT&& value) { m_awsInstanceIDHasBeenSet = true; m_awsInstanceID = std::forward<AwsInstanceIDT>(value); }
48 template<typename AwsInstanceIDT = Aws::String>
49 IdentificationHints& WithAwsInstanceID(AwsInstanceIDT&& value) { SetAwsInstanceID(std::forward<AwsInstanceIDT>(value)); return *this;}
51
53
56 inline const Aws::String& GetFqdn() const { return m_fqdn; }
57 inline bool FqdnHasBeenSet() const { return m_fqdnHasBeenSet; }
58 template<typename FqdnT = Aws::String>
59 void SetFqdn(FqdnT&& value) { m_fqdnHasBeenSet = true; m_fqdn = std::forward<FqdnT>(value); }
60 template<typename FqdnT = Aws::String>
61 IdentificationHints& WithFqdn(FqdnT&& value) { SetFqdn(std::forward<FqdnT>(value)); return *this;}
63
65
68 inline const Aws::String& GetHostname() const { return m_hostname; }
69 inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; }
70 template<typename HostnameT = Aws::String>
71 void SetHostname(HostnameT&& value) { m_hostnameHasBeenSet = true; m_hostname = std::forward<HostnameT>(value); }
72 template<typename HostnameT = Aws::String>
73 IdentificationHints& WithHostname(HostnameT&& value) { SetHostname(std::forward<HostnameT>(value)); return *this;}
75
77
80 inline const Aws::String& GetVmPath() const { return m_vmPath; }
81 inline bool VmPathHasBeenSet() const { return m_vmPathHasBeenSet; }
82 template<typename VmPathT = Aws::String>
83 void SetVmPath(VmPathT&& value) { m_vmPathHasBeenSet = true; m_vmPath = std::forward<VmPathT>(value); }
84 template<typename VmPathT = Aws::String>
85 IdentificationHints& WithVmPath(VmPathT&& value) { SetVmPath(std::forward<VmPathT>(value)); return *this;}
87
89
92 inline const Aws::String& GetVmWareUuid() const { return m_vmWareUuid; }
93 inline bool VmWareUuidHasBeenSet() const { return m_vmWareUuidHasBeenSet; }
94 template<typename VmWareUuidT = Aws::String>
95 void SetVmWareUuid(VmWareUuidT&& value) { m_vmWareUuidHasBeenSet = true; m_vmWareUuid = std::forward<VmWareUuidT>(value); }
96 template<typename VmWareUuidT = Aws::String>
97 IdentificationHints& WithVmWareUuid(VmWareUuidT&& value) { SetVmWareUuid(std::forward<VmWareUuidT>(value)); return *this;}
99 private:
100
101 Aws::String m_awsInstanceID;
102 bool m_awsInstanceIDHasBeenSet = false;
103
104 Aws::String m_fqdn;
105 bool m_fqdnHasBeenSet = false;
106
107 Aws::String m_hostname;
108 bool m_hostnameHasBeenSet = false;
109
110 Aws::String m_vmPath;
111 bool m_vmPathHasBeenSet = false;
112
113 Aws::String m_vmWareUuid;
114 bool m_vmWareUuidHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace mgn
119} // namespace Aws
IdentificationHints & WithVmPath(VmPathT &&value)
const Aws::String & GetFqdn() const
const Aws::String & GetHostname() const
IdentificationHints & WithFqdn(FqdnT &&value)
const Aws::String & GetVmWareUuid() const
IdentificationHints & WithAwsInstanceID(AwsInstanceIDT &&value)
const Aws::String & GetVmPath() const
AWS_MGN_API IdentificationHints & operator=(Aws::Utils::Json::JsonView jsonValue)
IdentificationHints & WithVmWareUuid(VmWareUuidT &&value)
void SetVmWareUuid(VmWareUuidT &&value)
AWS_MGN_API IdentificationHints()=default
AWS_MGN_API IdentificationHints(Aws::Utils::Json::JsonView jsonValue)
void SetAwsInstanceID(AwsInstanceIDT &&value)
const Aws::String & GetAwsInstanceID() const
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
IdentificationHints & WithHostname(HostnameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue