AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProtocolDetails.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/awstransfer/model/TlsSessionResumptionMode.h>
10#include <aws/awstransfer/model/SetStatOption.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/awstransfer/model/As2Transport.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Transfer
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_TRANSFER_API ProtocolDetails();
40 AWS_TRANSFER_API ProtocolDetails(Aws::Utils::Json::JsonView jsonValue);
42 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
73 inline const Aws::String& GetPassiveIp() const{ return m_passiveIp; }
74 inline bool PassiveIpHasBeenSet() const { return m_passiveIpHasBeenSet; }
75 inline void SetPassiveIp(const Aws::String& value) { m_passiveIpHasBeenSet = true; m_passiveIp = value; }
76 inline void SetPassiveIp(Aws::String&& value) { m_passiveIpHasBeenSet = true; m_passiveIp = std::move(value); }
77 inline void SetPassiveIp(const char* value) { m_passiveIpHasBeenSet = true; m_passiveIp.assign(value); }
78 inline ProtocolDetails& WithPassiveIp(const Aws::String& value) { SetPassiveIp(value); return *this;}
79 inline ProtocolDetails& WithPassiveIp(Aws::String&& value) { SetPassiveIp(std::move(value)); return *this;}
80 inline ProtocolDetails& WithPassiveIp(const char* value) { SetPassiveIp(value); return *this;}
82
84
108 inline const TlsSessionResumptionMode& GetTlsSessionResumptionMode() const{ return m_tlsSessionResumptionMode; }
109 inline bool TlsSessionResumptionModeHasBeenSet() const { return m_tlsSessionResumptionModeHasBeenSet; }
110 inline void SetTlsSessionResumptionMode(const TlsSessionResumptionMode& value) { m_tlsSessionResumptionModeHasBeenSet = true; m_tlsSessionResumptionMode = value; }
111 inline void SetTlsSessionResumptionMode(TlsSessionResumptionMode&& value) { m_tlsSessionResumptionModeHasBeenSet = true; m_tlsSessionResumptionMode = std::move(value); }
115
117
136 inline const SetStatOption& GetSetStatOption() const{ return m_setStatOption; }
137 inline bool SetStatOptionHasBeenSet() const { return m_setStatOptionHasBeenSet; }
138 inline void SetSetStatOption(const SetStatOption& value) { m_setStatOptionHasBeenSet = true; m_setStatOption = value; }
139 inline void SetSetStatOption(SetStatOption&& value) { m_setStatOptionHasBeenSet = true; m_setStatOption = std::move(value); }
140 inline ProtocolDetails& WithSetStatOption(const SetStatOption& value) { SetSetStatOption(value); return *this;}
141 inline ProtocolDetails& WithSetStatOption(SetStatOption&& value) { SetSetStatOption(std::move(value)); return *this;}
143
145
149 inline const Aws::Vector<As2Transport>& GetAs2Transports() const{ return m_as2Transports; }
150 inline bool As2TransportsHasBeenSet() const { return m_as2TransportsHasBeenSet; }
151 inline void SetAs2Transports(const Aws::Vector<As2Transport>& value) { m_as2TransportsHasBeenSet = true; m_as2Transports = value; }
152 inline void SetAs2Transports(Aws::Vector<As2Transport>&& value) { m_as2TransportsHasBeenSet = true; m_as2Transports = std::move(value); }
154 inline ProtocolDetails& WithAs2Transports(Aws::Vector<As2Transport>&& value) { SetAs2Transports(std::move(value)); return *this;}
155 inline ProtocolDetails& AddAs2Transports(const As2Transport& value) { m_as2TransportsHasBeenSet = true; m_as2Transports.push_back(value); return *this; }
156 inline ProtocolDetails& AddAs2Transports(As2Transport&& value) { m_as2TransportsHasBeenSet = true; m_as2Transports.push_back(std::move(value)); return *this; }
158 private:
159
160 Aws::String m_passiveIp;
161 bool m_passiveIpHasBeenSet = false;
162
163 TlsSessionResumptionMode m_tlsSessionResumptionMode;
164 bool m_tlsSessionResumptionModeHasBeenSet = false;
165
166 SetStatOption m_setStatOption;
167 bool m_setStatOptionHasBeenSet = false;
168
169 Aws::Vector<As2Transport> m_as2Transports;
170 bool m_as2TransportsHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace Transfer
175} // namespace Aws
ProtocolDetails & AddAs2Transports(As2Transport &&value)
void SetTlsSessionResumptionMode(const TlsSessionResumptionMode &value)
ProtocolDetails & WithSetStatOption(const SetStatOption &value)
void SetPassiveIp(const Aws::String &value)
void SetPassiveIp(Aws::String &&value)
const Aws::Vector< As2Transport > & GetAs2Transports() const
AWS_TRANSFER_API ProtocolDetails(Aws::Utils::Json::JsonView jsonValue)
ProtocolDetails & WithPassiveIp(Aws::String &&value)
void SetAs2Transports(const Aws::Vector< As2Transport > &value)
ProtocolDetails & WithSetStatOption(SetStatOption &&value)
ProtocolDetails & WithPassiveIp(const char *value)
ProtocolDetails & AddAs2Transports(const As2Transport &value)
AWS_TRANSFER_API ProtocolDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ProtocolDetails & WithTlsSessionResumptionMode(TlsSessionResumptionMode &&value)
const TlsSessionResumptionMode & GetTlsSessionResumptionMode() const
void SetTlsSessionResumptionMode(TlsSessionResumptionMode &&value)
void SetSetStatOption(const SetStatOption &value)
ProtocolDetails & WithAs2Transports(const Aws::Vector< As2Transport > &value)
const SetStatOption & GetSetStatOption() const
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
ProtocolDetails & WithTlsSessionResumptionMode(const TlsSessionResumptionMode &value)
void SetAs2Transports(Aws::Vector< As2Transport > &&value)
const Aws::String & GetPassiveIp() const
ProtocolDetails & WithAs2Transports(Aws::Vector< As2Transport > &&value)
void SetSetStatOption(SetStatOption &&value)
ProtocolDetails & WithPassiveIp(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue