AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
VmServer.h
1
6#pragma once
7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/sms/model/VmServerAddress.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sms/model/VmManagerType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SMS
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SMS_API VmServer() = default;
37 AWS_SMS_API VmServer(Aws::Utils::Json::JsonView jsonValue);
40
41
43
46 inline const VmServerAddress& GetVmServerAddress() const { return m_vmServerAddress; }
47 inline bool VmServerAddressHasBeenSet() const { return m_vmServerAddressHasBeenSet; }
48 template<typename VmServerAddressT = VmServerAddress>
49 void SetVmServerAddress(VmServerAddressT&& value) { m_vmServerAddressHasBeenSet = true; m_vmServerAddress = std::forward<VmServerAddressT>(value); }
50 template<typename VmServerAddressT = VmServerAddress>
51 VmServer& WithVmServerAddress(VmServerAddressT&& value) { SetVmServerAddress(std::forward<VmServerAddressT>(value)); return *this;}
53
55
58 inline const Aws::String& GetVmName() const { return m_vmName; }
59 inline bool VmNameHasBeenSet() const { return m_vmNameHasBeenSet; }
60 template<typename VmNameT = Aws::String>
61 void SetVmName(VmNameT&& value) { m_vmNameHasBeenSet = true; m_vmName = std::forward<VmNameT>(value); }
62 template<typename VmNameT = Aws::String>
63 VmServer& WithVmName(VmNameT&& value) { SetVmName(std::forward<VmNameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetVmManagerName() const { return m_vmManagerName; }
71 inline bool VmManagerNameHasBeenSet() const { return m_vmManagerNameHasBeenSet; }
72 template<typename VmManagerNameT = Aws::String>
73 void SetVmManagerName(VmManagerNameT&& value) { m_vmManagerNameHasBeenSet = true; m_vmManagerName = std::forward<VmManagerNameT>(value); }
74 template<typename VmManagerNameT = Aws::String>
75 VmServer& WithVmManagerName(VmManagerNameT&& value) { SetVmManagerName(std::forward<VmManagerNameT>(value)); return *this;}
77
79
82 inline VmManagerType GetVmManagerType() const { return m_vmManagerType; }
83 inline bool VmManagerTypeHasBeenSet() const { return m_vmManagerTypeHasBeenSet; }
84 inline void SetVmManagerType(VmManagerType value) { m_vmManagerTypeHasBeenSet = true; m_vmManagerType = value; }
85 inline VmServer& WithVmManagerType(VmManagerType value) { SetVmManagerType(value); return *this;}
87
89
92 inline const Aws::String& GetVmPath() const { return m_vmPath; }
93 inline bool VmPathHasBeenSet() const { return m_vmPathHasBeenSet; }
94 template<typename VmPathT = Aws::String>
95 void SetVmPath(VmPathT&& value) { m_vmPathHasBeenSet = true; m_vmPath = std::forward<VmPathT>(value); }
96 template<typename VmPathT = Aws::String>
97 VmServer& WithVmPath(VmPathT&& value) { SetVmPath(std::forward<VmPathT>(value)); return *this;}
99 private:
100
101 VmServerAddress m_vmServerAddress;
102 bool m_vmServerAddressHasBeenSet = false;
103
104 Aws::String m_vmName;
105 bool m_vmNameHasBeenSet = false;
106
107 Aws::String m_vmManagerName;
108 bool m_vmManagerNameHasBeenSet = false;
109
110 VmManagerType m_vmManagerType{VmManagerType::NOT_SET};
111 bool m_vmManagerTypeHasBeenSet = false;
112
113 Aws::String m_vmPath;
114 bool m_vmPathHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace SMS
119} // namespace Aws
AWS_SMS_API VmServer()=default
bool VmManagerNameHasBeenSet() const
Definition VmServer.h:71
bool VmNameHasBeenSet() const
Definition VmServer.h:59
const Aws::String & GetVmManagerName() const
Definition VmServer.h:70
VmServer & WithVmName(VmNameT &&value)
Definition VmServer.h:63
VmServer & WithVmManagerName(VmManagerNameT &&value)
Definition VmServer.h:75
const Aws::String & GetVmPath() const
Definition VmServer.h:92
VmServer & WithVmManagerType(VmManagerType value)
Definition VmServer.h:85
bool VmServerAddressHasBeenSet() const
Definition VmServer.h:47
AWS_SMS_API VmServer & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SMS_API VmServer(Aws::Utils::Json::JsonView jsonValue)
bool VmManagerTypeHasBeenSet() const
Definition VmServer.h:83
const Aws::String & GetVmName() const
Definition VmServer.h:58
void SetVmManagerType(VmManagerType value)
Definition VmServer.h:84
void SetVmName(VmNameT &&value)
Definition VmServer.h:61
VmManagerType GetVmManagerType() const
Definition VmServer.h:82
void SetVmManagerName(VmManagerNameT &&value)
Definition VmServer.h:73
void SetVmServerAddress(VmServerAddressT &&value)
Definition VmServer.h:49
const VmServerAddress & GetVmServerAddress() const
Definition VmServer.h:46
void SetVmPath(VmPathT &&value)
Definition VmServer.h:95
AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const
VmServer & WithVmPath(VmPathT &&value)
Definition VmServer.h:97
VmServer & WithVmServerAddress(VmServerAddressT &&value)
Definition VmServer.h:51
bool VmPathHasBeenSet() const
Definition VmServer.h:93
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue