AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVmServerAddress(const VmServerAddress& value) { m_vmServerAddressHasBeenSet = true; m_vmServerAddress = value; }
49 inline void SetVmServerAddress(VmServerAddress&& value) { m_vmServerAddressHasBeenSet = true; m_vmServerAddress = std::move(value); }
50 inline VmServer& WithVmServerAddress(const VmServerAddress& value) { SetVmServerAddress(value); return *this;}
51 inline VmServer& WithVmServerAddress(VmServerAddress&& value) { SetVmServerAddress(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetVmName() const{ return m_vmName; }
59 inline bool VmNameHasBeenSet() const { return m_vmNameHasBeenSet; }
60 inline void SetVmName(const Aws::String& value) { m_vmNameHasBeenSet = true; m_vmName = value; }
61 inline void SetVmName(Aws::String&& value) { m_vmNameHasBeenSet = true; m_vmName = std::move(value); }
62 inline void SetVmName(const char* value) { m_vmNameHasBeenSet = true; m_vmName.assign(value); }
63 inline VmServer& WithVmName(const Aws::String& value) { SetVmName(value); return *this;}
64 inline VmServer& WithVmName(Aws::String&& value) { SetVmName(std::move(value)); return *this;}
65 inline VmServer& WithVmName(const char* value) { SetVmName(value); return *this;}
67
69
72 inline const Aws::String& GetVmManagerName() const{ return m_vmManagerName; }
73 inline bool VmManagerNameHasBeenSet() const { return m_vmManagerNameHasBeenSet; }
74 inline void SetVmManagerName(const Aws::String& value) { m_vmManagerNameHasBeenSet = true; m_vmManagerName = value; }
75 inline void SetVmManagerName(Aws::String&& value) { m_vmManagerNameHasBeenSet = true; m_vmManagerName = std::move(value); }
76 inline void SetVmManagerName(const char* value) { m_vmManagerNameHasBeenSet = true; m_vmManagerName.assign(value); }
77 inline VmServer& WithVmManagerName(const Aws::String& value) { SetVmManagerName(value); return *this;}
78 inline VmServer& WithVmManagerName(Aws::String&& value) { SetVmManagerName(std::move(value)); return *this;}
79 inline VmServer& WithVmManagerName(const char* value) { SetVmManagerName(value); return *this;}
81
83
86 inline const VmManagerType& GetVmManagerType() const{ return m_vmManagerType; }
87 inline bool VmManagerTypeHasBeenSet() const { return m_vmManagerTypeHasBeenSet; }
88 inline void SetVmManagerType(const VmManagerType& value) { m_vmManagerTypeHasBeenSet = true; m_vmManagerType = value; }
89 inline void SetVmManagerType(VmManagerType&& value) { m_vmManagerTypeHasBeenSet = true; m_vmManagerType = std::move(value); }
90 inline VmServer& WithVmManagerType(const VmManagerType& value) { SetVmManagerType(value); return *this;}
91 inline VmServer& WithVmManagerType(VmManagerType&& value) { SetVmManagerType(std::move(value)); return *this;}
93
95
98 inline const Aws::String& GetVmPath() const{ return m_vmPath; }
99 inline bool VmPathHasBeenSet() const { return m_vmPathHasBeenSet; }
100 inline void SetVmPath(const Aws::String& value) { m_vmPathHasBeenSet = true; m_vmPath = value; }
101 inline void SetVmPath(Aws::String&& value) { m_vmPathHasBeenSet = true; m_vmPath = std::move(value); }
102 inline void SetVmPath(const char* value) { m_vmPathHasBeenSet = true; m_vmPath.assign(value); }
103 inline VmServer& WithVmPath(const Aws::String& value) { SetVmPath(value); return *this;}
104 inline VmServer& WithVmPath(Aws::String&& value) { SetVmPath(std::move(value)); return *this;}
105 inline VmServer& WithVmPath(const char* value) { SetVmPath(value); return *this;}
107 private:
108
109 VmServerAddress m_vmServerAddress;
110 bool m_vmServerAddressHasBeenSet = false;
111
112 Aws::String m_vmName;
113 bool m_vmNameHasBeenSet = false;
114
115 Aws::String m_vmManagerName;
116 bool m_vmManagerNameHasBeenSet = false;
117
118 VmManagerType m_vmManagerType;
119 bool m_vmManagerTypeHasBeenSet = false;
120
121 Aws::String m_vmPath;
122 bool m_vmPathHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace SMS
127} // namespace Aws
void SetVmName(const char *value)
Definition VmServer.h:62
void SetVmManagerType(const VmManagerType &value)
Definition VmServer.h:88
void SetVmManagerName(const Aws::String &value)
Definition VmServer.h:74
bool VmManagerNameHasBeenSet() const
Definition VmServer.h:73
void SetVmManagerType(VmManagerType &&value)
Definition VmServer.h:89
bool VmNameHasBeenSet() const
Definition VmServer.h:59
const Aws::String & GetVmManagerName() const
Definition VmServer.h:72
const Aws::String & GetVmPath() const
Definition VmServer.h:98
bool VmServerAddressHasBeenSet() const
Definition VmServer.h:47
AWS_SMS_API VmServer & operator=(Aws::Utils::Json::JsonView jsonValue)
VmServer & WithVmPath(const Aws::String &value)
Definition VmServer.h:103
void SetVmName(Aws::String &&value)
Definition VmServer.h:61
VmServer & WithVmName(const Aws::String &value)
Definition VmServer.h:63
VmServer & WithVmServerAddress(VmServerAddress &&value)
Definition VmServer.h:51
AWS_SMS_API VmServer(Aws::Utils::Json::JsonView jsonValue)
VmServer & WithVmManagerType(const VmManagerType &value)
Definition VmServer.h:90
VmServer & WithVmManagerName(Aws::String &&value)
Definition VmServer.h:78
VmServer & WithVmName(const char *value)
Definition VmServer.h:65
void SetVmManagerName(const char *value)
Definition VmServer.h:76
VmServer & WithVmManagerType(VmManagerType &&value)
Definition VmServer.h:91
VmServer & WithVmPath(Aws::String &&value)
Definition VmServer.h:104
const VmManagerType & GetVmManagerType() const
Definition VmServer.h:86
void SetVmPath(Aws::String &&value)
Definition VmServer.h:101
void SetVmServerAddress(const VmServerAddress &value)
Definition VmServer.h:48
bool VmManagerTypeHasBeenSet() const
Definition VmServer.h:87
void SetVmManagerName(Aws::String &&value)
Definition VmServer.h:75
VmServer & WithVmServerAddress(const VmServerAddress &value)
Definition VmServer.h:50
const Aws::String & GetVmName() const
Definition VmServer.h:58
VmServer & WithVmName(Aws::String &&value)
Definition VmServer.h:64
VmServer & WithVmManagerName(const char *value)
Definition VmServer.h:79
void SetVmPath(const char *value)
Definition VmServer.h:102
void SetVmName(const Aws::String &value)
Definition VmServer.h:60
VmServer & WithVmManagerName(const Aws::String &value)
Definition VmServer.h:77
const VmServerAddress & GetVmServerAddress() const
Definition VmServer.h:46
VmServer & WithVmPath(const char *value)
Definition VmServer.h:105
AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVmPath(const Aws::String &value)
Definition VmServer.h:100
void SetVmServerAddress(VmServerAddress &&value)
Definition VmServer.h:49
bool VmPathHasBeenSet() const
Definition VmServer.h:99
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue