AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Network.h
1
6#pragma once
7#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace InternetMonitor
22{
23namespace Model
24{
25
32 class Network
33 {
34 public:
35 AWS_INTERNETMONITOR_API Network() = default;
36 AWS_INTERNETMONITOR_API Network(Aws::Utils::Json::JsonView jsonValue);
37 AWS_INTERNETMONITOR_API Network& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetASName() const { return m_aSName; }
46 inline bool ASNameHasBeenSet() const { return m_aSNameHasBeenSet; }
47 template<typename ASNameT = Aws::String>
48 void SetASName(ASNameT&& value) { m_aSNameHasBeenSet = true; m_aSName = std::forward<ASNameT>(value); }
49 template<typename ASNameT = Aws::String>
50 Network& WithASName(ASNameT&& value) { SetASName(std::forward<ASNameT>(value)); return *this;}
52
54
57 inline long long GetASNumber() const { return m_aSNumber; }
58 inline bool ASNumberHasBeenSet() const { return m_aSNumberHasBeenSet; }
59 inline void SetASNumber(long long value) { m_aSNumberHasBeenSet = true; m_aSNumber = value; }
60 inline Network& WithASNumber(long long value) { SetASNumber(value); return *this;}
62 private:
63
64 Aws::String m_aSName;
65 bool m_aSNameHasBeenSet = false;
66
67 long long m_aSNumber{0};
68 bool m_aSNumberHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace InternetMonitor
73} // namespace Aws
Network & WithASName(ASNameT &&value)
Definition Network.h:50
AWS_INTERNETMONITOR_API Network(Aws::Utils::Json::JsonView jsonValue)
void SetASName(ASNameT &&value)
Definition Network.h:48
Network & WithASNumber(long long value)
Definition Network.h:60
AWS_INTERNETMONITOR_API Network()=default
const Aws::String & GetASName() const
Definition Network.h:45
void SetASNumber(long long value)
Definition Network.h:59
AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INTERNETMONITOR_API Network & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue