AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 HostPropertiesResponse& WithIpAddresses(const IpAddresses& value) { SetIpAddresses(value); return *this;}
50 inline HostPropertiesResponse& 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 HostPropertiesResponse& WithHostName(const Aws::String& value) { SetHostName(value); return *this;}
63 inline HostPropertiesResponse& WithHostName(Aws::String&& value) { SetHostName(std::move(value)); return *this;}
64 inline HostPropertiesResponse& WithHostName(const char* value) { SetHostName(value); return *this;}
66
68
71 inline const Aws::String& GetEc2InstanceArn() const{ return m_ec2InstanceArn; }
72 inline bool Ec2InstanceArnHasBeenSet() const { return m_ec2InstanceArnHasBeenSet; }
73 inline void SetEc2InstanceArn(const Aws::String& value) { m_ec2InstanceArnHasBeenSet = true; m_ec2InstanceArn = value; }
74 inline void SetEc2InstanceArn(Aws::String&& value) { m_ec2InstanceArnHasBeenSet = true; m_ec2InstanceArn = std::move(value); }
75 inline void SetEc2InstanceArn(const char* value) { m_ec2InstanceArnHasBeenSet = true; m_ec2InstanceArn.assign(value); }
76 inline HostPropertiesResponse& WithEc2InstanceArn(const Aws::String& value) { SetEc2InstanceArn(value); return *this;}
77 inline HostPropertiesResponse& WithEc2InstanceArn(Aws::String&& value) { SetEc2InstanceArn(std::move(value)); return *this;}
78 inline HostPropertiesResponse& WithEc2InstanceArn(const char* value) { SetEc2InstanceArn(value); return *this;}
80
82
85 inline const Aws::String& GetEc2InstanceType() const{ return m_ec2InstanceType; }
86 inline bool Ec2InstanceTypeHasBeenSet() const { return m_ec2InstanceTypeHasBeenSet; }
87 inline void SetEc2InstanceType(const Aws::String& value) { m_ec2InstanceTypeHasBeenSet = true; m_ec2InstanceType = value; }
88 inline void SetEc2InstanceType(Aws::String&& value) { m_ec2InstanceTypeHasBeenSet = true; m_ec2InstanceType = std::move(value); }
89 inline void SetEc2InstanceType(const char* value) { m_ec2InstanceTypeHasBeenSet = true; m_ec2InstanceType.assign(value); }
90 inline HostPropertiesResponse& WithEc2InstanceType(const Aws::String& value) { SetEc2InstanceType(value); return *this;}
91 inline HostPropertiesResponse& WithEc2InstanceType(Aws::String&& value) { SetEc2InstanceType(std::move(value)); return *this;}
92 inline HostPropertiesResponse& WithEc2InstanceType(const char* value) { SetEc2InstanceType(value); return *this;}
94 private:
95
96 IpAddresses m_ipAddresses;
97 bool m_ipAddressesHasBeenSet = false;
98
99 Aws::String m_hostName;
100 bool m_hostNameHasBeenSet = false;
101
102 Aws::String m_ec2InstanceArn;
103 bool m_ec2InstanceArnHasBeenSet = false;
104
105 Aws::String m_ec2InstanceType;
106 bool m_ec2InstanceTypeHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace deadline
111} // namespace Aws
AWS_DEADLINE_API HostPropertiesResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
HostPropertiesResponse & WithHostName(const Aws::String &value)
HostPropertiesResponse & WithIpAddresses(IpAddresses &&value)
HostPropertiesResponse & WithEc2InstanceArn(const Aws::String &value)
HostPropertiesResponse & WithHostName(const char *value)
AWS_DEADLINE_API HostPropertiesResponse(Aws::Utils::Json::JsonView jsonValue)
HostPropertiesResponse & WithEc2InstanceType(const Aws::String &value)
HostPropertiesResponse & WithEc2InstanceArn(const char *value)
HostPropertiesResponse & WithHostName(Aws::String &&value)
HostPropertiesResponse & WithEc2InstanceType(const char *value)
HostPropertiesResponse & WithIpAddresses(const IpAddresses &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
HostPropertiesResponse & WithEc2InstanceType(Aws::String &&value)
HostPropertiesResponse & WithEc2InstanceArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue