AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
VmServerAddress.h
1
6#pragma once
7#include <aws/sms/SMS_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 SMS
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SMS_API VmServerAddress() = default;
38
39
41
44 inline const Aws::String& GetVmManagerId() const { return m_vmManagerId; }
45 inline bool VmManagerIdHasBeenSet() const { return m_vmManagerIdHasBeenSet; }
46 template<typename VmManagerIdT = Aws::String>
47 void SetVmManagerId(VmManagerIdT&& value) { m_vmManagerIdHasBeenSet = true; m_vmManagerId = std::forward<VmManagerIdT>(value); }
48 template<typename VmManagerIdT = Aws::String>
49 VmServerAddress& WithVmManagerId(VmManagerIdT&& value) { SetVmManagerId(std::forward<VmManagerIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetVmId() const { return m_vmId; }
57 inline bool VmIdHasBeenSet() const { return m_vmIdHasBeenSet; }
58 template<typename VmIdT = Aws::String>
59 void SetVmId(VmIdT&& value) { m_vmIdHasBeenSet = true; m_vmId = std::forward<VmIdT>(value); }
60 template<typename VmIdT = Aws::String>
61 VmServerAddress& WithVmId(VmIdT&& value) { SetVmId(std::forward<VmIdT>(value)); return *this;}
63 private:
64
65 Aws::String m_vmManagerId;
66 bool m_vmManagerIdHasBeenSet = false;
67
68 Aws::String m_vmId;
69 bool m_vmIdHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace SMS
74} // namespace Aws
AWS_SMS_API VmServerAddress()=default
AWS_SMS_API VmServerAddress & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SMS_API VmServerAddress(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVmId() const
VmServerAddress & WithVmManagerId(VmManagerIdT &&value)
AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const
VmServerAddress & WithVmId(VmIdT &&value)
void SetVmManagerId(VmManagerIdT &&value)
const Aws::String & GetVmManagerId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue