AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
HostPropertiesResponse.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 HostPropertiesResponse() = 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 HostPropertiesResponse& 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 HostPropertiesResponse& WithHostName(HostNameT&& value) { SetHostName(std::forward<HostNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetEc2InstanceArn() const { return m_ec2InstanceArn; }
70 inline bool Ec2InstanceArnHasBeenSet() const { return m_ec2InstanceArnHasBeenSet; }
71 template<typename Ec2InstanceArnT = Aws::String>
72 void SetEc2InstanceArn(Ec2InstanceArnT&& value) { m_ec2InstanceArnHasBeenSet = true; m_ec2InstanceArn = std::forward<Ec2InstanceArnT>(value); }
73 template<typename Ec2InstanceArnT = Aws::String>
74 HostPropertiesResponse& WithEc2InstanceArn(Ec2InstanceArnT&& value) { SetEc2InstanceArn(std::forward<Ec2InstanceArnT>(value)); return *this;}
76
78
81 inline const Aws::String& GetEc2InstanceType() const { return m_ec2InstanceType; }
82 inline bool Ec2InstanceTypeHasBeenSet() const { return m_ec2InstanceTypeHasBeenSet; }
83 template<typename Ec2InstanceTypeT = Aws::String>
84 void SetEc2InstanceType(Ec2InstanceTypeT&& value) { m_ec2InstanceTypeHasBeenSet = true; m_ec2InstanceType = std::forward<Ec2InstanceTypeT>(value); }
85 template<typename Ec2InstanceTypeT = Aws::String>
86 HostPropertiesResponse& WithEc2InstanceType(Ec2InstanceTypeT&& value) { SetEc2InstanceType(std::forward<Ec2InstanceTypeT>(value)); return *this;}
88 private:
89
90 IpAddresses m_ipAddresses;
91 bool m_ipAddressesHasBeenSet = false;
92
93 Aws::String m_hostName;
94 bool m_hostNameHasBeenSet = false;
95
96 Aws::String m_ec2InstanceArn;
97 bool m_ec2InstanceArnHasBeenSet = false;
98
99 Aws::String m_ec2InstanceType;
100 bool m_ec2InstanceTypeHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace deadline
105} // 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