AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
OwnerDirectoryDescription.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/DirectoryVpcSettingsDescription.h>
11#include <aws/ds/model/NetworkType.h>
12#include <aws/ds/model/RadiusSettings.h>
13#include <aws/ds/model/RadiusStatus.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DirectoryService {
25namespace Model {
26
34 public:
35 AWS_DIRECTORYSERVICE_API OwnerDirectoryDescription() = default;
36 AWS_DIRECTORYSERVICE_API OwnerDirectoryDescription(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
46 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
47 template <typename DirectoryIdT = Aws::String>
48 void SetDirectoryId(DirectoryIdT&& value) {
49 m_directoryIdHasBeenSet = true;
50 m_directoryId = std::forward<DirectoryIdT>(value);
51 }
52 template <typename DirectoryIdT = Aws::String>
54 SetDirectoryId(std::forward<DirectoryIdT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetAccountId() const { return m_accountId; }
64 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
65 template <typename AccountIdT = Aws::String>
66 void SetAccountId(AccountIdT&& value) {
67 m_accountIdHasBeenSet = true;
68 m_accountId = std::forward<AccountIdT>(value);
69 }
70 template <typename AccountIdT = Aws::String>
72 SetAccountId(std::forward<AccountIdT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::Vector<Aws::String>& GetDnsIpAddrs() const { return m_dnsIpAddrs; }
82 inline bool DnsIpAddrsHasBeenSet() const { return m_dnsIpAddrsHasBeenSet; }
83 template <typename DnsIpAddrsT = Aws::Vector<Aws::String>>
84 void SetDnsIpAddrs(DnsIpAddrsT&& value) {
85 m_dnsIpAddrsHasBeenSet = true;
86 m_dnsIpAddrs = std::forward<DnsIpAddrsT>(value);
87 }
88 template <typename DnsIpAddrsT = Aws::Vector<Aws::String>>
90 SetDnsIpAddrs(std::forward<DnsIpAddrsT>(value));
91 return *this;
92 }
93 template <typename DnsIpAddrsT = Aws::String>
95 m_dnsIpAddrsHasBeenSet = true;
96 m_dnsIpAddrs.emplace_back(std::forward<DnsIpAddrsT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::Vector<Aws::String>& GetDnsIpv6Addrs() const { return m_dnsIpv6Addrs; }
106 inline bool DnsIpv6AddrsHasBeenSet() const { return m_dnsIpv6AddrsHasBeenSet; }
107 template <typename DnsIpv6AddrsT = Aws::Vector<Aws::String>>
108 void SetDnsIpv6Addrs(DnsIpv6AddrsT&& value) {
109 m_dnsIpv6AddrsHasBeenSet = true;
110 m_dnsIpv6Addrs = std::forward<DnsIpv6AddrsT>(value);
111 }
112 template <typename DnsIpv6AddrsT = Aws::Vector<Aws::String>>
114 SetDnsIpv6Addrs(std::forward<DnsIpv6AddrsT>(value));
115 return *this;
116 }
117 template <typename DnsIpv6AddrsT = Aws::String>
119 m_dnsIpv6AddrsHasBeenSet = true;
120 m_dnsIpv6Addrs.emplace_back(std::forward<DnsIpv6AddrsT>(value));
121 return *this;
122 }
124
126
129 inline const DirectoryVpcSettingsDescription& GetVpcSettings() const { return m_vpcSettings; }
130 inline bool VpcSettingsHasBeenSet() const { return m_vpcSettingsHasBeenSet; }
131 template <typename VpcSettingsT = DirectoryVpcSettingsDescription>
132 void SetVpcSettings(VpcSettingsT&& value) {
133 m_vpcSettingsHasBeenSet = true;
134 m_vpcSettings = std::forward<VpcSettingsT>(value);
135 }
136 template <typename VpcSettingsT = DirectoryVpcSettingsDescription>
138 SetVpcSettings(std::forward<VpcSettingsT>(value));
139 return *this;
140 }
142
144
147 inline const RadiusSettings& GetRadiusSettings() const { return m_radiusSettings; }
148 inline bool RadiusSettingsHasBeenSet() const { return m_radiusSettingsHasBeenSet; }
149 template <typename RadiusSettingsT = RadiusSettings>
150 void SetRadiusSettings(RadiusSettingsT&& value) {
151 m_radiusSettingsHasBeenSet = true;
152 m_radiusSettings = std::forward<RadiusSettingsT>(value);
153 }
154 template <typename RadiusSettingsT = RadiusSettings>
156 SetRadiusSettings(std::forward<RadiusSettingsT>(value));
157 return *this;
158 }
160
162
165 inline RadiusStatus GetRadiusStatus() const { return m_radiusStatus; }
166 inline bool RadiusStatusHasBeenSet() const { return m_radiusStatusHasBeenSet; }
167 inline void SetRadiusStatus(RadiusStatus value) {
168 m_radiusStatusHasBeenSet = true;
169 m_radiusStatus = value;
170 }
172 SetRadiusStatus(value);
173 return *this;
174 }
176
178
181 inline NetworkType GetNetworkType() const { return m_networkType; }
182 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
183 inline void SetNetworkType(NetworkType value) {
184 m_networkTypeHasBeenSet = true;
185 m_networkType = value;
186 }
188 SetNetworkType(value);
189 return *this;
190 }
192 private:
193 Aws::String m_directoryId;
194
195 Aws::String m_accountId;
196
197 Aws::Vector<Aws::String> m_dnsIpAddrs;
198
199 Aws::Vector<Aws::String> m_dnsIpv6Addrs;
200
202
203 RadiusSettings m_radiusSettings;
204
205 RadiusStatus m_radiusStatus{RadiusStatus::NOT_SET};
206
207 NetworkType m_networkType{NetworkType::NOT_SET};
208 bool m_directoryIdHasBeenSet = false;
209 bool m_accountIdHasBeenSet = false;
210 bool m_dnsIpAddrsHasBeenSet = false;
211 bool m_dnsIpv6AddrsHasBeenSet = false;
212 bool m_vpcSettingsHasBeenSet = false;
213 bool m_radiusSettingsHasBeenSet = false;
214 bool m_radiusStatusHasBeenSet = false;
215 bool m_networkTypeHasBeenSet = false;
216};
217
218} // namespace Model
219} // namespace DirectoryService
220} // namespace Aws
OwnerDirectoryDescription & AddDnsIpv6Addrs(DnsIpv6AddrsT &&value)
const Aws::Vector< Aws::String > & GetDnsIpv6Addrs() const
OwnerDirectoryDescription & WithAccountId(AccountIdT &&value)
OwnerDirectoryDescription & WithVpcSettings(VpcSettingsT &&value)
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
OwnerDirectoryDescription & WithRadiusSettings(RadiusSettingsT &&value)
AWS_DIRECTORYSERVICE_API OwnerDirectoryDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
OwnerDirectoryDescription & WithDnsIpv6Addrs(DnsIpv6AddrsT &&value)
const DirectoryVpcSettingsDescription & GetVpcSettings() const
OwnerDirectoryDescription & WithNetworkType(NetworkType value)
OwnerDirectoryDescription & WithRadiusStatus(RadiusStatus value)
OwnerDirectoryDescription & AddDnsIpAddrs(DnsIpAddrsT &&value)
AWS_DIRECTORYSERVICE_API OwnerDirectoryDescription()=default
const Aws::Vector< Aws::String > & GetDnsIpAddrs() const
OwnerDirectoryDescription & WithDnsIpAddrs(DnsIpAddrsT &&value)
AWS_DIRECTORYSERVICE_API OwnerDirectoryDescription(Aws::Utils::Json::JsonView jsonValue)
OwnerDirectoryDescription & WithDirectoryId(DirectoryIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue