AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
NetworkUpdateSettings.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/ds/DirectoryService_EXPORTS.h>
10#include <aws/ds/model/NetworkType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DirectoryService {
22namespace Model {
23
31 public:
32 AWS_DIRECTORYSERVICE_API NetworkUpdateSettings() = default;
33 AWS_DIRECTORYSERVICE_API NetworkUpdateSettings(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DIRECTORYSERVICE_API NetworkUpdateSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline NetworkType GetNetworkType() const { return m_networkType; }
42 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
43 inline void SetNetworkType(NetworkType value) {
44 m_networkTypeHasBeenSet = true;
45 m_networkType = value;
46 }
48 SetNetworkType(value);
49 return *this;
50 }
52
54
58 inline const Aws::Vector<Aws::String>& GetCustomerDnsIpsV6() const { return m_customerDnsIpsV6; }
59 inline bool CustomerDnsIpsV6HasBeenSet() const { return m_customerDnsIpsV6HasBeenSet; }
60 template <typename CustomerDnsIpsV6T = Aws::Vector<Aws::String>>
61 void SetCustomerDnsIpsV6(CustomerDnsIpsV6T&& value) {
62 m_customerDnsIpsV6HasBeenSet = true;
63 m_customerDnsIpsV6 = std::forward<CustomerDnsIpsV6T>(value);
64 }
65 template <typename CustomerDnsIpsV6T = Aws::Vector<Aws::String>>
66 NetworkUpdateSettings& WithCustomerDnsIpsV6(CustomerDnsIpsV6T&& value) {
67 SetCustomerDnsIpsV6(std::forward<CustomerDnsIpsV6T>(value));
68 return *this;
69 }
70 template <typename CustomerDnsIpsV6T = Aws::String>
71 NetworkUpdateSettings& AddCustomerDnsIpsV6(CustomerDnsIpsV6T&& value) {
72 m_customerDnsIpsV6HasBeenSet = true;
73 m_customerDnsIpsV6.emplace_back(std::forward<CustomerDnsIpsV6T>(value));
74 return *this;
75 }
77 private:
78 NetworkType m_networkType{NetworkType::NOT_SET};
79
80 Aws::Vector<Aws::String> m_customerDnsIpsV6;
81 bool m_networkTypeHasBeenSet = false;
82 bool m_customerDnsIpsV6HasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace DirectoryService
87} // namespace Aws
AWS_DIRECTORYSERVICE_API NetworkUpdateSettings()=default
NetworkUpdateSettings & WithCustomerDnsIpsV6(CustomerDnsIpsV6T &&value)
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkUpdateSettings & WithNetworkType(NetworkType value)
AWS_DIRECTORYSERVICE_API NetworkUpdateSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkUpdateSettings & AddCustomerDnsIpsV6(CustomerDnsIpsV6T &&value)
AWS_DIRECTORYSERVICE_API NetworkUpdateSettings(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetCustomerDnsIpsV6() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue