AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
PrivateConnectionMode.h
1
6#pragma once
7#include <aws/securityagent/SecurityAgent_EXPORTS.h>
8#include <aws/securityagent/model/SelfManagedInput.h>
9#include <aws/securityagent/model/ServiceManagedInput.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityAgent {
21namespace Model {
22
30 public:
31 AWS_SECURITYAGENT_API PrivateConnectionMode() = default;
32 AWS_SECURITYAGENT_API PrivateConnectionMode(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const ServiceManagedInput& GetServiceManaged() const { return m_serviceManaged; }
42 inline bool ServiceManagedHasBeenSet() const { return m_serviceManagedHasBeenSet; }
43 template <typename ServiceManagedT = ServiceManagedInput>
44 void SetServiceManaged(ServiceManagedT&& value) {
45 m_serviceManagedHasBeenSet = true;
46 m_serviceManaged = std::forward<ServiceManagedT>(value);
47 }
48 template <typename ServiceManagedT = ServiceManagedInput>
49 PrivateConnectionMode& WithServiceManaged(ServiceManagedT&& value) {
50 SetServiceManaged(std::forward<ServiceManagedT>(value));
51 return *this;
52 }
54
56
60 inline const SelfManagedInput& GetSelfManaged() const { return m_selfManaged; }
61 inline bool SelfManagedHasBeenSet() const { return m_selfManagedHasBeenSet; }
62 template <typename SelfManagedT = SelfManagedInput>
63 void SetSelfManaged(SelfManagedT&& value) {
64 m_selfManagedHasBeenSet = true;
65 m_selfManaged = std::forward<SelfManagedT>(value);
66 }
67 template <typename SelfManagedT = SelfManagedInput>
68 PrivateConnectionMode& WithSelfManaged(SelfManagedT&& value) {
69 SetSelfManaged(std::forward<SelfManagedT>(value));
70 return *this;
71 }
73 private:
74 ServiceManagedInput m_serviceManaged;
75
76 SelfManagedInput m_selfManaged;
77 bool m_serviceManagedHasBeenSet = false;
78 bool m_selfManagedHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace SecurityAgent
83} // namespace Aws
const ServiceManagedInput & GetServiceManaged() const
AWS_SECURITYAGENT_API PrivateConnectionMode(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API PrivateConnectionMode()=default
PrivateConnectionMode & WithServiceManaged(ServiceManagedT &&value)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYAGENT_API PrivateConnectionMode & operator=(Aws::Utils::Json::JsonView jsonValue)
PrivateConnectionMode & WithSelfManaged(SelfManagedT &&value)
Aws::Utils::Json::JsonValue JsonValue