AWS SDK for C++  1.9.155
AWS SDK for C++
ProtocolDetails.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Transfer
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
55  inline const Aws::String& GetPassiveIp() const{ return m_passiveIp; }
56 
70  inline bool PassiveIpHasBeenSet() const { return m_passiveIpHasBeenSet; }
71 
85  inline void SetPassiveIp(const Aws::String& value) { m_passiveIpHasBeenSet = true; m_passiveIp = value; }
86 
100  inline void SetPassiveIp(Aws::String&& value) { m_passiveIpHasBeenSet = true; m_passiveIp = std::move(value); }
101 
115  inline void SetPassiveIp(const char* value) { m_passiveIpHasBeenSet = true; m_passiveIp.assign(value); }
116 
130  inline ProtocolDetails& WithPassiveIp(const Aws::String& value) { SetPassiveIp(value); return *this;}
131 
145  inline ProtocolDetails& WithPassiveIp(Aws::String&& value) { SetPassiveIp(std::move(value)); return *this;}
146 
160  inline ProtocolDetails& WithPassiveIp(const char* value) { SetPassiveIp(value); return *this;}
161 
162  private:
163 
164  Aws::String m_passiveIp;
165  bool m_passiveIpHasBeenSet;
166  };
167 
168 } // namespace Model
169 } // namespace Transfer
170 } // namespace Aws
Aws::Transfer::Model::ProtocolDetails::SetPassiveIp
void SetPassiveIp(const char *value)
Definition: ProtocolDetails.h:115
Aws::Transfer::Model::ProtocolDetails::WithPassiveIp
ProtocolDetails & WithPassiveIp(Aws::String &&value)
Definition: ProtocolDetails.h:145
Aws::Transfer::Model::ProtocolDetails::SetPassiveIp
void SetPassiveIp(const Aws::String &value)
Definition: ProtocolDetails.h:85
Aws::Transfer::Model::ProtocolDetails::WithPassiveIp
ProtocolDetails & WithPassiveIp(const char *value)
Definition: ProtocolDetails.h:160
Aws::Transfer::Model::ProtocolDetails::ProtocolDetails
ProtocolDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::Transfer::Model::ProtocolDetails::GetPassiveIp
const Aws::String & GetPassiveIp() const
Definition: ProtocolDetails.h:55
Transfer_EXPORTS.h
Aws::Transfer::Model::ProtocolDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Transfer::Model::ProtocolDetails::PassiveIpHasBeenSet
bool PassiveIpHasBeenSet() const
Definition: ProtocolDetails.h:70
Aws::Transfer::Model::ProtocolDetails::operator=
ProtocolDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Transfer::Model::ProtocolDetails::WithPassiveIp
ProtocolDetails & WithPassiveIp(const Aws::String &value)
Definition: ProtocolDetails.h:130
Aws::Transfer::Model::ProtocolDetails::SetPassiveIp
void SetPassiveIp(Aws::String &&value)
Definition: ProtocolDetails.h:100
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Transfer::Model::ProtocolDetails::ProtocolDetails
ProtocolDetails()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Transfer::Model::ProtocolDetails
Definition: ProtocolDetails.h:34
AWS_TRANSFER_API
#define AWS_TRANSFER_API
Definition: Transfer_EXPORTS.h:28