AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HostPropertiesRequest.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/model/IpAddresses.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace deadline
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DEADLINE_API HostPropertiesRequest();
38 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const IpAddresses& GetIpAddresses() const{ return m_ipAddresses; }
46 inline bool IpAddressesHasBeenSet() const { return m_ipAddressesHasBeenSet; }
47 inline void SetIpAddresses(const IpAddresses& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = value; }
48 inline void SetIpAddresses(IpAddresses&& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = std::move(value); }
49 inline HostPropertiesRequest& WithIpAddresses(const IpAddresses& value) { SetIpAddresses(value); return *this;}
50 inline HostPropertiesRequest& WithIpAddresses(IpAddresses&& value) { SetIpAddresses(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetHostName() const{ return m_hostName; }
58 inline bool HostNameHasBeenSet() const { return m_hostNameHasBeenSet; }
59 inline void SetHostName(const Aws::String& value) { m_hostNameHasBeenSet = true; m_hostName = value; }
60 inline void SetHostName(Aws::String&& value) { m_hostNameHasBeenSet = true; m_hostName = std::move(value); }
61 inline void SetHostName(const char* value) { m_hostNameHasBeenSet = true; m_hostName.assign(value); }
62 inline HostPropertiesRequest& WithHostName(const Aws::String& value) { SetHostName(value); return *this;}
63 inline HostPropertiesRequest& WithHostName(Aws::String&& value) { SetHostName(std::move(value)); return *this;}
64 inline HostPropertiesRequest& WithHostName(const char* value) { SetHostName(value); return *this;}
66 private:
67
68 IpAddresses m_ipAddresses;
69 bool m_ipAddressesHasBeenSet = false;
70
71 Aws::String m_hostName;
72 bool m_hostNameHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace deadline
77} // namespace Aws
HostPropertiesRequest & WithIpAddresses(IpAddresses &&value)
HostPropertiesRequest & WithHostName(const Aws::String &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
HostPropertiesRequest & WithHostName(Aws::String &&value)
AWS_DEADLINE_API HostPropertiesRequest(Aws::Utils::Json::JsonView jsonValue)
HostPropertiesRequest & WithIpAddresses(const IpAddresses &value)
AWS_DEADLINE_API HostPropertiesRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
HostPropertiesRequest & WithHostName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue