AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename EniPrivateIpAddressT = Aws::String>
49 void SetEniPrivateIpAddress(EniPrivateIpAddressT&& value) { m_eniPrivateIpAddressHasBeenSet = true; m_eniPrivateIpAddress = std::forward<EniPrivateIpAddressT>(value); }
50 template<typename EniPrivateIpAddressT = Aws::String>
51 NetworkAccessConfiguration& WithEniPrivateIpAddress(EniPrivateIpAddressT&& value) { SetEniPrivateIpAddress(std::forward<EniPrivateIpAddressT>(value)); return *this;}
53
55
60 inline const Aws::String& GetEniId() const { return m_eniId; }
61 inline bool EniIdHasBeenSet() const { return m_eniIdHasBeenSet; }
62 template<typename EniIdT = Aws::String>
63 void SetEniId(EniIdT&& value) { m_eniIdHasBeenSet = true; m_eniId = std::forward<EniIdT>(value); }
64 template<typename EniIdT = Aws::String>
65 NetworkAccessConfiguration& WithEniId(EniIdT&& value) { SetEniId(std::forward<EniIdT>(value)); return *this;}
67 private:
68
69 Aws::String m_eniPrivateIpAddress;
70 bool m_eniPrivateIpAddressHasBeenSet = false;
71
72 Aws::String m_eniId;
73 bool m_eniIdHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace AppStream
78} // namespace Aws
NetworkAccessConfiguration & WithEniId(EniIdT &&value)
NetworkAccessConfiguration & WithEniPrivateIpAddress(EniPrivateIpAddressT &&value)
AWS_APPSTREAM_API NetworkAccessConfiguration()=default
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPSTREAM_API NetworkAccessConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSTREAM_API NetworkAccessConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue