AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PrivateIpAddressSpecification.h
1
6#pragma once
7#include <aws/workspaces-instances/WorkspacesInstances_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WorkspacesInstances
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_WORKSPACESINSTANCES_API PrivateIpAddressSpecification() = default;
36 AWS_WORKSPACESINSTANCES_API PrivateIpAddressSpecification(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WORKSPACESINSTANCES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline bool GetPrimary() const { return m_primary; }
46 inline bool PrimaryHasBeenSet() const { return m_primaryHasBeenSet; }
47 inline void SetPrimary(bool value) { m_primaryHasBeenSet = true; m_primary = value; }
48 inline PrivateIpAddressSpecification& WithPrimary(bool value) { SetPrimary(value); return *this;}
50
52
55 inline const Aws::String& GetPrivateIpAddress() const { return m_privateIpAddress; }
56 inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; }
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>
60 PrivateIpAddressSpecification& WithPrivateIpAddress(PrivateIpAddressT&& value) { SetPrivateIpAddress(std::forward<PrivateIpAddressT>(value)); return *this;}
62 private:
63
64 bool m_primary{false};
65 bool m_primaryHasBeenSet = false;
66
67 Aws::String m_privateIpAddress;
68 bool m_privateIpAddressHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace WorkspacesInstances
73} // namespace Aws
AWS_WORKSPACESINSTANCES_API PrivateIpAddressSpecification(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACESINSTANCES_API PrivateIpAddressSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACESINSTANCES_API PrivateIpAddressSpecification()=default
AWS_WORKSPACESINSTANCES_API Aws::Utils::Json::JsonValue Jsonize() const
PrivateIpAddressSpecification & WithPrivateIpAddress(PrivateIpAddressT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue