AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
NetworkAutonomousSystem.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
36 public:
37 AWS_SECURITYHUB_API NetworkAutonomousSystem() = default;
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template <typename NameT = Aws::String>
49 void SetName(NameT&& value) {
50 m_nameHasBeenSet = true;
51 m_name = std::forward<NameT>(value);
52 }
53 template <typename NameT = Aws::String>
55 SetName(std::forward<NameT>(value));
56 return *this;
57 }
59
61
64 inline int GetNumber() const { return m_number; }
65 inline bool NumberHasBeenSet() const { return m_numberHasBeenSet; }
66 inline void SetNumber(int value) {
67 m_numberHasBeenSet = true;
68 m_number = value;
69 }
71 SetNumber(value);
72 return *this;
73 }
75 private:
76 Aws::String m_name;
77
78 int m_number{0};
79 bool m_nameHasBeenSet = false;
80 bool m_numberHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace SecurityHub
85} // 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