AWS SDK for C++

AWS SDK for C++ Version 1.11.644

Loading...
Searching...
No Matches
HybridCustomerInstancesSettings.h
1
6#pragma once
7#include <aws/ds/DirectoryService_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 DirectoryService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DIRECTORYSERVICE_API HybridCustomerInstancesSettings() = default;
39 AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<Aws::String>& GetCustomerDnsIps() const { return m_customerDnsIps; }
48 inline bool CustomerDnsIpsHasBeenSet() const { return m_customerDnsIpsHasBeenSet; }
49 template<typename CustomerDnsIpsT = Aws::Vector<Aws::String>>
50 void SetCustomerDnsIps(CustomerDnsIpsT&& value) { m_customerDnsIpsHasBeenSet = true; m_customerDnsIps = std::forward<CustomerDnsIpsT>(value); }
51 template<typename CustomerDnsIpsT = Aws::Vector<Aws::String>>
52 HybridCustomerInstancesSettings& WithCustomerDnsIps(CustomerDnsIpsT&& value) { SetCustomerDnsIps(std::forward<CustomerDnsIpsT>(value)); return *this;}
53 template<typename CustomerDnsIpsT = Aws::String>
54 HybridCustomerInstancesSettings& AddCustomerDnsIps(CustomerDnsIpsT&& value) { m_customerDnsIpsHasBeenSet = true; m_customerDnsIps.emplace_back(std::forward<CustomerDnsIpsT>(value)); return *this; }
56
58
62 inline const Aws::Vector<Aws::String>& GetInstanceIds() const { return m_instanceIds; }
63 inline bool InstanceIdsHasBeenSet() const { return m_instanceIdsHasBeenSet; }
64 template<typename InstanceIdsT = Aws::Vector<Aws::String>>
65 void SetInstanceIds(InstanceIdsT&& value) { m_instanceIdsHasBeenSet = true; m_instanceIds = std::forward<InstanceIdsT>(value); }
66 template<typename InstanceIdsT = Aws::Vector<Aws::String>>
67 HybridCustomerInstancesSettings& WithInstanceIds(InstanceIdsT&& value) { SetInstanceIds(std::forward<InstanceIdsT>(value)); return *this;}
68 template<typename InstanceIdsT = Aws::String>
69 HybridCustomerInstancesSettings& AddInstanceIds(InstanceIdsT&& value) { m_instanceIdsHasBeenSet = true; m_instanceIds.emplace_back(std::forward<InstanceIdsT>(value)); return *this; }
71 private:
72
73 Aws::Vector<Aws::String> m_customerDnsIps;
74 bool m_customerDnsIpsHasBeenSet = false;
75
76 Aws::Vector<Aws::String> m_instanceIds;
77 bool m_instanceIdsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace DirectoryService
82} // namespace Aws
AWS_DIRECTORYSERVICE_API HybridCustomerInstancesSettings()=default
HybridCustomerInstancesSettings & WithInstanceIds(InstanceIdsT &&value)
AWS_DIRECTORYSERVICE_API HybridCustomerInstancesSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
HybridCustomerInstancesSettings & AddInstanceIds(InstanceIdsT &&value)
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DIRECTORYSERVICE_API HybridCustomerInstancesSettings(Aws::Utils::Json::JsonView jsonValue)
HybridCustomerInstancesSettings & AddCustomerDnsIps(CustomerDnsIpsT &&value)
HybridCustomerInstancesSettings & WithCustomerDnsIps(CustomerDnsIpsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue