AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkAccessConfiguration.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
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:
35 AWS_APPSTREAM_API NetworkAccessConfiguration();
38 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetEniPrivateIpAddress() const{ return m_eniPrivateIpAddress; }
47 inline bool EniPrivateIpAddressHasBeenSet() const { return m_eniPrivateIpAddressHasBeenSet; }
48 inline void SetEniPrivateIpAddress(const Aws::String& value) { m_eniPrivateIpAddressHasBeenSet = true; m_eniPrivateIpAddress = value; }
49 inline void SetEniPrivateIpAddress(Aws::String&& value) { m_eniPrivateIpAddressHasBeenSet = true; m_eniPrivateIpAddress = std::move(value); }
50 inline void SetEniPrivateIpAddress(const char* value) { m_eniPrivateIpAddressHasBeenSet = true; m_eniPrivateIpAddress.assign(value); }
52 inline NetworkAccessConfiguration& WithEniPrivateIpAddress(Aws::String&& value) { SetEniPrivateIpAddress(std::move(value)); return *this;}
53 inline NetworkAccessConfiguration& WithEniPrivateIpAddress(const char* value) { SetEniPrivateIpAddress(value); return *this;}
55
57
62 inline const Aws::String& GetEniId() const{ return m_eniId; }
63 inline bool EniIdHasBeenSet() const { return m_eniIdHasBeenSet; }
64 inline void SetEniId(const Aws::String& value) { m_eniIdHasBeenSet = true; m_eniId = value; }
65 inline void SetEniId(Aws::String&& value) { m_eniIdHasBeenSet = true; m_eniId = std::move(value); }
66 inline void SetEniId(const char* value) { m_eniIdHasBeenSet = true; m_eniId.assign(value); }
67 inline NetworkAccessConfiguration& WithEniId(const Aws::String& value) { SetEniId(value); return *this;}
68 inline NetworkAccessConfiguration& WithEniId(Aws::String&& value) { SetEniId(std::move(value)); return *this;}
69 inline NetworkAccessConfiguration& WithEniId(const char* value) { SetEniId(value); return *this;}
71 private:
72
73 Aws::String m_eniPrivateIpAddress;
74 bool m_eniPrivateIpAddressHasBeenSet = false;
75
76 Aws::String m_eniId;
77 bool m_eniIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace AppStream
82} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue