AWS SDK for C++  1.9.108
AWS SDK for C++
SipAddress.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 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetUri() const{ return m_uri; }
46 
50  inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
51 
55  inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; }
56 
60  inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); }
61 
65  inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); }
66 
70  inline SipAddress& WithUri(const Aws::String& value) { SetUri(value); return *this;}
71 
75  inline SipAddress& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;}
76 
80  inline SipAddress& WithUri(const char* value) { SetUri(value); return *this;}
81 
82 
86  inline const SipType& GetType() const{ return m_type; }
87 
91  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
92 
96  inline void SetType(const SipType& value) { m_typeHasBeenSet = true; m_type = value; }
97 
101  inline void SetType(SipType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
102 
106  inline SipAddress& WithType(const SipType& value) { SetType(value); return *this;}
107 
111  inline SipAddress& WithType(SipType&& value) { SetType(std::move(value)); return *this;}
112 
113  private:
114 
115  Aws::String m_uri;
116  bool m_uriHasBeenSet;
117 
118  SipType m_type;
119  bool m_typeHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace AlexaForBusiness
124 } // namespace Aws
Aws::AlexaForBusiness::Model::SipAddress::WithType
SipAddress & WithType(const SipType &value)
Definition: SipAddress.h:106
Aws::AlexaForBusiness::Model::SipAddress::UriHasBeenSet
bool UriHasBeenSet() const
Definition: SipAddress.h:50
Aws::AlexaForBusiness::Model::SipAddress::WithUri
SipAddress & WithUri(Aws::String &&value)
Definition: SipAddress.h:75
Aws::AlexaForBusiness::Model::SipAddress::SipAddress
SipAddress(Aws::Utils::Json::JsonView jsonValue)
Aws::AlexaForBusiness::Model::SipAddress::GetUri
const Aws::String & GetUri() const
Definition: SipAddress.h:45
Aws::AlexaForBusiness::Model::SipAddress::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AlexaForBusiness::Model::SipAddress::operator=
SipAddress & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AlexaForBusiness::Model::SipAddress::SetType
void SetType(SipType &&value)
Definition: SipAddress.h:101
SipType.h
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::SipAddress::GetType
const SipType & GetType() const
Definition: SipAddress.h:86
Aws::AlexaForBusiness::Model::SipAddress::SetUri
void SetUri(Aws::String &&value)
Definition: SipAddress.h:60
Aws::AlexaForBusiness::Model::SipAddress::SetUri
void SetUri(const Aws::String &value)
Definition: SipAddress.h:55
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AlexaForBusiness::Model::SipAddress::WithUri
SipAddress & WithUri(const char *value)
Definition: SipAddress.h:80
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::SipAddress
Definition: SipAddress.h:34
Aws::AlexaForBusiness::Model::SipAddress::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: SipAddress.h:91
Aws::AlexaForBusiness::Model::SipAddress::WithType
SipAddress & WithType(SipType &&value)
Definition: SipAddress.h:111
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::Model::SipAddress::SetType
void SetType(const SipType &value)
Definition: SipAddress.h:96
Aws::AlexaForBusiness::Model::SipType
SipType
Definition: SipType.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::SipAddress::SetUri
void SetUri(const char *value)
Definition: SipAddress.h:65
Aws::AlexaForBusiness::Model::SipAddress::SipAddress
SipAddress()
Aws::AlexaForBusiness::Model::SipAddress::WithUri
SipAddress & WithUri(const Aws::String &value)
Definition: SipAddress.h:70