AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38
39
41
44 inline const Aws::String& GetVmManagerId() const{ return m_vmManagerId; }
45 inline bool VmManagerIdHasBeenSet() const { return m_vmManagerIdHasBeenSet; }
46 inline void SetVmManagerId(const Aws::String& value) { m_vmManagerIdHasBeenSet = true; m_vmManagerId = value; }
47 inline void SetVmManagerId(Aws::String&& value) { m_vmManagerIdHasBeenSet = true; m_vmManagerId = std::move(value); }
48 inline void SetVmManagerId(const char* value) { m_vmManagerIdHasBeenSet = true; m_vmManagerId.assign(value); }
49 inline VmServerAddress& WithVmManagerId(const Aws::String& value) { SetVmManagerId(value); return *this;}
50 inline VmServerAddress& WithVmManagerId(Aws::String&& value) { SetVmManagerId(std::move(value)); return *this;}
51 inline VmServerAddress& WithVmManagerId(const char* value) { SetVmManagerId(value); return *this;}
53
55
58 inline const Aws::String& GetVmId() const{ return m_vmId; }
59 inline bool VmIdHasBeenSet() const { return m_vmIdHasBeenSet; }
60 inline void SetVmId(const Aws::String& value) { m_vmIdHasBeenSet = true; m_vmId = value; }
61 inline void SetVmId(Aws::String&& value) { m_vmIdHasBeenSet = true; m_vmId = std::move(value); }
62 inline void SetVmId(const char* value) { m_vmIdHasBeenSet = true; m_vmId.assign(value); }
63 inline VmServerAddress& WithVmId(const Aws::String& value) { SetVmId(value); return *this;}
64 inline VmServerAddress& WithVmId(Aws::String&& value) { SetVmId(std::move(value)); return *this;}
65 inline VmServerAddress& WithVmId(const char* value) { SetVmId(value); return *this;}
67 private:
68
69 Aws::String m_vmManagerId;
70 bool m_vmManagerIdHasBeenSet = false;
71
72 Aws::String m_vmId;
73 bool m_vmIdHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SMS
78} // namespace Aws
void SetVmId(const Aws::String &value)
AWS_SMS_API VmServerAddress & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVmManagerId(Aws::String &&value)
AWS_SMS_API VmServerAddress(Aws::Utils::Json::JsonView jsonValue)
VmServerAddress & WithVmManagerId(const Aws::String &value)
VmServerAddress & WithVmManagerId(const char *value)
const Aws::String & GetVmId() const
void SetVmId(const char *value)
VmServerAddress & WithVmId(Aws::String &&value)
AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVmManagerId(const Aws::String &value)
VmServerAddress & WithVmId(const Aws::String &value)
void SetVmManagerId(const char *value)
VmServerAddress & WithVmManagerId(Aws::String &&value)
const Aws::String & GetVmManagerId() const
void SetVmId(Aws::String &&value)
VmServerAddress & WithVmId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue