7#include <aws/workspaces-instances/WorkspacesInstances_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace WorkspacesInstances
47 inline void SetPrimary(
bool value) { m_primaryHasBeenSet =
true; m_primary = value; }
57 template<
typename PrivateIpAddressT = Aws::String>
58 void SetPrivateIpAddress(PrivateIpAddressT&& value) { m_privateIpAddressHasBeenSet =
true; m_privateIpAddress = std::forward<PrivateIpAddressT>(value); }
59 template<
typename PrivateIpAddressT = Aws::String>
64 bool m_primary{
false};
65 bool m_primaryHasBeenSet =
false;
68 bool m_privateIpAddressHasBeenSet =
false;
bool PrimaryHasBeenSet() const
bool PrivateIpAddressHasBeenSet() const
const Aws::String & GetPrivateIpAddress() const
PrivateIpAddressSpecification & WithPrimary(bool value)
AWS_WORKSPACESINSTANCES_API PrivateIpAddressSpecification(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACESINSTANCES_API PrivateIpAddressSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACESINSTANCES_API PrivateIpAddressSpecification()=default
void SetPrimary(bool value)
AWS_WORKSPACESINSTANCES_API Aws::Utils::Json::JsonValue Jsonize() const
PrivateIpAddressSpecification & WithPrivateIpAddress(PrivateIpAddressT &&value)
void SetPrivateIpAddress(PrivateIpAddressT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue