AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
EipAssociation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/evs/EVS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EVS {
20namespace Model {
21
29 public:
30 AWS_EVS_API EipAssociation() = default;
34
36
39 inline const Aws::String& GetAssociationId() const { return m_associationId; }
40 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
41 template <typename AssociationIdT = Aws::String>
42 void SetAssociationId(AssociationIdT&& value) {
43 m_associationIdHasBeenSet = true;
44 m_associationId = std::forward<AssociationIdT>(value);
45 }
46 template <typename AssociationIdT = Aws::String>
47 EipAssociation& WithAssociationId(AssociationIdT&& value) {
48 SetAssociationId(std::forward<AssociationIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetAllocationId() const { return m_allocationId; }
58 inline bool AllocationIdHasBeenSet() const { return m_allocationIdHasBeenSet; }
59 template <typename AllocationIdT = Aws::String>
60 void SetAllocationId(AllocationIdT&& value) {
61 m_allocationIdHasBeenSet = true;
62 m_allocationId = std::forward<AllocationIdT>(value);
63 }
64 template <typename AllocationIdT = Aws::String>
65 EipAssociation& WithAllocationId(AllocationIdT&& value) {
66 SetAllocationId(std::forward<AllocationIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
76 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
77 template <typename IpAddressT = Aws::String>
78 void SetIpAddress(IpAddressT&& value) {
79 m_ipAddressHasBeenSet = true;
80 m_ipAddress = std::forward<IpAddressT>(value);
81 }
82 template <typename IpAddressT = Aws::String>
83 EipAssociation& WithIpAddress(IpAddressT&& value) {
84 SetIpAddress(std::forward<IpAddressT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_associationId;
90
91 Aws::String m_allocationId;
92
93 Aws::String m_ipAddress;
94 bool m_associationIdHasBeenSet = false;
95 bool m_allocationIdHasBeenSet = false;
96 bool m_ipAddressHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace EVS
101} // namespace Aws
AWS_EVS_API Aws::Utils::Json::JsonValue Jsonize() const
EipAssociation & WithIpAddress(IpAddressT &&value)
AWS_EVS_API EipAssociation()=default
void SetIpAddress(IpAddressT &&value)
AWS_EVS_API EipAssociation(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAllocationId() const
EipAssociation & WithAssociationId(AssociationIdT &&value)
const Aws::String & GetIpAddress() const
void SetAllocationId(AllocationIdT &&value)
void SetAssociationId(AssociationIdT &&value)
EipAssociation & WithAllocationId(AllocationIdT &&value)
const Aws::String & GetAssociationId() const
AWS_EVS_API EipAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue