AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
HostPropertiesResponse.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 HostPropertiesResponse() = 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 HostPropertiesResponse& 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>
66 SetHostName(std::forward<HostNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetEc2InstanceArn() const { return m_ec2InstanceArn; }
76 inline bool Ec2InstanceArnHasBeenSet() const { return m_ec2InstanceArnHasBeenSet; }
77 template <typename Ec2InstanceArnT = Aws::String>
78 void SetEc2InstanceArn(Ec2InstanceArnT&& value) {
79 m_ec2InstanceArnHasBeenSet = true;
80 m_ec2InstanceArn = std::forward<Ec2InstanceArnT>(value);
81 }
82 template <typename Ec2InstanceArnT = Aws::String>
83 HostPropertiesResponse& WithEc2InstanceArn(Ec2InstanceArnT&& value) {
84 SetEc2InstanceArn(std::forward<Ec2InstanceArnT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetEc2InstanceType() const { return m_ec2InstanceType; }
94 inline bool Ec2InstanceTypeHasBeenSet() const { return m_ec2InstanceTypeHasBeenSet; }
95 template <typename Ec2InstanceTypeT = Aws::String>
96 void SetEc2InstanceType(Ec2InstanceTypeT&& value) {
97 m_ec2InstanceTypeHasBeenSet = true;
98 m_ec2InstanceType = std::forward<Ec2InstanceTypeT>(value);
99 }
100 template <typename Ec2InstanceTypeT = Aws::String>
101 HostPropertiesResponse& WithEc2InstanceType(Ec2InstanceTypeT&& value) {
102 SetEc2InstanceType(std::forward<Ec2InstanceTypeT>(value));
103 return *this;
104 }
106 private:
107 IpAddresses m_ipAddresses;
108
109 Aws::String m_hostName;
110
111 Aws::String m_ec2InstanceArn;
112
113 Aws::String m_ec2InstanceType;
114 bool m_ipAddressesHasBeenSet = false;
115 bool m_hostNameHasBeenSet = false;
116 bool m_ec2InstanceArnHasBeenSet = false;
117 bool m_ec2InstanceTypeHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace deadline
122} // namespace Aws
AWS_DEADLINE_API HostPropertiesResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
HostPropertiesResponse & WithIpAddresses(IpAddressesT &&value)
HostPropertiesResponse & WithHostName(HostNameT &&value)
AWS_DEADLINE_API HostPropertiesResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API HostPropertiesResponse()=default
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
HostPropertiesResponse & WithEc2InstanceType(Ec2InstanceTypeT &&value)
HostPropertiesResponse & WithEc2InstanceArn(Ec2InstanceArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue