AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
IdentificationHints.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mgn/Mgn_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace mgn {
20namespace Model {
21
28 public:
29 AWS_MGN_API IdentificationHints() = default;
33
35
38 inline const Aws::String& GetFqdn() const { return m_fqdn; }
39 inline bool FqdnHasBeenSet() const { return m_fqdnHasBeenSet; }
40 template <typename FqdnT = Aws::String>
41 void SetFqdn(FqdnT&& value) {
42 m_fqdnHasBeenSet = true;
43 m_fqdn = std::forward<FqdnT>(value);
44 }
45 template <typename FqdnT = Aws::String>
46 IdentificationHints& WithFqdn(FqdnT&& value) {
47 SetFqdn(std::forward<FqdnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetHostname() const { return m_hostname; }
57 inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; }
58 template <typename HostnameT = Aws::String>
59 void SetHostname(HostnameT&& value) {
60 m_hostnameHasBeenSet = true;
61 m_hostname = std::forward<HostnameT>(value);
62 }
63 template <typename HostnameT = Aws::String>
64 IdentificationHints& WithHostname(HostnameT&& value) {
65 SetHostname(std::forward<HostnameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetVmWareUuid() const { return m_vmWareUuid; }
75 inline bool VmWareUuidHasBeenSet() const { return m_vmWareUuidHasBeenSet; }
76 template <typename VmWareUuidT = Aws::String>
77 void SetVmWareUuid(VmWareUuidT&& value) {
78 m_vmWareUuidHasBeenSet = true;
79 m_vmWareUuid = std::forward<VmWareUuidT>(value);
80 }
81 template <typename VmWareUuidT = Aws::String>
82 IdentificationHints& WithVmWareUuid(VmWareUuidT&& value) {
83 SetVmWareUuid(std::forward<VmWareUuidT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetAwsInstanceID() const { return m_awsInstanceID; }
93 inline bool AwsInstanceIDHasBeenSet() const { return m_awsInstanceIDHasBeenSet; }
94 template <typename AwsInstanceIDT = Aws::String>
95 void SetAwsInstanceID(AwsInstanceIDT&& value) {
96 m_awsInstanceIDHasBeenSet = true;
97 m_awsInstanceID = std::forward<AwsInstanceIDT>(value);
98 }
99 template <typename AwsInstanceIDT = Aws::String>
100 IdentificationHints& WithAwsInstanceID(AwsInstanceIDT&& value) {
101 SetAwsInstanceID(std::forward<AwsInstanceIDT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetVmPath() const { return m_vmPath; }
111 inline bool VmPathHasBeenSet() const { return m_vmPathHasBeenSet; }
112 template <typename VmPathT = Aws::String>
113 void SetVmPath(VmPathT&& value) {
114 m_vmPathHasBeenSet = true;
115 m_vmPath = std::forward<VmPathT>(value);
116 }
117 template <typename VmPathT = Aws::String>
118 IdentificationHints& WithVmPath(VmPathT&& value) {
119 SetVmPath(std::forward<VmPathT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_fqdn;
125
126 Aws::String m_hostname;
127
128 Aws::String m_vmWareUuid;
129
130 Aws::String m_awsInstanceID;
131
132 Aws::String m_vmPath;
133 bool m_fqdnHasBeenSet = false;
134 bool m_hostnameHasBeenSet = false;
135 bool m_vmWareUuidHasBeenSet = false;
136 bool m_awsInstanceIDHasBeenSet = false;
137 bool m_vmPathHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace mgn
142} // 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