AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
EndpointNetworkConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/storagegateway/StorageGateway_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace StorageGateway {
21namespace Model {
22
30 public:
31 AWS_STORAGEGATEWAY_API EndpointNetworkConfiguration() = default;
34 AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::Vector<Aws::String>& GetIpAddresses() const { return m_ipAddresses; }
43 inline bool IpAddressesHasBeenSet() const { return m_ipAddressesHasBeenSet; }
44 template <typename IpAddressesT = Aws::Vector<Aws::String>>
45 void SetIpAddresses(IpAddressesT&& value) {
46 m_ipAddressesHasBeenSet = true;
47 m_ipAddresses = std::forward<IpAddressesT>(value);
48 }
49 template <typename IpAddressesT = Aws::Vector<Aws::String>>
51 SetIpAddresses(std::forward<IpAddressesT>(value));
52 return *this;
53 }
54 template <typename IpAddressesT = Aws::String>
56 m_ipAddressesHasBeenSet = true;
57 m_ipAddresses.emplace_back(std::forward<IpAddressesT>(value));
58 return *this;
59 }
61 private:
62 Aws::Vector<Aws::String> m_ipAddresses;
63 bool m_ipAddressesHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace StorageGateway
68} // namespace Aws
EndpointNetworkConfiguration & AddIpAddresses(IpAddressesT &&value)
EndpointNetworkConfiguration & WithIpAddresses(IpAddressesT &&value)
AWS_STORAGEGATEWAY_API EndpointNetworkConfiguration()=default
AWS_STORAGEGATEWAY_API EndpointNetworkConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_STORAGEGATEWAY_API EndpointNetworkConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue