AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
HybridCustomerInstancesSettings.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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DirectoryService {
21namespace Model {
22
30 public:
31 AWS_DIRECTORYSERVICE_API HybridCustomerInstancesSettings() = default;
34 AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Vector<Aws::String>& GetCustomerDnsIps() const { return m_customerDnsIps; }
42 inline bool CustomerDnsIpsHasBeenSet() const { return m_customerDnsIpsHasBeenSet; }
43 template <typename CustomerDnsIpsT = Aws::Vector<Aws::String>>
44 void SetCustomerDnsIps(CustomerDnsIpsT&& value) {
45 m_customerDnsIpsHasBeenSet = true;
46 m_customerDnsIps = std::forward<CustomerDnsIpsT>(value);
47 }
48 template <typename CustomerDnsIpsT = Aws::Vector<Aws::String>>
50 SetCustomerDnsIps(std::forward<CustomerDnsIpsT>(value));
51 return *this;
52 }
53 template <typename CustomerDnsIpsT = Aws::String>
55 m_customerDnsIpsHasBeenSet = true;
56 m_customerDnsIps.emplace_back(std::forward<CustomerDnsIpsT>(value));
57 return *this;
58 }
60
62
66 inline const Aws::Vector<Aws::String>& GetInstanceIds() const { return m_instanceIds; }
67 inline bool InstanceIdsHasBeenSet() const { return m_instanceIdsHasBeenSet; }
68 template <typename InstanceIdsT = Aws::Vector<Aws::String>>
69 void SetInstanceIds(InstanceIdsT&& value) {
70 m_instanceIdsHasBeenSet = true;
71 m_instanceIds = std::forward<InstanceIdsT>(value);
72 }
73 template <typename InstanceIdsT = Aws::Vector<Aws::String>>
75 SetInstanceIds(std::forward<InstanceIdsT>(value));
76 return *this;
77 }
78 template <typename InstanceIdsT = Aws::String>
80 m_instanceIdsHasBeenSet = true;
81 m_instanceIds.emplace_back(std::forward<InstanceIdsT>(value));
82 return *this;
83 }
85 private:
86 Aws::Vector<Aws::String> m_customerDnsIps;
87
88 Aws::Vector<Aws::String> m_instanceIds;
89 bool m_customerDnsIpsHasBeenSet = false;
90 bool m_instanceIdsHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace DirectoryService
95} // 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