AWS SDK for C++

AWS SDK for C++ Version 1.11.867

Loading...
Searching...
No Matches
PrivateEndpoint.h
1
6#pragma once
7#include <aws/agent-registry-control/AgentRegistryControl_EXPORTS.h>
8#include <aws/agent-registry-control/model/ManagedVpcResource.h>
9#include <aws/agent-registry-control/model/SelfManagedLatticeResource.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AgentRegistryControl {
21namespace Model {
22
30 public:
31 AWS_AGENTREGISTRYCONTROL_API PrivateEndpoint() = default;
32 AWS_AGENTREGISTRYCONTROL_API PrivateEndpoint(Aws::Utils::Json::JsonView jsonValue);
33 AWS_AGENTREGISTRYCONTROL_API PrivateEndpoint& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const SelfManagedLatticeResource& GetSelfManagedLatticeResource() const { return m_selfManagedLatticeResource; }
42 inline bool SelfManagedLatticeResourceHasBeenSet() const { return m_selfManagedLatticeResourceHasBeenSet; }
43 template <typename SelfManagedLatticeResourceT = SelfManagedLatticeResource>
44 void SetSelfManagedLatticeResource(SelfManagedLatticeResourceT&& value) {
45 m_selfManagedLatticeResourceHasBeenSet = true;
46 m_selfManagedLatticeResource = std::forward<SelfManagedLatticeResourceT>(value);
47 }
48 template <typename SelfManagedLatticeResourceT = SelfManagedLatticeResource>
49 PrivateEndpoint& WithSelfManagedLatticeResource(SelfManagedLatticeResourceT&& value) {
50 SetSelfManagedLatticeResource(std::forward<SelfManagedLatticeResourceT>(value));
51 return *this;
52 }
54
56
59 inline const ManagedVpcResource& GetManagedVpcResource() const { return m_managedVpcResource; }
60 inline bool ManagedVpcResourceHasBeenSet() const { return m_managedVpcResourceHasBeenSet; }
61 template <typename ManagedVpcResourceT = ManagedVpcResource>
62 void SetManagedVpcResource(ManagedVpcResourceT&& value) {
63 m_managedVpcResourceHasBeenSet = true;
64 m_managedVpcResource = std::forward<ManagedVpcResourceT>(value);
65 }
66 template <typename ManagedVpcResourceT = ManagedVpcResource>
67 PrivateEndpoint& WithManagedVpcResource(ManagedVpcResourceT&& value) {
68 SetManagedVpcResource(std::forward<ManagedVpcResourceT>(value));
69 return *this;
70 }
72 private:
73 SelfManagedLatticeResource m_selfManagedLatticeResource;
74
75 ManagedVpcResource m_managedVpcResource;
76 bool m_selfManagedLatticeResourceHasBeenSet = false;
77 bool m_managedVpcResourceHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace AgentRegistryControl
82} // namespace Aws
PrivateEndpoint & WithSelfManagedLatticeResource(SelfManagedLatticeResourceT &&value)
AWS_AGENTREGISTRYCONTROL_API PrivateEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetManagedVpcResource(ManagedVpcResourceT &&value)
const ManagedVpcResource & GetManagedVpcResource() const
const SelfManagedLatticeResource & GetSelfManagedLatticeResource() const
void SetSelfManagedLatticeResource(SelfManagedLatticeResourceT &&value)
AWS_AGENTREGISTRYCONTROL_API PrivateEndpoint()=default
PrivateEndpoint & WithManagedVpcResource(ManagedVpcResourceT &&value)
AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AGENTREGISTRYCONTROL_API PrivateEndpoint(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue