AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename IpAddressesT = IpAddresses>
48 void SetIpAddresses(IpAddressesT&& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = std::forward<IpAddressesT>(value); }
49 template<typename IpAddressesT = IpAddresses>
50 HostPropertiesRequest& WithIpAddresses(IpAddressesT&& value) { SetIpAddresses(std::forward<IpAddressesT>(value)); return *this;}
52
54
57 inline const Aws::String& GetHostName() const { return m_hostName; }
58 inline bool HostNameHasBeenSet() const { return m_hostNameHasBeenSet; }
59 template<typename HostNameT = Aws::String>
60 void SetHostName(HostNameT&& value) { m_hostNameHasBeenSet = true; m_hostName = std::forward<HostNameT>(value); }
61 template<typename HostNameT = Aws::String>
62 HostPropertiesRequest& WithHostName(HostNameT&& value) { SetHostName(std::forward<HostNameT>(value)); return *this;}
64 private:
65
66 IpAddresses m_ipAddresses;
67 bool m_ipAddressesHasBeenSet = false;
68
69 Aws::String m_hostName;
70 bool m_hostNameHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace deadline
75} // namespace Aws
HostPropertiesRequest & WithHostName(HostNameT &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API HostPropertiesRequest(Aws::Utils::Json::JsonView jsonValue)
HostPropertiesRequest & WithIpAddresses(IpAddressesT &&value)
AWS_DEADLINE_API HostPropertiesRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API HostPropertiesRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue