AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
IdentificationHints.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/drs/Drs_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace drs {
20namespace Model {
21
28 public:
29 AWS_DRS_API IdentificationHints() = default;
33
35
38 inline const Aws::String& GetAwsInstanceID() const { return m_awsInstanceID; }
39 inline bool AwsInstanceIDHasBeenSet() const { return m_awsInstanceIDHasBeenSet; }
40 template <typename AwsInstanceIDT = Aws::String>
41 void SetAwsInstanceID(AwsInstanceIDT&& value) {
42 m_awsInstanceIDHasBeenSet = true;
43 m_awsInstanceID = std::forward<AwsInstanceIDT>(value);
44 }
45 template <typename AwsInstanceIDT = Aws::String>
46 IdentificationHints& WithAwsInstanceID(AwsInstanceIDT&& value) {
47 SetAwsInstanceID(std::forward<AwsInstanceIDT>(value));
48 return *this;
49 }
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) {
60 m_fqdnHasBeenSet = true;
61 m_fqdn = std::forward<FqdnT>(value);
62 }
63 template <typename FqdnT = Aws::String>
64 IdentificationHints& WithFqdn(FqdnT&& value) {
65 SetFqdn(std::forward<FqdnT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetHostname() const { return m_hostname; }
75 inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; }
76 template <typename HostnameT = Aws::String>
77 void SetHostname(HostnameT&& value) {
78 m_hostnameHasBeenSet = true;
79 m_hostname = std::forward<HostnameT>(value);
80 }
81 template <typename HostnameT = Aws::String>
82 IdentificationHints& WithHostname(HostnameT&& value) {
83 SetHostname(std::forward<HostnameT>(value));
84 return *this;
85 }
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) {
96 m_vmWareUuidHasBeenSet = true;
97 m_vmWareUuid = std::forward<VmWareUuidT>(value);
98 }
99 template <typename VmWareUuidT = Aws::String>
100 IdentificationHints& WithVmWareUuid(VmWareUuidT&& value) {
101 SetVmWareUuid(std::forward<VmWareUuidT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_awsInstanceID;
107
108 Aws::String m_fqdn;
109
110 Aws::String m_hostname;
111
112 Aws::String m_vmWareUuid;
113 bool m_awsInstanceIDHasBeenSet = false;
114 bool m_fqdnHasBeenSet = false;
115 bool m_hostnameHasBeenSet = false;
116 bool m_vmWareUuidHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace drs
121} // namespace Aws
IdentificationHints & WithAwsInstanceID(AwsInstanceIDT &&value)
IdentificationHints & WithHostname(HostnameT &&value)
AWS_DRS_API IdentificationHints(Aws::Utils::Json::JsonView jsonValue)
void SetVmWareUuid(VmWareUuidT &&value)
AWS_DRS_API IdentificationHints & operator=(Aws::Utils::Json::JsonView jsonValue)
IdentificationHints & WithVmWareUuid(VmWareUuidT &&value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAwsInstanceID(AwsInstanceIDT &&value)
AWS_DRS_API IdentificationHints()=default
IdentificationHints & WithFqdn(FqdnT &&value)
const Aws::String & GetAwsInstanceID() const
const Aws::String & GetVmWareUuid() const
const Aws::String & GetHostname() const
const Aws::String & GetFqdn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue