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/drs/Drs_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 drs
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_DRS_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& GetVmWareUuid() const { return m_vmWareUuid; }
81 inline bool VmWareUuidHasBeenSet() const { return m_vmWareUuidHasBeenSet; }
82 template<typename VmWareUuidT = Aws::String>
83 void SetVmWareUuid(VmWareUuidT&& value) { m_vmWareUuidHasBeenSet = true; m_vmWareUuid = std::forward<VmWareUuidT>(value); }
84 template<typename VmWareUuidT = Aws::String>
85 IdentificationHints& WithVmWareUuid(VmWareUuidT&& value) { SetVmWareUuid(std::forward<VmWareUuidT>(value)); return *this;}
87 private:
88
89 Aws::String m_awsInstanceID;
90 bool m_awsInstanceIDHasBeenSet = false;
91
92 Aws::String m_fqdn;
93 bool m_fqdnHasBeenSet = false;
94
95 Aws::String m_hostname;
96 bool m_hostnameHasBeenSet = false;
97
98 Aws::String m_vmWareUuid;
99 bool m_vmWareUuidHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace drs
104} // 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