AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DomainNetworkSettings.h
1
6#pragma once
7#include <aws/license-manager-user-subscriptions/LicenseManagerUserSubscriptions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LicenseManagerUserSubscriptions
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API DomainNetworkSettings() = default;
37 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API DomainNetworkSettings(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API DomainNetworkSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetSubnets() const { return m_subnets; }
47 inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; }
48 template<typename SubnetsT = Aws::Vector<Aws::String>>
49 void SetSubnets(SubnetsT&& value) { m_subnetsHasBeenSet = true; m_subnets = std::forward<SubnetsT>(value); }
50 template<typename SubnetsT = Aws::Vector<Aws::String>>
51 DomainNetworkSettings& WithSubnets(SubnetsT&& value) { SetSubnets(std::forward<SubnetsT>(value)); return *this;}
52 template<typename SubnetsT = Aws::String>
53 DomainNetworkSettings& AddSubnets(SubnetsT&& value) { m_subnetsHasBeenSet = true; m_subnets.emplace_back(std::forward<SubnetsT>(value)); return *this; }
55 private:
56
58 bool m_subnetsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace LicenseManagerUserSubscriptions
63} // namespace Aws
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API DomainNetworkSettings()=default
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API DomainNetworkSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API DomainNetworkSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue