AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
HostPropertiesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/deadline/Deadline_EXPORTS.h>
9#include <aws/deadline/model/IpAddresses.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace deadline {
21namespace Model {
22
29 public:
30 AWS_DEADLINE_API HostPropertiesRequest() = default;
33 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const IpAddresses& GetIpAddresses() const { return m_ipAddresses; }
40 inline bool IpAddressesHasBeenSet() const { return m_ipAddressesHasBeenSet; }
41 template <typename IpAddressesT = IpAddresses>
42 void SetIpAddresses(IpAddressesT&& value) {
43 m_ipAddressesHasBeenSet = true;
44 m_ipAddresses = std::forward<IpAddressesT>(value);
45 }
46 template <typename IpAddressesT = IpAddresses>
47 HostPropertiesRequest& WithIpAddresses(IpAddressesT&& value) {
48 SetIpAddresses(std::forward<IpAddressesT>(value));
49 return *this;
50 }
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) {
61 m_hostNameHasBeenSet = true;
62 m_hostName = std::forward<HostNameT>(value);
63 }
64 template <typename HostNameT = Aws::String>
65 HostPropertiesRequest& WithHostName(HostNameT&& value) {
66 SetHostName(std::forward<HostNameT>(value));
67 return *this;
68 }
70 private:
71 IpAddresses m_ipAddresses;
72
73 Aws::String m_hostName;
74 bool m_ipAddressesHasBeenSet = false;
75 bool m_hostNameHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace deadline
80} // 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