AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IpOrganizationDetails.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
33 {
34 public:
35 AWS_SECURITYHUB_API IpOrganizationDetails();
36 AWS_SECURITYHUB_API IpOrganizationDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetAsn() const{ return m_asn; }
46 inline bool AsnHasBeenSet() const { return m_asnHasBeenSet; }
47 inline void SetAsn(int value) { m_asnHasBeenSet = true; m_asn = value; }
48 inline IpOrganizationDetails& WithAsn(int value) { SetAsn(value); return *this;}
50
52
55 inline const Aws::String& GetAsnOrg() const{ return m_asnOrg; }
56 inline bool AsnOrgHasBeenSet() const { return m_asnOrgHasBeenSet; }
57 inline void SetAsnOrg(const Aws::String& value) { m_asnOrgHasBeenSet = true; m_asnOrg = value; }
58 inline void SetAsnOrg(Aws::String&& value) { m_asnOrgHasBeenSet = true; m_asnOrg = std::move(value); }
59 inline void SetAsnOrg(const char* value) { m_asnOrgHasBeenSet = true; m_asnOrg.assign(value); }
60 inline IpOrganizationDetails& WithAsnOrg(const Aws::String& value) { SetAsnOrg(value); return *this;}
61 inline IpOrganizationDetails& WithAsnOrg(Aws::String&& value) { SetAsnOrg(std::move(value)); return *this;}
62 inline IpOrganizationDetails& WithAsnOrg(const char* value) { SetAsnOrg(value); return *this;}
64
66
69 inline const Aws::String& GetIsp() const{ return m_isp; }
70 inline bool IspHasBeenSet() const { return m_ispHasBeenSet; }
71 inline void SetIsp(const Aws::String& value) { m_ispHasBeenSet = true; m_isp = value; }
72 inline void SetIsp(Aws::String&& value) { m_ispHasBeenSet = true; m_isp = std::move(value); }
73 inline void SetIsp(const char* value) { m_ispHasBeenSet = true; m_isp.assign(value); }
74 inline IpOrganizationDetails& WithIsp(const Aws::String& value) { SetIsp(value); return *this;}
75 inline IpOrganizationDetails& WithIsp(Aws::String&& value) { SetIsp(std::move(value)); return *this;}
76 inline IpOrganizationDetails& WithIsp(const char* value) { SetIsp(value); return *this;}
78
80
83 inline const Aws::String& GetOrg() const{ return m_org; }
84 inline bool OrgHasBeenSet() const { return m_orgHasBeenSet; }
85 inline void SetOrg(const Aws::String& value) { m_orgHasBeenSet = true; m_org = value; }
86 inline void SetOrg(Aws::String&& value) { m_orgHasBeenSet = true; m_org = std::move(value); }
87 inline void SetOrg(const char* value) { m_orgHasBeenSet = true; m_org.assign(value); }
88 inline IpOrganizationDetails& WithOrg(const Aws::String& value) { SetOrg(value); return *this;}
89 inline IpOrganizationDetails& WithOrg(Aws::String&& value) { SetOrg(std::move(value)); return *this;}
90 inline IpOrganizationDetails& WithOrg(const char* value) { SetOrg(value); return *this;}
92 private:
93
94 int m_asn;
95 bool m_asnHasBeenSet = false;
96
97 Aws::String m_asnOrg;
98 bool m_asnOrgHasBeenSet = false;
99
100 Aws::String m_isp;
101 bool m_ispHasBeenSet = false;
102
103 Aws::String m_org;
104 bool m_orgHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace SecurityHub
109} // namespace Aws
AWS_SECURITYHUB_API IpOrganizationDetails(Aws::Utils::Json::JsonView jsonValue)
IpOrganizationDetails & WithOrg(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
IpOrganizationDetails & WithAsnOrg(const char *value)
IpOrganizationDetails & WithAsnOrg(Aws::String &&value)
IpOrganizationDetails & WithOrg(Aws::String &&value)
IpOrganizationDetails & WithIsp(const char *value)
AWS_SECURITYHUB_API IpOrganizationDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
IpOrganizationDetails & WithIsp(const Aws::String &value)
IpOrganizationDetails & WithAsnOrg(const Aws::String &value)
IpOrganizationDetails & WithOrg(const Aws::String &value)
IpOrganizationDetails & WithIsp(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue