AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
NetworkAutonomousSystem.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_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 SecurityHub
22{
23namespace Model
24{
25
40 {
41 public:
42 AWS_SECURITYHUB_API NetworkAutonomousSystem() = default;
45 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 template<typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
56 template<typename NameT = Aws::String>
57 NetworkAutonomousSystem& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
59
61
64 inline int GetNumber() const { return m_number; }
65 inline bool NumberHasBeenSet() const { return m_numberHasBeenSet; }
66 inline void SetNumber(int value) { m_numberHasBeenSet = true; m_number = value; }
67 inline NetworkAutonomousSystem& WithNumber(int value) { SetNumber(value); return *this;}
69 private:
70
71 Aws::String m_name;
72 bool m_nameHasBeenSet = false;
73
74 int m_number{0};
75 bool m_numberHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SecurityHub
80} // namespace Aws
AWS_SECURITYHUB_API NetworkAutonomousSystem()=default
NetworkAutonomousSystem & WithName(NameT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API NetworkAutonomousSystem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API NetworkAutonomousSystem(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue