AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Organization.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_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 GuardDuty
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GUARDDUTY_API Organization();
36 AWS_GUARDDUTY_API Organization(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GUARDDUTY_API Organization& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetAsn() const{ return m_asn; }
47 inline bool AsnHasBeenSet() const { return m_asnHasBeenSet; }
48 inline void SetAsn(const Aws::String& value) { m_asnHasBeenSet = true; m_asn = value; }
49 inline void SetAsn(Aws::String&& value) { m_asnHasBeenSet = true; m_asn = std::move(value); }
50 inline void SetAsn(const char* value) { m_asnHasBeenSet = true; m_asn.assign(value); }
51 inline Organization& WithAsn(const Aws::String& value) { SetAsn(value); return *this;}
52 inline Organization& WithAsn(Aws::String&& value) { SetAsn(std::move(value)); return *this;}
53 inline Organization& WithAsn(const char* value) { SetAsn(value); return *this;}
55
57
60 inline const Aws::String& GetAsnOrg() const{ return m_asnOrg; }
61 inline bool AsnOrgHasBeenSet() const { return m_asnOrgHasBeenSet; }
62 inline void SetAsnOrg(const Aws::String& value) { m_asnOrgHasBeenSet = true; m_asnOrg = value; }
63 inline void SetAsnOrg(Aws::String&& value) { m_asnOrgHasBeenSet = true; m_asnOrg = std::move(value); }
64 inline void SetAsnOrg(const char* value) { m_asnOrgHasBeenSet = true; m_asnOrg.assign(value); }
65 inline Organization& WithAsnOrg(const Aws::String& value) { SetAsnOrg(value); return *this;}
66 inline Organization& WithAsnOrg(Aws::String&& value) { SetAsnOrg(std::move(value)); return *this;}
67 inline Organization& WithAsnOrg(const char* value) { SetAsnOrg(value); return *this;}
69
71
74 inline const Aws::String& GetIsp() const{ return m_isp; }
75 inline bool IspHasBeenSet() const { return m_ispHasBeenSet; }
76 inline void SetIsp(const Aws::String& value) { m_ispHasBeenSet = true; m_isp = value; }
77 inline void SetIsp(Aws::String&& value) { m_ispHasBeenSet = true; m_isp = std::move(value); }
78 inline void SetIsp(const char* value) { m_ispHasBeenSet = true; m_isp.assign(value); }
79 inline Organization& WithIsp(const Aws::String& value) { SetIsp(value); return *this;}
80 inline Organization& WithIsp(Aws::String&& value) { SetIsp(std::move(value)); return *this;}
81 inline Organization& WithIsp(const char* value) { SetIsp(value); return *this;}
83
85
88 inline const Aws::String& GetOrg() const{ return m_org; }
89 inline bool OrgHasBeenSet() const { return m_orgHasBeenSet; }
90 inline void SetOrg(const Aws::String& value) { m_orgHasBeenSet = true; m_org = value; }
91 inline void SetOrg(Aws::String&& value) { m_orgHasBeenSet = true; m_org = std::move(value); }
92 inline void SetOrg(const char* value) { m_orgHasBeenSet = true; m_org.assign(value); }
93 inline Organization& WithOrg(const Aws::String& value) { SetOrg(value); return *this;}
94 inline Organization& WithOrg(Aws::String&& value) { SetOrg(std::move(value)); return *this;}
95 inline Organization& WithOrg(const char* value) { SetOrg(value); return *this;}
97 private:
98
99 Aws::String m_asn;
100 bool m_asnHasBeenSet = false;
101
102 Aws::String m_asnOrg;
103 bool m_asnOrgHasBeenSet = false;
104
105 Aws::String m_isp;
106 bool m_ispHasBeenSet = false;
107
108 Aws::String m_org;
109 bool m_orgHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace GuardDuty
114} // namespace Aws
void SetIsp(const char *value)
void SetIsp(const Aws::String &value)
Organization & WithAsn(const char *value)
Organization & WithOrg(const char *value)
void SetAsn(Aws::String &&value)
void SetIsp(Aws::String &&value)
Organization & WithOrg(const Aws::String &value)
void SetOrg(Aws::String &&value)
void SetOrg(const char *value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAsn() const
void SetOrg(const Aws::String &value)
const Aws::String & GetIsp() const
void SetAsnOrg(const char *value)
Organization & WithAsnOrg(Aws::String &&value)
Organization & WithAsn(Aws::String &&value)
const Aws::String & GetAsnOrg() const
Organization & WithAsn(const Aws::String &value)
void SetAsnOrg(Aws::String &&value)
void SetAsn(const char *value)
AWS_GUARDDUTY_API Organization & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Organization(Aws::Utils::Json::JsonView jsonValue)
Organization & WithAsnOrg(const Aws::String &value)
Organization & WithIsp(const char *value)
Organization & WithIsp(Aws::String &&value)
Organization & WithAsnOrg(const char *value)
void SetAsn(const Aws::String &value)
void SetAsnOrg(const Aws::String &value)
Organization & WithIsp(const Aws::String &value)
const Aws::String & GetOrg() const
Organization & WithOrg(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue