AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
StandardSourceEndpointConnectionDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
9#include <aws/mediaconnect/model/DestinationEndpointType.h>
10#include <aws/mediaconnect/model/EndpointEncryptionConfiguration.h>
11#include <aws/mediaconnect/model/EndpointEncryptionType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaConnect {
23namespace Model {
24
32 public:
33 AWS_MEDIACONNECT_API StandardSourceEndpointConnectionDetails() = default;
36 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetDestinationIpAddress() const { return m_destinationIpAddress; }
43 inline bool DestinationIpAddressHasBeenSet() const { return m_destinationIpAddressHasBeenSet; }
44 template <typename DestinationIpAddressT = Aws::String>
45 void SetDestinationIpAddress(DestinationIpAddressT&& value) {
46 m_destinationIpAddressHasBeenSet = true;
47 m_destinationIpAddress = std::forward<DestinationIpAddressT>(value);
48 }
49 template <typename DestinationIpAddressT = Aws::String>
51 SetDestinationIpAddress(std::forward<DestinationIpAddressT>(value));
52 return *this;
53 }
55
57
60 inline int GetDestinationIngestPort() const { return m_destinationIngestPort; }
61 inline bool DestinationIngestPortHasBeenSet() const { return m_destinationIngestPortHasBeenSet; }
62 inline void SetDestinationIngestPort(int value) {
63 m_destinationIngestPortHasBeenSet = true;
64 m_destinationIngestPort = value;
65 }
71
73
76 inline EndpointEncryptionType GetDestinationDecryptionType() const { return m_destinationDecryptionType; }
77 inline bool DestinationDecryptionTypeHasBeenSet() const { return m_destinationDecryptionTypeHasBeenSet; }
79 m_destinationDecryptionTypeHasBeenSet = true;
80 m_destinationDecryptionType = value;
81 }
87
89
91 return m_destinationDecryptionConfiguration;
92 }
93 inline bool DestinationDecryptionConfigurationHasBeenSet() const { return m_destinationDecryptionConfigurationHasBeenSet; }
94 template <typename DestinationDecryptionConfigurationT = EndpointEncryptionConfiguration>
95 void SetDestinationDecryptionConfiguration(DestinationDecryptionConfigurationT&& value) {
96 m_destinationDecryptionConfigurationHasBeenSet = true;
97 m_destinationDecryptionConfiguration = std::forward<DestinationDecryptionConfigurationT>(value);
98 }
99 template <typename DestinationDecryptionConfigurationT = EndpointEncryptionConfiguration>
101 SetDestinationDecryptionConfiguration(std::forward<DestinationDecryptionConfigurationT>(value));
102 return *this;
103 }
105
107
110 inline DestinationEndpointType GetDestinationEndpointType() const { return m_destinationEndpointType; }
111 inline bool DestinationEndpointTypeHasBeenSet() const { return m_destinationEndpointTypeHasBeenSet; }
113 m_destinationEndpointTypeHasBeenSet = true;
114 m_destinationEndpointType = value;
115 }
121 private:
122 Aws::String m_destinationIpAddress;
123
124 int m_destinationIngestPort{0};
125
126 EndpointEncryptionType m_destinationDecryptionType{EndpointEncryptionType::NOT_SET};
127
128 EndpointEncryptionConfiguration m_destinationDecryptionConfiguration;
129
131 bool m_destinationIpAddressHasBeenSet = false;
132 bool m_destinationIngestPortHasBeenSet = false;
133 bool m_destinationDecryptionTypeHasBeenSet = false;
134 bool m_destinationDecryptionConfigurationHasBeenSet = false;
135 bool m_destinationEndpointTypeHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace MediaConnect
140} // namespace Aws
StandardSourceEndpointConnectionDetails & WithDestinationEndpointType(DestinationEndpointType value)
StandardSourceEndpointConnectionDetails & WithDestinationDecryptionType(EndpointEncryptionType value)
StandardSourceEndpointConnectionDetails & WithDestinationDecryptionConfiguration(DestinationDecryptionConfigurationT &&value)
StandardSourceEndpointConnectionDetails & WithDestinationIpAddress(DestinationIpAddressT &&value)
AWS_MEDIACONNECT_API StandardSourceEndpointConnectionDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API StandardSourceEndpointConnectionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue