AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VcenterClient.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace mgn
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MGN_API VcenterClient() = default;
39
40
42
45 inline const Aws::String& GetArn() const { return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 template<typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
49 template<typename ArnT = Aws::String>
50 VcenterClient& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
52
54
57 inline const Aws::String& GetDatacenterName() const { return m_datacenterName; }
58 inline bool DatacenterNameHasBeenSet() const { return m_datacenterNameHasBeenSet; }
59 template<typename DatacenterNameT = Aws::String>
60 void SetDatacenterName(DatacenterNameT&& value) { m_datacenterNameHasBeenSet = true; m_datacenterName = std::forward<DatacenterNameT>(value); }
61 template<typename DatacenterNameT = Aws::String>
62 VcenterClient& WithDatacenterName(DatacenterNameT&& value) { SetDatacenterName(std::forward<DatacenterNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetHostname() const { return m_hostname; }
70 inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; }
71 template<typename HostnameT = Aws::String>
72 void SetHostname(HostnameT&& value) { m_hostnameHasBeenSet = true; m_hostname = std::forward<HostnameT>(value); }
73 template<typename HostnameT = Aws::String>
74 VcenterClient& WithHostname(HostnameT&& value) { SetHostname(std::forward<HostnameT>(value)); return *this;}
76
78
81 inline const Aws::String& GetLastSeenDatetime() const { return m_lastSeenDatetime; }
82 inline bool LastSeenDatetimeHasBeenSet() const { return m_lastSeenDatetimeHasBeenSet; }
83 template<typename LastSeenDatetimeT = Aws::String>
84 void SetLastSeenDatetime(LastSeenDatetimeT&& value) { m_lastSeenDatetimeHasBeenSet = true; m_lastSeenDatetime = std::forward<LastSeenDatetimeT>(value); }
85 template<typename LastSeenDatetimeT = Aws::String>
86 VcenterClient& WithLastSeenDatetime(LastSeenDatetimeT&& value) { SetLastSeenDatetime(std::forward<LastSeenDatetimeT>(value)); return *this;}
88
90
93 inline const Aws::Map<Aws::String, Aws::String>& GetSourceServerTags() const { return m_sourceServerTags; }
94 inline bool SourceServerTagsHasBeenSet() const { return m_sourceServerTagsHasBeenSet; }
95 template<typename SourceServerTagsT = Aws::Map<Aws::String, Aws::String>>
96 void SetSourceServerTags(SourceServerTagsT&& value) { m_sourceServerTagsHasBeenSet = true; m_sourceServerTags = std::forward<SourceServerTagsT>(value); }
97 template<typename SourceServerTagsT = Aws::Map<Aws::String, Aws::String>>
98 VcenterClient& WithSourceServerTags(SourceServerTagsT&& value) { SetSourceServerTags(std::forward<SourceServerTagsT>(value)); return *this;}
99 template<typename SourceServerTagsKeyT = Aws::String, typename SourceServerTagsValueT = Aws::String>
100 VcenterClient& AddSourceServerTags(SourceServerTagsKeyT&& key, SourceServerTagsValueT&& value) {
101 m_sourceServerTagsHasBeenSet = true; m_sourceServerTags.emplace(std::forward<SourceServerTagsKeyT>(key), std::forward<SourceServerTagsValueT>(value)); return *this;
102 }
104
106
109 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
110 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
111 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
112 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
113 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
114 VcenterClient& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
115 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
116 VcenterClient& AddTags(TagsKeyT&& key, TagsValueT&& value) {
117 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
118 }
120
122
125 inline const Aws::String& GetVcenterClientID() const { return m_vcenterClientID; }
126 inline bool VcenterClientIDHasBeenSet() const { return m_vcenterClientIDHasBeenSet; }
127 template<typename VcenterClientIDT = Aws::String>
128 void SetVcenterClientID(VcenterClientIDT&& value) { m_vcenterClientIDHasBeenSet = true; m_vcenterClientID = std::forward<VcenterClientIDT>(value); }
129 template<typename VcenterClientIDT = Aws::String>
130 VcenterClient& WithVcenterClientID(VcenterClientIDT&& value) { SetVcenterClientID(std::forward<VcenterClientIDT>(value)); return *this;}
132
134
137 inline const Aws::String& GetVcenterUUID() const { return m_vcenterUUID; }
138 inline bool VcenterUUIDHasBeenSet() const { return m_vcenterUUIDHasBeenSet; }
139 template<typename VcenterUUIDT = Aws::String>
140 void SetVcenterUUID(VcenterUUIDT&& value) { m_vcenterUUIDHasBeenSet = true; m_vcenterUUID = std::forward<VcenterUUIDT>(value); }
141 template<typename VcenterUUIDT = Aws::String>
142 VcenterClient& WithVcenterUUID(VcenterUUIDT&& value) { SetVcenterUUID(std::forward<VcenterUUIDT>(value)); return *this;}
144 private:
145
146 Aws::String m_arn;
147 bool m_arnHasBeenSet = false;
148
149 Aws::String m_datacenterName;
150 bool m_datacenterNameHasBeenSet = false;
151
152 Aws::String m_hostname;
153 bool m_hostnameHasBeenSet = false;
154
155 Aws::String m_lastSeenDatetime;
156 bool m_lastSeenDatetimeHasBeenSet = false;
157
158 Aws::Map<Aws::String, Aws::String> m_sourceServerTags;
159 bool m_sourceServerTagsHasBeenSet = false;
160
162 bool m_tagsHasBeenSet = false;
163
164 Aws::String m_vcenterClientID;
165 bool m_vcenterClientIDHasBeenSet = false;
166
167 Aws::String m_vcenterUUID;
168 bool m_vcenterUUIDHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace mgn
173} // namespace Aws
const Aws::String & GetHostname() const
VcenterClient & WithSourceServerTags(SourceServerTagsT &&value)
VcenterClient & WithHostname(HostnameT &&value)
const Aws::String & GetArn() const
VcenterClient & WithArn(ArnT &&value)
const Aws::String & GetVcenterClientID() const
const Aws::Map< Aws::String, Aws::String > & GetSourceServerTags() const
AWS_MGN_API VcenterClient & operator=(Aws::Utils::Json::JsonView jsonValue)
VcenterClient & WithLastSeenDatetime(LastSeenDatetimeT &&value)
VcenterClient & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetVcenterClientID(VcenterClientIDT &&value)
VcenterClient & WithVcenterUUID(VcenterUUIDT &&value)
void SetLastSeenDatetime(LastSeenDatetimeT &&value)
void SetVcenterUUID(VcenterUUIDT &&value)
void SetHostname(HostnameT &&value)
AWS_MGN_API VcenterClient(Aws::Utils::Json::JsonView jsonValue)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
VcenterClient & WithDatacenterName(DatacenterNameT &&value)
void SetDatacenterName(DatacenterNameT &&value)
const Aws::String & GetDatacenterName() const
VcenterClient & WithVcenterClientID(VcenterClientIDT &&value)
AWS_MGN_API VcenterClient()=default
const Aws::String & GetLastSeenDatetime() const
void SetSourceServerTags(SourceServerTagsT &&value)
VcenterClient & AddSourceServerTags(SourceServerTagsKeyT &&key, SourceServerTagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetVcenterUUID() const
VcenterClient & WithTags(TagsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue