AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
Network.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace InternetMonitor {
20namespace Model {
21
28class Network {
29 public:
30 AWS_INTERNETMONITOR_API Network() = default;
31 AWS_INTERNETMONITOR_API Network(Aws::Utils::Json::JsonView jsonValue);
32 AWS_INTERNETMONITOR_API Network& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetASName() const { return m_aSName; }
40 inline bool ASNameHasBeenSet() const { return m_aSNameHasBeenSet; }
41 template <typename ASNameT = Aws::String>
42 void SetASName(ASNameT&& value) {
43 m_aSNameHasBeenSet = true;
44 m_aSName = std::forward<ASNameT>(value);
45 }
46 template <typename ASNameT = Aws::String>
47 Network& WithASName(ASNameT&& value) {
48 SetASName(std::forward<ASNameT>(value));
49 return *this;
50 }
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) {
60 m_aSNumberHasBeenSet = true;
61 m_aSNumber = value;
62 }
63 inline Network& WithASNumber(long long value) {
64 SetASNumber(value);
65 return *this;
66 }
68 private:
69 Aws::String m_aSName;
70
71 long long m_aSNumber{0};
72 bool m_aSNameHasBeenSet = false;
73 bool m_aSNumberHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace InternetMonitor
78} // namespace Aws
Network & WithASName(ASNameT &&value)
Definition Network.h:47
AWS_INTERNETMONITOR_API Network(Aws::Utils::Json::JsonView jsonValue)
void SetASName(ASNameT &&value)
Definition Network.h:42
Network & WithASNumber(long long value)
Definition Network.h:63
AWS_INTERNETMONITOR_API Network()=default
const Aws::String & GetASName() const
Definition Network.h:39
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