AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
NetworkAccessConfiguration.h
Go to the documentation of this file.
1
6#pragma once
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppStream
22{
23namespace Model
24{
25
33 {
34 public:
39
40
45 inline const Aws::String& GetEniPrivateIpAddress() const{ return m_eniPrivateIpAddress; }
46
51 inline bool EniPrivateIpAddressHasBeenSet() const { return m_eniPrivateIpAddressHasBeenSet; }
52
57 inline void SetEniPrivateIpAddress(const Aws::String& value) { m_eniPrivateIpAddressHasBeenSet = true; m_eniPrivateIpAddress = value; }
58
63 inline void SetEniPrivateIpAddress(Aws::String&& value) { m_eniPrivateIpAddressHasBeenSet = true; m_eniPrivateIpAddress = std::move(value); }
64
69 inline void SetEniPrivateIpAddress(const char* value) { m_eniPrivateIpAddressHasBeenSet = true; m_eniPrivateIpAddress.assign(value); }
70
76
81 inline NetworkAccessConfiguration& WithEniPrivateIpAddress(Aws::String&& value) { SetEniPrivateIpAddress(std::move(value)); return *this;}
82
87 inline NetworkAccessConfiguration& WithEniPrivateIpAddress(const char* value) { SetEniPrivateIpAddress(value); return *this;}
88
89
95 inline const Aws::String& GetEniId() const{ return m_eniId; }
96
102 inline bool EniIdHasBeenSet() const { return m_eniIdHasBeenSet; }
103
109 inline void SetEniId(const Aws::String& value) { m_eniIdHasBeenSet = true; m_eniId = value; }
110
116 inline void SetEniId(Aws::String&& value) { m_eniIdHasBeenSet = true; m_eniId = std::move(value); }
117
123 inline void SetEniId(const char* value) { m_eniIdHasBeenSet = true; m_eniId.assign(value); }
124
130 inline NetworkAccessConfiguration& WithEniId(const Aws::String& value) { SetEniId(value); return *this;}
131
137 inline NetworkAccessConfiguration& WithEniId(Aws::String&& value) { SetEniId(std::move(value)); return *this;}
138
144 inline NetworkAccessConfiguration& WithEniId(const char* value) { SetEniId(value); return *this;}
145
146 private:
147
148 Aws::String m_eniPrivateIpAddress;
149 bool m_eniPrivateIpAddressHasBeenSet = false;
150
151 Aws::String m_eniId;
152 bool m_eniIdHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace AppStream
157} // namespace Aws
#define AWS_APPSTREAM_API
NetworkAccessConfiguration & WithEniPrivateIpAddress(Aws::String &&value)
NetworkAccessConfiguration & WithEniId(const char *value)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkAccessConfiguration & WithEniPrivateIpAddress(const Aws::String &value)
NetworkAccessConfiguration & WithEniPrivateIpAddress(const char *value)
AWS_APPSTREAM_API NetworkAccessConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSTREAM_API NetworkAccessConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkAccessConfiguration & WithEniId(const Aws::String &value)
NetworkAccessConfiguration & WithEniId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String