AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
EndpointIdentifier.h
1
6#pragma once
7#include <aws/globalaccelerator/GlobalAccelerator_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 GlobalAccelerator
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLOBALACCELERATOR_API EndpointIdentifier() = default;
36 AWS_GLOBALACCELERATOR_API EndpointIdentifier(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GLOBALACCELERATOR_API EndpointIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
50 inline const Aws::String& GetEndpointId() const { return m_endpointId; }
51 inline bool EndpointIdHasBeenSet() const { return m_endpointIdHasBeenSet; }
52 template<typename EndpointIdT = Aws::String>
53 void SetEndpointId(EndpointIdT&& value) { m_endpointIdHasBeenSet = true; m_endpointId = std::forward<EndpointIdT>(value); }
54 template<typename EndpointIdT = Aws::String>
55 EndpointIdentifier& WithEndpointId(EndpointIdT&& value) { SetEndpointId(std::forward<EndpointIdT>(value)); return *this;}
57
59
65 inline bool GetClientIPPreservationEnabled() const { return m_clientIPPreservationEnabled; }
66 inline bool ClientIPPreservationEnabledHasBeenSet() const { return m_clientIPPreservationEnabledHasBeenSet; }
67 inline void SetClientIPPreservationEnabled(bool value) { m_clientIPPreservationEnabledHasBeenSet = true; m_clientIPPreservationEnabled = value; }
70 private:
71
72 Aws::String m_endpointId;
73 bool m_endpointIdHasBeenSet = false;
74
75 bool m_clientIPPreservationEnabled{false};
76 bool m_clientIPPreservationEnabledHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace GlobalAccelerator
81} // namespace Aws
AWS_GLOBALACCELERATOR_API EndpointIdentifier(Aws::Utils::Json::JsonView jsonValue)
AWS_GLOBALACCELERATOR_API EndpointIdentifier()=default
EndpointIdentifier & WithEndpointId(EndpointIdT &&value)
EndpointIdentifier & WithClientIPPreservationEnabled(bool value)
AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLOBALACCELERATOR_API EndpointIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue