AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
Ip.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotwireless/IoTWireless_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTWireless {
20namespace Model {
21
27class Ip {
28 public:
29 AWS_IOTWIRELESS_API Ip() = default;
30 AWS_IOTWIRELESS_API Ip(Aws::Utils::Json::JsonView jsonValue);
31 AWS_IOTWIRELESS_API Ip& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
39 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
40 template <typename IpAddressT = Aws::String>
41 void SetIpAddress(IpAddressT&& value) {
42 m_ipAddressHasBeenSet = true;
43 m_ipAddress = std::forward<IpAddressT>(value);
44 }
45 template <typename IpAddressT = Aws::String>
46 Ip& WithIpAddress(IpAddressT&& value) {
47 SetIpAddress(std::forward<IpAddressT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_ipAddress;
53 bool m_ipAddressHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace IoTWireless
58} // namespace Aws
void SetIpAddress(IpAddressT &&value)
Definition Ip.h:41
AWS_IOTWIRELESS_API Ip(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool IpAddressHasBeenSet() const
Definition Ip.h:39
AWS_IOTWIRELESS_API Ip()=default
const Aws::String & GetIpAddress() const
Definition Ip.h:38
Ip & WithIpAddress(IpAddressT &&value)
Definition Ip.h:46
AWS_IOTWIRELESS_API Ip & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue