AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38
39
41
44 inline const Aws::String& GetAwsInstanceID() const{ return m_awsInstanceID; }
45 inline bool AwsInstanceIDHasBeenSet() const { return m_awsInstanceIDHasBeenSet; }
46 inline void SetAwsInstanceID(const Aws::String& value) { m_awsInstanceIDHasBeenSet = true; m_awsInstanceID = value; }
47 inline void SetAwsInstanceID(Aws::String&& value) { m_awsInstanceIDHasBeenSet = true; m_awsInstanceID = std::move(value); }
48 inline void SetAwsInstanceID(const char* value) { m_awsInstanceIDHasBeenSet = true; m_awsInstanceID.assign(value); }
49 inline IdentificationHints& WithAwsInstanceID(const Aws::String& value) { SetAwsInstanceID(value); return *this;}
50 inline IdentificationHints& WithAwsInstanceID(Aws::String&& value) { SetAwsInstanceID(std::move(value)); return *this;}
51 inline IdentificationHints& WithAwsInstanceID(const char* value) { SetAwsInstanceID(value); return *this;}
53
55
58 inline const Aws::String& GetFqdn() const{ return m_fqdn; }
59 inline bool FqdnHasBeenSet() const { return m_fqdnHasBeenSet; }
60 inline void SetFqdn(const Aws::String& value) { m_fqdnHasBeenSet = true; m_fqdn = value; }
61 inline void SetFqdn(Aws::String&& value) { m_fqdnHasBeenSet = true; m_fqdn = std::move(value); }
62 inline void SetFqdn(const char* value) { m_fqdnHasBeenSet = true; m_fqdn.assign(value); }
63 inline IdentificationHints& WithFqdn(const Aws::String& value) { SetFqdn(value); return *this;}
64 inline IdentificationHints& WithFqdn(Aws::String&& value) { SetFqdn(std::move(value)); return *this;}
65 inline IdentificationHints& WithFqdn(const char* value) { SetFqdn(value); return *this;}
67
69
72 inline const Aws::String& GetHostname() const{ return m_hostname; }
73 inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; }
74 inline void SetHostname(const Aws::String& value) { m_hostnameHasBeenSet = true; m_hostname = value; }
75 inline void SetHostname(Aws::String&& value) { m_hostnameHasBeenSet = true; m_hostname = std::move(value); }
76 inline void SetHostname(const char* value) { m_hostnameHasBeenSet = true; m_hostname.assign(value); }
77 inline IdentificationHints& WithHostname(const Aws::String& value) { SetHostname(value); return *this;}
78 inline IdentificationHints& WithHostname(Aws::String&& value) { SetHostname(std::move(value)); return *this;}
79 inline IdentificationHints& WithHostname(const char* value) { SetHostname(value); return *this;}
81
83
86 inline const Aws::String& GetVmWareUuid() const{ return m_vmWareUuid; }
87 inline bool VmWareUuidHasBeenSet() const { return m_vmWareUuidHasBeenSet; }
88 inline void SetVmWareUuid(const Aws::String& value) { m_vmWareUuidHasBeenSet = true; m_vmWareUuid = value; }
89 inline void SetVmWareUuid(Aws::String&& value) { m_vmWareUuidHasBeenSet = true; m_vmWareUuid = std::move(value); }
90 inline void SetVmWareUuid(const char* value) { m_vmWareUuidHasBeenSet = true; m_vmWareUuid.assign(value); }
91 inline IdentificationHints& WithVmWareUuid(const Aws::String& value) { SetVmWareUuid(value); return *this;}
92 inline IdentificationHints& WithVmWareUuid(Aws::String&& value) { SetVmWareUuid(std::move(value)); return *this;}
93 inline IdentificationHints& WithVmWareUuid(const char* value) { SetVmWareUuid(value); return *this;}
95 private:
96
97 Aws::String m_awsInstanceID;
98 bool m_awsInstanceIDHasBeenSet = false;
99
100 Aws::String m_fqdn;
101 bool m_fqdnHasBeenSet = false;
102
103 Aws::String m_hostname;
104 bool m_hostnameHasBeenSet = false;
105
106 Aws::String m_vmWareUuid;
107 bool m_vmWareUuidHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace drs
112} // namespace Aws
IdentificationHints & WithHostname(const char *value)
void SetAwsInstanceID(Aws::String &&value)
void SetVmWareUuid(const Aws::String &value)
void SetHostname(const Aws::String &value)
AWS_DRS_API IdentificationHints(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API IdentificationHints & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
IdentificationHints & WithVmWareUuid(const char *value)
IdentificationHints & WithAwsInstanceID(const Aws::String &value)
IdentificationHints & WithHostname(Aws::String &&value)
IdentificationHints & WithFqdn(const char *value)
IdentificationHints & WithVmWareUuid(Aws::String &&value)
void SetVmWareUuid(Aws::String &&value)
IdentificationHints & WithAwsInstanceID(Aws::String &&value)
IdentificationHints & WithAwsInstanceID(const char *value)
IdentificationHints & WithFqdn(Aws::String &&value)
IdentificationHints & WithVmWareUuid(const Aws::String &value)
void SetAwsInstanceID(const Aws::String &value)
const Aws::String & GetAwsInstanceID() const
const Aws::String & GetVmWareUuid() const
const Aws::String & GetHostname() const
const Aws::String & GetFqdn() const
IdentificationHints & WithFqdn(const Aws::String &value)
void SetFqdn(const Aws::String &value)
IdentificationHints & WithHostname(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue