AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetASName(const Aws::String& value) { m_aSNameHasBeenSet = true; m_aSName = value; }
48 inline void SetASName(Aws::String&& value) { m_aSNameHasBeenSet = true; m_aSName = std::move(value); }
49 inline void SetASName(const char* value) { m_aSNameHasBeenSet = true; m_aSName.assign(value); }
50 inline Network& WithASName(const Aws::String& value) { SetASName(value); return *this;}
51 inline Network& WithASName(Aws::String&& value) { SetASName(std::move(value)); return *this;}
52 inline Network& WithASName(const char* value) { SetASName(value); return *this;}
54
56
59 inline long long GetASNumber() const{ return m_aSNumber; }
60 inline bool ASNumberHasBeenSet() const { return m_aSNumberHasBeenSet; }
61 inline void SetASNumber(long long value) { m_aSNumberHasBeenSet = true; m_aSNumber = value; }
62 inline Network& WithASNumber(long long value) { SetASNumber(value); return *this;}
64 private:
65
66 Aws::String m_aSName;
67 bool m_aSNameHasBeenSet = false;
68
69 long long m_aSNumber;
70 bool m_aSNumberHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace InternetMonitor
75} // namespace Aws
AWS_INTERNETMONITOR_API Network()
Network & WithASName(const char *value)
Definition Network.h:52
void SetASName(const Aws::String &value)
Definition Network.h:47
AWS_INTERNETMONITOR_API Network(Aws::Utils::Json::JsonView jsonValue)
Network & WithASName(Aws::String &&value)
Definition Network.h:51
Network & WithASName(const Aws::String &value)
Definition Network.h:50
Network & WithASNumber(long long value)
Definition Network.h:62
const Aws::String & GetASName() const
Definition Network.h:45
void SetASNumber(long long value)
Definition Network.h:61
AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetASName(Aws::String &&value)
Definition Network.h:48
AWS_INTERNETMONITOR_API Network & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetASName(const char *value)
Definition Network.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue