AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
VcenterClient.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/Mgn_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace mgn {
21namespace Model {
22
29 public:
30 AWS_MGN_API VcenterClient() = default;
34
36
39 inline const Aws::String& GetVcenterClientID() const { return m_vcenterClientID; }
40 inline bool VcenterClientIDHasBeenSet() const { return m_vcenterClientIDHasBeenSet; }
41 template <typename VcenterClientIDT = Aws::String>
42 void SetVcenterClientID(VcenterClientIDT&& value) {
43 m_vcenterClientIDHasBeenSet = true;
44 m_vcenterClientID = std::forward<VcenterClientIDT>(value);
45 }
46 template <typename VcenterClientIDT = Aws::String>
47 VcenterClient& WithVcenterClientID(VcenterClientIDT&& value) {
48 SetVcenterClientID(std::forward<VcenterClientIDT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetArn() const { return m_arn; }
58 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
59 template <typename ArnT = Aws::String>
60 void SetArn(ArnT&& value) {
61 m_arnHasBeenSet = true;
62 m_arn = std::forward<ArnT>(value);
63 }
64 template <typename ArnT = Aws::String>
65 VcenterClient& WithArn(ArnT&& value) {
66 SetArn(std::forward<ArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetHostname() const { return m_hostname; }
76 inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; }
77 template <typename HostnameT = Aws::String>
78 void SetHostname(HostnameT&& value) {
79 m_hostnameHasBeenSet = true;
80 m_hostname = std::forward<HostnameT>(value);
81 }
82 template <typename HostnameT = Aws::String>
83 VcenterClient& WithHostname(HostnameT&& value) {
84 SetHostname(std::forward<HostnameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetVcenterUUID() const { return m_vcenterUUID; }
94 inline bool VcenterUUIDHasBeenSet() const { return m_vcenterUUIDHasBeenSet; }
95 template <typename VcenterUUIDT = Aws::String>
96 void SetVcenterUUID(VcenterUUIDT&& value) {
97 m_vcenterUUIDHasBeenSet = true;
98 m_vcenterUUID = std::forward<VcenterUUIDT>(value);
99 }
100 template <typename VcenterUUIDT = Aws::String>
101 VcenterClient& WithVcenterUUID(VcenterUUIDT&& value) {
102 SetVcenterUUID(std::forward<VcenterUUIDT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetDatacenterName() const { return m_datacenterName; }
112 inline bool DatacenterNameHasBeenSet() const { return m_datacenterNameHasBeenSet; }
113 template <typename DatacenterNameT = Aws::String>
114 void SetDatacenterName(DatacenterNameT&& value) {
115 m_datacenterNameHasBeenSet = true;
116 m_datacenterName = std::forward<DatacenterNameT>(value);
117 }
118 template <typename DatacenterNameT = Aws::String>
119 VcenterClient& WithDatacenterName(DatacenterNameT&& value) {
120 SetDatacenterName(std::forward<DatacenterNameT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetLastSeenDatetime() const { return m_lastSeenDatetime; }
130 inline bool LastSeenDatetimeHasBeenSet() const { return m_lastSeenDatetimeHasBeenSet; }
131 template <typename LastSeenDatetimeT = Aws::String>
132 void SetLastSeenDatetime(LastSeenDatetimeT&& value) {
133 m_lastSeenDatetimeHasBeenSet = true;
134 m_lastSeenDatetime = std::forward<LastSeenDatetimeT>(value);
135 }
136 template <typename LastSeenDatetimeT = Aws::String>
137 VcenterClient& WithLastSeenDatetime(LastSeenDatetimeT&& value) {
138 SetLastSeenDatetime(std::forward<LastSeenDatetimeT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::Map<Aws::String, Aws::String>& GetSourceServerTags() const { return m_sourceServerTags; }
148 inline bool SourceServerTagsHasBeenSet() const { return m_sourceServerTagsHasBeenSet; }
149 template <typename SourceServerTagsT = Aws::Map<Aws::String, Aws::String>>
150 void SetSourceServerTags(SourceServerTagsT&& value) {
151 m_sourceServerTagsHasBeenSet = true;
152 m_sourceServerTags = std::forward<SourceServerTagsT>(value);
153 }
154 template <typename SourceServerTagsT = Aws::Map<Aws::String, Aws::String>>
155 VcenterClient& WithSourceServerTags(SourceServerTagsT&& value) {
156 SetSourceServerTags(std::forward<SourceServerTagsT>(value));
157 return *this;
158 }
159 template <typename SourceServerTagsKeyT = Aws::String, typename SourceServerTagsValueT = Aws::String>
160 VcenterClient& AddSourceServerTags(SourceServerTagsKeyT&& key, SourceServerTagsValueT&& value) {
161 m_sourceServerTagsHasBeenSet = true;
162 m_sourceServerTags.emplace(std::forward<SourceServerTagsKeyT>(key), std::forward<SourceServerTagsValueT>(value));
163 return *this;
164 }
166
168
171 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
172 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
173 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
174 void SetTags(TagsT&& value) {
175 m_tagsHasBeenSet = true;
176 m_tags = std::forward<TagsT>(value);
177 }
178 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
179 VcenterClient& WithTags(TagsT&& value) {
180 SetTags(std::forward<TagsT>(value));
181 return *this;
182 }
183 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
184 VcenterClient& AddTags(TagsKeyT&& key, TagsValueT&& value) {
185 m_tagsHasBeenSet = true;
186 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
187 return *this;
188 }
190 private:
191 Aws::String m_vcenterClientID;
192
193 Aws::String m_arn;
194
195 Aws::String m_hostname;
196
197 Aws::String m_vcenterUUID;
198
199 Aws::String m_datacenterName;
200
201 Aws::String m_lastSeenDatetime;
202
203 Aws::Map<Aws::String, Aws::String> m_sourceServerTags;
204
206 bool m_vcenterClientIDHasBeenSet = false;
207 bool m_arnHasBeenSet = false;
208 bool m_hostnameHasBeenSet = false;
209 bool m_vcenterUUIDHasBeenSet = false;
210 bool m_datacenterNameHasBeenSet = false;
211 bool m_lastSeenDatetimeHasBeenSet = false;
212 bool m_sourceServerTagsHasBeenSet = false;
213 bool m_tagsHasBeenSet = false;
214};
215
216} // namespace Model
217} // namespace mgn
218} // 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