AWS SDK for C++  1.9.160
AWS SDK for C++
IPDialIn.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace AlexaForBusiness
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
45 
49  inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
50 
54  inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
55 
59  inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
60 
64  inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
65 
69  inline IPDialIn& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
70 
74  inline IPDialIn& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
75 
79  inline IPDialIn& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
80 
81 
85  inline const CommsProtocol& GetCommsProtocol() const{ return m_commsProtocol; }
86 
90  inline bool CommsProtocolHasBeenSet() const { return m_commsProtocolHasBeenSet; }
91 
95  inline void SetCommsProtocol(const CommsProtocol& value) { m_commsProtocolHasBeenSet = true; m_commsProtocol = value; }
96 
100  inline void SetCommsProtocol(CommsProtocol&& value) { m_commsProtocolHasBeenSet = true; m_commsProtocol = std::move(value); }
101 
105  inline IPDialIn& WithCommsProtocol(const CommsProtocol& value) { SetCommsProtocol(value); return *this;}
106 
110  inline IPDialIn& WithCommsProtocol(CommsProtocol&& value) { SetCommsProtocol(std::move(value)); return *this;}
111 
112  private:
113 
114  Aws::String m_endpoint;
115  bool m_endpointHasBeenSet;
116 
117  CommsProtocol m_commsProtocol;
118  bool m_commsProtocolHasBeenSet;
119  };
120 
121 } // namespace Model
122 } // namespace AlexaForBusiness
123 } // namespace Aws
Aws::AlexaForBusiness::Model::IPDialIn::WithEndpoint
IPDialIn & WithEndpoint(Aws::String &&value)
Definition: IPDialIn.h:74
Aws::AlexaForBusiness::Model::IPDialIn::SetEndpoint
void SetEndpoint(const char *value)
Definition: IPDialIn.h:64
Aws::AlexaForBusiness::Model::IPDialIn::SetCommsProtocol
void SetCommsProtocol(CommsProtocol &&value)
Definition: IPDialIn.h:100
Aws::AlexaForBusiness::Model::IPDialIn::SetEndpoint
void SetEndpoint(const Aws::String &value)
Definition: IPDialIn.h:54
Aws::AlexaForBusiness::Model::IPDialIn::CommsProtocolHasBeenSet
bool CommsProtocolHasBeenSet() const
Definition: IPDialIn.h:90
Aws::AlexaForBusiness::Model::IPDialIn::SetCommsProtocol
void SetCommsProtocol(const CommsProtocol &value)
Definition: IPDialIn.h:95
Aws::AlexaForBusiness::Model::IPDialIn::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AlexaForBusiness::Model::IPDialIn::GetEndpoint
const Aws::String & GetEndpoint() const
Definition: IPDialIn.h:44
Aws::AlexaForBusiness::Model::IPDialIn::GetCommsProtocol
const CommsProtocol & GetCommsProtocol() const
Definition: IPDialIn.h:85
Aws::AlexaForBusiness::Model::IPDialIn::WithCommsProtocol
IPDialIn & WithCommsProtocol(const CommsProtocol &value)
Definition: IPDialIn.h:105
Aws::AlexaForBusiness::Model::IPDialIn
Definition: IPDialIn.h:33
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::IPDialIn::SetEndpoint
void SetEndpoint(Aws::String &&value)
Definition: IPDialIn.h:59
CommsProtocol.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::AlexaForBusiness::Model::IPDialIn::IPDialIn
IPDialIn()
AWSString.h
Aws::AlexaForBusiness::Model::IPDialIn::IPDialIn
IPDialIn(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AlexaForBusiness::Model::IPDialIn::EndpointHasBeenSet
bool EndpointHasBeenSet() const
Definition: IPDialIn.h:49
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::CommsProtocol
CommsProtocol
Definition: CommsProtocol.h:17
Aws::AlexaForBusiness::Model::IPDialIn::WithEndpoint
IPDialIn & WithEndpoint(const Aws::String &value)
Definition: IPDialIn.h:69
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::AlexaForBusiness::Model::IPDialIn::WithEndpoint
IPDialIn & WithEndpoint(const char *value)
Definition: IPDialIn.h:79
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::IPDialIn::operator=
IPDialIn & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AlexaForBusiness::Model::IPDialIn::WithCommsProtocol
IPDialIn & WithCommsProtocol(CommsProtocol &&value)
Definition: IPDialIn.h:110